#include <property.h>
Public Member Functions | |
boost::any | Get () const |
const std::string & | GetName () const |
std::string | GetType () const |
bool | IsInitializerVectorType () const |
bool | IsRequired () const |
bool | IsSet () const |
bool | IsStringType () const |
Property (const std::string &prop_name) | |
Property (const std::string &prop_name, bool is_required) | |
Property (const std::string &prop_name, bool is_required, boost::any val) | |
Property (std::initializer_list< boost::any > val) | |
template<typename C > | |
void | Set (const C val) |
Private Attributes | |
std::string | name_ |
bool | required_ |
boost::any | value_ |
Definition at line 44 of file property.h.
exotica::Property::Property | ( | const std::string & | prop_name | ) |
Definition at line 41 of file property.cpp.
exotica::Property::Property | ( | const std::string & | prop_name, |
bool | is_required | ||
) |
Definition at line 42 of file property.cpp.
exotica::Property::Property | ( | const std::string & | prop_name, |
bool | is_required, | ||
boost::any | val | ||
) |
Definition at line 43 of file property.cpp.
exotica::Property::Property | ( | std::initializer_list< boost::any > | val | ) |
Definition at line 50 of file property.cpp.
boost::any exotica::Property::Get | ( | ) | const |
Definition at line 40 of file property.cpp.
const std::string & exotica::Property::GetName | ( | ) | const |
Definition at line 48 of file property.cpp.
std::string exotica::Property::GetType | ( | ) | const |
Definition at line 49 of file property.cpp.
bool exotica::Property::IsInitializerVectorType | ( | ) | const |
Definition at line 47 of file property.cpp.
bool exotica::Property::IsRequired | ( | ) | const |
Definition at line 44 of file property.cpp.
bool exotica::Property::IsSet | ( | ) | const |
Definition at line 45 of file property.cpp.
bool exotica::Property::IsStringType | ( | ) | const |
Definition at line 46 of file property.cpp.
|
inline |
Definition at line 49 of file property.h.
|
private |
Definition at line 67 of file property.h.
|
private |
Definition at line 66 of file property.h.
|
private |
Definition at line 65 of file property.h.