Sampa::BoolParameter Class Reference

#include <parameter.h>

List of all members.

Public Member Functions

 BoolParameter (const char *name)
 BoolParameter (const char *name, bool default_value)
 operator bool () const
bool get_value () const
void update (const char *)

Private Member Functions

 SAMPA_PERSISTENT (BoolParameter)

Private Attributes

bool m_value

Friends

class ParameterInitializer< BoolParameter >


Detailed Description

Definition at line 54 of file parameter.h.


Constructor & Destructor Documentation

Sampa::BoolParameter::BoolParameter ( const char *  name  ) 

Sampa::BoolParameter::BoolParameter ( const char *  name,
bool  default_value 
)


Member Function Documentation

Sampa::BoolParameter::operator bool (  )  const [inline]

Definition at line 58 of file parameter.h.

bool Sampa::BoolParameter::get_value (  )  const [inline]

Definition at line 59 of file parameter.h.

void Sampa::BoolParameter::update ( const char *   ) 

Sampa::BoolParameter::SAMPA_PERSISTENT ( BoolParameter   )  [private]


Friends And Related Function Documentation

friend class ParameterInitializer< BoolParameter > [friend]

Definition at line 63 of file parameter.h.


Member Data Documentation

bool Sampa::BoolParameter::m_value [private]

Definition at line 62 of file parameter.h.


The documentation for this class was generated from the following file:
Generated on Sat Feb 16 16:23:20 2008 for Sampa by  doxygen 1.5.3