CPPValue Class Reference

#include <cppvalue.h>

List of all members.

Public Types

enum  Type { Int, Float }

Public Member Functions

 CPPValue (long val=0)
 CPPValue (double val)
 operator double () const
 operator long () const
bool isInt () const
void print () const


Detailed Description

Definition at line 25 of file cppvalue.h.


Member Enumeration Documentation

enum CPPValue::Type

Enumerator:
Int 
Float 

Definition at line 30 of file cppvalue.h.


Constructor & Destructor Documentation

CPPValue::CPPValue ( long  val = 0  )  [inline]

Definition at line 32 of file cppvalue.h.

CPPValue::CPPValue ( double  val  )  [inline]

Definition at line 33 of file cppvalue.h.


Member Function Documentation

CPPValue::operator double (  )  const [inline]

Definition at line 35 of file cppvalue.h.

References Int.

CPPValue::operator long (  )  const [inline]

Definition at line 36 of file cppvalue.h.

References Int.

bool CPPValue::isInt (  )  const [inline]

Definition at line 38 of file cppvalue.h.

References Int.

void CPPValue::print (  )  const [inline]

Definition at line 40 of file cppvalue.h.

References Int.


The documentation for this class was generated from the following file:



Generated on Mon Mar 31 10:58:57 2008 by  doxygen 1.5.1