HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CH_LocalValue Class Reference

#include <CH_LocalValue.h>

Public Member Functions

 CH_LocalValue (fpreal val=0)
 
 CH_LocalValue (void *ptr)
 
 CH_LocalValue (char *str)
 
fpreal getFloat () const
 
voidgetData () const
 
char * getString () const
 
CH_LocalValueoperator= (const CH_LocalValue &d)
 
fpreal operator= (fpreal f)
 
char * operator= (char *s)
 
voidoperator= (void *v)
 
unsigned operator== (const CH_LocalValue &d)
 

Public Attributes

union {
   void *   ptr
 
   char *   str
 
   fpreal   val
 
value
 

Detailed Description

Definition at line 18 of file CH_LocalValue.h.

Constructor & Destructor Documentation

CH_LocalValue::CH_LocalValue ( fpreal  val = 0)
inline

Definition at line 21 of file CH_LocalValue.h.

CH_LocalValue::CH_LocalValue ( void ptr)
inline

Definition at line 22 of file CH_LocalValue.h.

CH_LocalValue::CH_LocalValue ( char *  str)
inline

Definition at line 23 of file CH_LocalValue.h.

Member Function Documentation

void* CH_LocalValue::getData ( ) const
inline

Definition at line 26 of file CH_LocalValue.h.

fpreal CH_LocalValue::getFloat ( ) const
inline

Definition at line 25 of file CH_LocalValue.h.

char* CH_LocalValue::getString ( ) const
inline

Definition at line 27 of file CH_LocalValue.h.

CH_LocalValue& CH_LocalValue::operator= ( const CH_LocalValue d)
inline

Definition at line 29 of file CH_LocalValue.h.

fpreal CH_LocalValue::operator= ( fpreal  f)
inline

Definition at line 34 of file CH_LocalValue.h.

char* CH_LocalValue::operator= ( char *  s)
inline

Definition at line 35 of file CH_LocalValue.h.

void* CH_LocalValue::operator= ( void v)
inline

Definition at line 36 of file CH_LocalValue.h.

unsigned CH_LocalValue::operator== ( const CH_LocalValue d)
inline

Definition at line 37 of file CH_LocalValue.h.

Member Data Documentation

void* CH_LocalValue::ptr

Definition at line 44 of file CH_LocalValue.h.

char* CH_LocalValue::str

Definition at line 45 of file CH_LocalValue.h.

fpreal CH_LocalValue::val

Definition at line 46 of file CH_LocalValue.h.

union { ... } CH_LocalValue::value

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