ElemStr Class Reference

string element. More...

#include <element.hh>

Inheritance diagram for ElemStr:

List of all members.

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

Detailed Description

string element.

Member Function Documentation

string ElemStr::str ( ) const [inline, virtual]

Every element must be representable by a string.

This is a requirement to enable the policy manager to send elements to the backend filters via XRL calls for example.

string representation of the element.

Implements Element.

const char* ElemStr::type ( ) const [inline, virtual]
string representation of element type.

Implements Element.

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations