|
fipa_acl
1.4
|
overloaded equality operator for UserdefParam class objects More...
#include <userdef_param.h>
Public Member Functions | |
| UserdefParam () | |
| UserdefParam (const std::string &name, const std::string &value="") | |
| UserdefParam & | operator= (const UserdefParam &other) |
| bool | operator== (const UserdefParam &other) const |
| const std::string & | getValue () const |
| void | setValue (const std::string &value) |
| const std::string & | getName () const |
| void | setName (const std::string &name) |
| the method checks whether the passed name string is a word or not(according to the fipa spec) More... | |
| std::string | toString () const |
overloaded equality operator for UserdefParam class objects
Implements the general User-defined parameters, which are present throughout the fipa specifications(FIPA at http://www.fipa.org).
Definition at line 25 of file userdef_param.h.
| fipa::acl::UserdefParam::UserdefParam | ( | ) |
Default constructor
Definition at line 17 of file userdef_param.cpp.
| fipa::acl::UserdefParam::UserdefParam | ( | const std::string & | name, |
| const std::string & | value = "" |
||
| ) |
Constructor for a userdefined parameter of a given name
| name | Name of the userdefined parameter |
| value | Value of the userdefined parameter |
Definition at line 23 of file userdef_param.cpp.
|
inline |
Get the name of the userdefined parameter
Definition at line 77 of file userdef_param.h.
|
inline |
Get value of the userdefined parameter
Definition at line 65 of file userdef_param.h.
| UserdefParam & fipa::acl::UserdefParam::operator= | ( | const UserdefParam & | other | ) |
Assignment operator
Definition at line 29 of file userdef_param.cpp.
| bool fipa::acl::UserdefParam::operator== | ( | const UserdefParam & | other | ) | const |
Comparision operator
Definition at line 40 of file userdef_param.cpp.
| void fipa::acl::UserdefParam::setName | ( | const std::string & | name | ) |
the method checks whether the passed name string is a word or not(according to the fipa spec)
| name | Name to set for the userdefined parameter |
| std::runtime_error | if name is not valid |
Definition at line 45 of file userdef_param.cpp.
|
inline |
Set the value associated with the userdefined parameter
| value | Value of the userdefined parameter |
Definition at line 71 of file userdef_param.h.
| std::string fipa::acl::UserdefParam::toString | ( | ) | const |
1.8.6