Env Class Reference

#include <env.h>

Inheritance diagram for Env:

Root Object TreeNode< Root > Referenced Counted Serialized List< Root > ListNode< Root >

List of all members.


Detailed Description

A typed value in a named object. Technically, a Arg object wrapped into a Root.

Public Member Functions

 Env (const char *id)
Arg::Type GetType () const
void SetI (int i)
void SetB (bool b)
void SetF (float f)
void SetS (const char *s)
void SetO (Root *o)
int GetI (void) const
bool GetB (void) const
float GetF (void) const
const char * GetS (void) const
RootGetO (void) const
void GetAsString (string &result)

Private Attributes

Arg arg

Constructor & Destructor Documentation

Env::Env ( const char *  id  )  [inline]


Member Function Documentation

Arg::Type Env::GetType ( void   )  const [inline]

Returns the type of this Env instance.

void Env::SetI ( int  i  )  [inline]

Sets the value of this object to the passed integer.

void Env::SetB ( bool  b  )  [inline]

Sets the value of this object to the passes boolean value.

void Env::SetF ( float  f  )  [inline]

Sets the value of this object to the passed float value.

void Env::SetS ( const char *  s  )  [inline]

Sets the value of this object to the passed string.

void Env::SetO ( Root o  )  [inline]

Sets the value of this objet to the passed object.

int Env::GetI ( void   )  const [inline]

Returns the integer value.

bool Env::GetB ( void   )  const [inline]

Returns the boolean value.

float Env::GetF ( void   )  const [inline]

Returns the float value.

const char * Env::GetS ( void   )  const [inline]

Returns the string.

Root * Env::GetO ( void   )  const [inline]

Returns the object.

void Env::GetAsString ( string &  result  ) 


Member Data Documentation

Arg Env::arg [private]


The documentation for this class was generated from the following files:
Generated on Sat Oct 20 14:47:31 2007 for Dark Oberon by  doxygen 1.5.3