class XrlAtom


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods

Public Static Methods


Detailed Description

NoData (struct)

NoData

WrongType (struct)

WrongType

BadName (struct)

BadName

 XrlAtom ()

XrlAtom

 ~XrlAtom ()

~XrlAtom

 XrlAtom (XrlAtomType t)

XrlAtom

 XrlAtom (const string& name, XrlAtomType t)
throw (BadName)

XrlAtom

 XrlAtom (const char* name, XrlAtomType t)
throw (BadName)

XrlAtom

 XrlAtom (const string& name, XrlAtomType t, const string& serialized_data)
throw (InvalidString)

XrlAtom

 XrlAtom (const char* name, XrlAtomType t, const string& serialized_data)
throw (InvalidString)

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

explicit  XrlAtom (const XrlAtomList& l)

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

explicit  XrlAtom (const int64_t& value)

XrlAtom

 XrlAtom (const char* name, int64_t value)
throw (BadName)

XrlAtom

explicit  XrlAtom (const uint64_t& value)

XrlAtom

 XrlAtom (const char* name, uint64_t value)
throw (BadName)

XrlAtom

 XrlAtom (const XrlAtom& x)

XrlAtom

XrlAtom&  operator= (const XrlAtom& x)

operator=

void  copy (const XrlAtom& x)

copy

const string&  name ()

name

[const]

void  set_name (const string& n)
throw (BadName)

set_name

string  str ()

str

[const]

const string  type_name ()

type_name

[const]

const string  value ()

value

[const]

const bool&  has_data ()

has_data

[const]

const XrlAtomType&  type ()

type

[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]

const int64_t&  int64 ()
throw (NoData, WrongType)

int64

[const]

const uint64_t&  uint64 ()
throw (NoData, WrongType)

uint64

[const]

bool  operator== (const XrlAtom& x)

operator==

[const]

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]

XrlAtomType  lookup_type (const string& s)

lookup_type

[static]

size_t  peek_text (const char*& t, uint32_t& tl, const uint8_t* buf, size_t len)

peek_text

[static]


Generated by: pavlin on kobe.xorp.net on Wed Jan 7 19:10:45 2009, using kdoc 2.0a54+XORP.