#include <Parameter.hpp>
Public Member Functions | |
StringParameter (std::string const &name, parameter_flags_t flags, ParameterReflection const *checker, std::string *instance) | |
virtual std::string const * | getString () const |
virtual Status | set (std::string const &value) |
virtual void | dump (std::ostream &os, std::string const &prefix) const |
Protected Attributes | |
std::string * | string_ |
Definition at line 120 of file Parameter.hpp.
opspace::StringParameter::StringParameter | ( | std::string const & | name, | |
parameter_flags_t | flags, | |||
ParameterReflection const * | checker, | |||
std::string * | instance | |||
) |
Definition at line 181 of file Parameter.cpp.
virtual std::string const* opspace::StringParameter::getString | ( | ) | const [inline, virtual] |
Reimplemented from opspace::Parameter.
Definition at line 126 of file Parameter.hpp.
References string_.
Status opspace::StringParameter::set | ( | std::string const & | value | ) | [virtual] |
Reimplemented from opspace::Parameter.
Definition at line 192 of file Parameter.cpp.
References opspace::ParameterReflection::check(), opspace::Parameter::checker_, jspace::Status::errstr, opspace::Parameter::flags_, jspace::Status::ok, opspace::PARAMETER_FLAG_READONLY, and string_.
void opspace::StringParameter::dump | ( | std::ostream & | os, | |
std::string const & | prefix | |||
) | const [virtual] |
Reimplemented from opspace::Parameter.
Definition at line 212 of file Parameter.cpp.
References opspace::Parameter::name_, and string_.
std::string* opspace::StringParameter::string_ [protected] |