openfluid::base::EnvironmentProperties Class Reference

List of all members.

Public Member Functions

 EnvironmentProperties ()
virtual ~EnvironmentProperties ()
bool setValue (std::string Key, bool Value)
bool setValue (std::string Key, std::string Value)
bool getValue (std::string Key, bool *Value) const
bool getValue (std::string Key, std::string *Value) const

Detailed Description

Class containing execution environment information for funtions


Constructor & Destructor Documentation

openfluid::base::EnvironmentProperties::EnvironmentProperties (  ) 

Constructor

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

Destructor


Member Function Documentation

bool openfluid::base::EnvironmentProperties::getValue ( std::string  Key,
std::string *  Value 
) const

Gets the string value assigned to the key

Returns:
true if the value exists as a string
bool openfluid::base::EnvironmentProperties::getValue ( std::string  Key,
bool *  Value 
) const

Gets the boolean value assigned to the key

Returns:
true if the value exists as a boolean
bool openfluid::base::EnvironmentProperties::setValue ( std::string  Key,
std::string  Value 
)

Assigns a string value to the corresponding key

Returns:
true if the assignment is correct
bool openfluid::base::EnvironmentProperties::setValue ( std::string  Key,
bool  Value 
)

Assigns a boolean value to the corresponding key

Returns:
true if the assignment is correct

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