|
xorp
|
string element. More...
#include <element.hh>
Public Member Functions | |
| ElemStr (const char *val) | |
| ElemStr (const string &str) | |
| string | str () const |
| Every element must be representable by a string. | |
| string | val () const |
| const char * | type () const |
| bool | operator== (const ElemStr &rhs) const |
| bool | operator< (const ElemStr &rhs) const |
Static Public Attributes | |
| static const char * | id = "txt" |
| static Hash | _hash = HASH_ELEM_STR |
Private Attributes | |
| string | _val |
string element.
| string ElemStr::str | ( | ) | const [inline, virtual] |
| const char* ElemStr::type | ( | ) | const [inline, virtual] |
Implements Element.