openfluid::base::FunctionEnvironment Class Reference

List of all members.

Public Member Functions

 FunctionEnvironment ()
virtual ~FunctionEnvironment ()
bool setValue (wxString Key, bool Value)
bool setValue (wxString Key, wxString Value)
bool getValue (wxString Key, bool *Value) const
bool getValue (wxString Key, wxString *Value) const


Detailed Description

Class containing execution environment information for funtions

Constructor & Destructor Documentation

openfluid::base::FunctionEnvironment::FunctionEnvironment (  ) 

Constructor

virtual openfluid::base::FunctionEnvironment::~FunctionEnvironment (  )  [virtual]

Destructor


Member Function Documentation

bool openfluid::base::FunctionEnvironment::setValue ( wxString  Key,
bool  Value 
)

Assigns a boolean value to the corresponding key

Returns:
true if the assignment is correct

bool openfluid::base::FunctionEnvironment::setValue ( wxString  Key,
wxString  Value 
)

Assigns a string value to the corresponding key

Returns:
true if the assignment is correct

bool openfluid::base::FunctionEnvironment::getValue ( wxString  Key,
bool *  Value 
) const

Gets the boolean value assigned to the key

Returns:
true if the value exists as a boolean

bool openfluid::base::FunctionEnvironment::getValue ( wxString  Key,
wxString *  Value 
) const

Gets the string value assigned to the key

Returns:
true if the value exists as a string


Generated using Doxygen 1.5.5
Creative Commons License Creative Commons By-NC-ND license