class ElemCom32
|
32bit unsigned integer with BGP communities friendly syntax.
"X" -> (uint32_t) X
":X" -> (uint16_t) X
"X:" -> ((uint16_t) X) << 16
"X:Y" -> (((uint16_t) X) << 16) + (uint16_t) Y. More... |
|
|
Public Methods
Public Members
- static const char* id
- static Hash _hash
ElemCom32 (const char*)
| ElemCom32 |
ElemCom32 (const uint32_t val)
| ElemCom32 |
[const]
Reimplemented from Element.
[const]
[const]
Reimplemented from Element.
bool operator== (const ElemCom32& rhs)
| operator== |
[const]
bool operator< (const ElemCom32& rhs)
| operator< |
[const]
Generated by: pavlin on kobe.xorp.net on Wed Jan 7 19:11:01 2009, using kdoc 2.0a54+XORP.