Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

IntValueClass Class Reference

An IntValueClass holds an integer value. More...

#include <command_line_parsing.h>

Inheritance diagram for IntValueClass:

ValueClass List of all members.

Public Methods

virtual ~IntValueClass ()
virtual int get_int () const

Protected Methods

 IntValueClass ( Token& t, ValueClass* parent, Option* owning_option )

Protected Attributes

Token_token

Friends

class  OptionInt


Detailed Description

An IntValueClass holds an integer value.

It is the caller's responsibility to make sure that the token used to construct this object holds a string representation of an integer. This class will use atoi() to convert and will not perform any error detection or reporting.


Constructor & Destructor Documentation

IntValueClass::~IntValueClass () [virtual]

IntValueClass::IntValueClass ( Token & t,
ValueClass * parent,
Option * owning_option) [protected]


Member Function Documentation

int IntValueClass::get_int () const [virtual]


Friends And Related Function Documentation

class OptionInt [friend]


Member Data Documentation

Token * IntValueClass::_token [protected]


The documentation for this class was generated from the following files:
Generated at Mon Jul 31 13:43:19 2000 for NCI SUIF by doxygen 1.1.2 written by Dimitri van Heesch, © 1997-2000