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
void set_hash (const Hash& x)
| set_hash |
Reimplemented from Element.
[const]
Reimplemented from Element.
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 possum.icir.org on Wed Mar 21 11:23:38 2007, using kdoc $.