Public Types
Public Methods
- XrlAtom ()
- ~XrlAtom ()
- XrlAtom (XrlAtomType t)
- XrlAtom (const string& name, XrlAtomType t)
- XrlAtom (const char* name, XrlAtomType t)
- XrlAtom (const string& name, XrlAtomType t, const string& serialized_data)
- XrlAtom (const char* name, XrlAtomType t, const string& serialized_data)
- explicit XrlAtom (const char*)
- explicit XrlAtom (const int32_t& value)
- XrlAtom (const char* name, int32_t value)
- explicit XrlAtom (const bool& value)
- XrlAtom (const char* name, bool value)
- explicit XrlAtom (const uint32_t& value)
- XrlAtom (const char* name, uint32_t value)
- explicit XrlAtom (const IPv4& addr)
- XrlAtom (const char* name, const IPv4& addr)
- explicit XrlAtom (const IPv4Net& subnet)
- XrlAtom (const char* name, const IPv4Net& subnet)
- explicit XrlAtom (const IPv6& addr)
- XrlAtom (const char* name, const IPv6& addr)
- explicit XrlAtom (const IPv6Net& subnet)
- XrlAtom (const char* name, const IPv6Net& subnet)
- XrlAtom (const char* name, const IPvX& ipvx)
- XrlAtom (const char* name, const IPvXNet& ipvxnet)
- explicit XrlAtom (const Mac& mac)
- XrlAtom (const char* name, const Mac& mac)
- explicit XrlAtom (const string& txt)
- XrlAtom (const char* name, const string& txt)
- explicit XrlAtom (const XrlAtomList& l)
- XrlAtom (const char* name, const XrlAtomList& l)
- XrlAtom (const char* name, const vector<uint8_t>& data)
- XrlAtom (const char* name, const uint8_t* data, size_t data_bytes)
- XrlAtom (const vector<uint8_t>& data)
- XrlAtom (const uint8_t* data, size_t data_bytes)
- inline XrlAtom (const XrlAtom& x)
- inline XrlAtom& operator= (const XrlAtom& x)
- void copy (const XrlAtom& x)
- inline const string& name () const
- void set_name (const string& n)
- string str () const
- const string type_name () const
- const string value () const
- inline const bool& has_data () const
- inline const XrlAtomType& type () const
- const bool& boolean () const
- const int32_t& int32 () const
- const uint32_t& uint32 () const
- const IPv4& ipv4 () const
- const IPv4Net& ipv4net () const
- const IPv6& ipv6 () const
- const IPv6Net& ipv6net () const
- const IPvX ipvx () const
- const IPvXNet ipvxnet () const
- const Mac& mac () const
- const string& text () const
- const XrlAtomList& list () const
- const vector<uint8_t>& binary () const
- bool operator== (const XrlAtom& x) const
- inline bool packed_bytes_fixed () const
- size_t packed_bytes () const
- size_t pack (uint8_t* buffer, size_t bytes_available) const
- size_t unpack (const uint8_t* buffer, size_t buffer_bytes)
Public Static Methods
WrongType (struct) | WrongType |
XrlAtom (const string& name, XrlAtomType t)
throw (BadName) | XrlAtom |
XrlAtom (const char* name, XrlAtomType t)
throw (BadName) | XrlAtom |
explicit XrlAtom (const char*)
throw (InvalidString, BadName) | XrlAtom |
Construct an XrlAtom from it's serialized character representation.
Be careful not confuse this with the unnamed string atom constructor
XrlAtom(const string&).
explicit XrlAtom (const int32_t& value)
| XrlAtom |
XrlAtom (const char* name, int32_t value)
throw (BadName) | XrlAtom |
explicit XrlAtom (const bool& value)
| XrlAtom |
XrlAtom (const char* name, bool value)
throw (BadName) | XrlAtom |
explicit XrlAtom (const uint32_t& value)
| XrlAtom |
XrlAtom (const char* name, uint32_t value)
throw (BadName) | XrlAtom |
explicit XrlAtom (const IPv4& addr)
| XrlAtom |
XrlAtom (const char* name, const IPv4& addr)
throw (BadName) | XrlAtom |
explicit XrlAtom (const IPv4Net& subnet)
| XrlAtom |
XrlAtom (const char* name, const IPv4Net& subnet)
throw (BadName) | XrlAtom |
explicit XrlAtom (const IPv6& addr)
| XrlAtom |
XrlAtom (const char* name, const IPv6& addr)
throw (BadName) | XrlAtom |
explicit XrlAtom (const IPv6Net& subnet)
| XrlAtom |
XrlAtom (const char* name, const IPv6Net& subnet)
throw (BadName) | XrlAtom |
XrlAtom (const char* name, const IPvX& ipvx)
throw (BadName) | XrlAtom |
XrlAtom (const char* name, const IPvXNet& ipvxnet)
throw (BadName) | XrlAtom |
explicit XrlAtom (const Mac& mac)
| XrlAtom |
XrlAtom (const char* name, const Mac& mac)
throw (BadName) | XrlAtom |
explicit XrlAtom (const string& txt)
| XrlAtom |
XrlAtom (const char* name, const string& txt)
throw (BadName) | XrlAtom |
XrlAtom (const char* name, const XrlAtomList& l)
throw (BadName) | XrlAtom |
XrlAtom (const char* name, const vector<uint8_t>& data)
| XrlAtom |
XrlAtom (const char* name, const uint8_t* data, size_t data_bytes)
| XrlAtom |
XrlAtom (const vector<uint8_t>& data)
| XrlAtom |
XrlAtom (const uint8_t* data, size_t data_bytes)
| XrlAtom |
inline XrlAtom (const XrlAtom& x)
| XrlAtom |
inline const string& name ()
| name |
[const]
void set_name (const string& n)
throw (BadName) | set_name |
[const]
const string type_name ()
| type_name |
[const]
const string value ()
| value |
[const]
inline const bool& has_data ()
| has_data |
[const]
[const]
const bool& boolean ()
throw (NoData, WrongType) | boolean |
[const]
const int32_t& int32 ()
throw (NoData, WrongType) | int32 |
[const]
const uint32_t& uint32 ()
throw (NoData, WrongType) | uint32 |
[const]
const IPv4& ipv4 ()
throw (NoData, WrongType) | ipv4 |
[const]
const IPv4Net& ipv4net ()
throw (NoData, WrongType) | ipv4net |
[const]
const IPv6& ipv6 ()
throw (NoData, WrongType) | ipv6 |
[const]
const IPv6Net& ipv6net ()
throw (NoData, WrongType) | ipv6net |
[const]
const IPvX ipvx ()
throw (NoData, WrongType) | ipvx |
[const]
const IPvXNet ipvxnet ()
throw (NoData, WrongType) | ipvxnet |
[const]
const Mac& mac ()
throw (NoData, WrongType) | mac |
[const]
const string& text ()
throw (NoData, WrongType) | text |
[const]
const XrlAtomList& list ()
throw (NoData, WrongType) | list |
[const]
const vector<uint8_t>& binary ()
throw (NoData, WrongType) | binary |
[const]
bool operator== (const XrlAtom& x)
| operator== |
[const]
inline bool packed_bytes_fixed ()
| packed_bytes_fixed |
[const]
size_t packed_bytes ()
| packed_bytes |
[const]
size_t pack (uint8_t* buffer, size_t bytes_available)
| pack |
[const]
size_t unpack (const uint8_t* buffer, size_t buffer_bytes)
| unpack |
bool valid_type (const string& s)
| valid_type |
[static]
bool valid_name (const string& s)
| valid_name |
[static]
inline XrlAtomType lookup_type (const string& s)
| lookup_type |
[static]
Generated by: pavlin on possum.icir.org on Thu Aug 28 12:52:06 2003, using kdoc 2.0a54+XORP. |