Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

IntValueClass Class Reference

An IntValueClass holds an integer value. More...

Class diagram for IntValueClass:

ValueClass

List of all members.

Public Members

virtual ~IntValueClass ()
virtual int get_int () const

Protected Members

IntValueClass ( Token& t, ValueClass* parent, Option* owning_option )
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.


Member Function Documentation

virtual IntValueClass::~IntValueClass () [virtual]

virtual int IntValueClass::get_int () const [virtual]

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


Friends And Related Function Documentation

friend class OptionInt [friend]


Member Data Documentation

Token* IntValueClass::_token [protected]


The documentation for this class was generated from the following files:
Generated at Wed Apr 25 17:34:58 2001 for NCI SUIF by doxygen  written by Dimitri van Heesch, © 1997-1999