xorp

ElemU32 Class Reference

32bit unsigned integer. More...

#include <element.hh>

Inheritance diagram for ElemU32:
Element

List of all members.

Public Member Functions

 ElemU32 (const char *c_str)
 ElemU32 (const uint32_t val)
string str () const
 Every element must be representable by a string.
uint32_t val () const
const char * type () const
bool operator== (const ElemU32 &rhs) const
bool operator< (const ElemU32 &rhs) const

Static Public Attributes

static const char * id = "u32"
static Hash _hash = HASH_ELEM_U32

Private Attributes

uint32_t _val

Detailed Description

32bit unsigned integer.


Member Function Documentation

string ElemU32::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.

Returns:
string representation of the element.

Implements Element.

const char* ElemU32::type ( ) const [inline, virtual]
Returns:
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