class XrlArgs


Definition#include <xrl_args.hh>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Protected Types

Protected Methods

Protected Members


Detailed Description

 XrlArgs ()

XrlArgs

 ~XrlArgs ()

~XrlArgs

XrlAtomNotFound (class)

XrlAtomNotFound

XrlAtomFound (class)

XrlAtomFound

XrlArgs&  add (const XrlAtom& xa)
throw (XrlAtomFound)

add

const XrlAtom&  get (const XrlAtom& dataless)
throw (XrlAtomNotFound)

get

[const]

void  remove (const XrlAtom& dataless)
throw (XrlAtomNotFound)

remove

XrlArgs&  add_bool (const char* name, bool val)
throw (XrlAtomFound)

add_bool

const bool_t&  get_bool (const char* name)
throw (XrlAtomNotFound)

get_bool

[const]

void  remove_bool (const char* name)
throw (XrlAtomNotFound)

remove_bool

inline XrlArgs&  add (const char *n, bool v)
throw (XrlAtomFound)

add

inline void  get (const char *n, bool& t)
throw (XrlAtomNotFound)

get

[const]

XrlArgs&  add_int32 (const char* name, int32_t val)
throw (XrlAtomFound)

add_int32

const int32_t&  get_int32 (const char* name)
throw (XrlAtomNotFound)

get_int32

[const]

void  remove_int32 (const char* name)
throw (XrlAtomNotFound)

remove_int32

inline XrlArgs&  add (const char *n, int32_t v)
throw (XrlAtomFound)

add

inline void  get (const char *n, int32_t& t)
throw (XrlAtomNotFound)

get

[const]

XrlArgs&  add_uint32 (const char* name, uint32_t v)
throw (XrlAtomFound)

add_uint32

const uint32_t&  get_uint32 (const char* name)
throw (XrlAtomNotFound)

get_uint32

[const]

void  remove_uint32 (const char* name)
throw (XrlAtomNotFound)

remove_uint32

inline XrlArgs&  add (const char *n, uint32_t v)
throw (XrlAtomFound)

add

inline void  get (const char *n, uint32_t& t)
throw (XrlAtomNotFound)

get

[const]

XrlArgs&  add_ipv4 (const char* n, const IPv4& a)
throw (XrlAtomFound)

add_ipv4

const IPv4&  get_ipv4 (const char* name)
throw (XrlAtomNotFound)

get_ipv4

[const]

void  remove_ipv4 (const char* name)
throw (XrlAtomNotFound)

remove_ipv4

inline XrlArgs&  add (const char *n, const IPv4& a)
throw (XrlAtomFound)

add

inline void  get (const char *n, IPv4& a)
throw (XrlAtomNotFound)

get

[const]

XrlArgs&  add_ipv4net (const char* n, const IPv4Net& a)
throw (XrlAtomFound)

add_ipv4net

const IPv4Net&  get_ipv4net (const char* name)
throw (XrlAtomNotFound)

get_ipv4net

[const]

void  remove_ipv4net (const char* name)
throw (XrlAtomNotFound)

remove_ipv4net

inline XrlArgs&  add (const char *n, const IPv4Net& v)
throw (XrlAtomFound)

add

inline void  get (const char *n, IPv4Net& t)
throw (XrlAtomNotFound)

get

[const]

XrlArgs&  add_ipv6 (const char* name, const IPv6& addr)
throw (XrlAtomFound)

add_ipv6

const IPv6&  get_ipv6 (const char* name)
throw (XrlAtomNotFound)

get_ipv6

[const]

void  remove_ipv6 (const char* name)
throw (XrlAtomNotFound)

remove_ipv6

inline XrlArgs&  add (const char *n, const IPv6& a)
throw (XrlAtomFound)

add

inline void  get (const char *n, IPv6& a)
throw (XrlAtomNotFound)

get

[const]

XrlArgs&  add_ipv6net (const char* name, const IPv6Net& addr)
throw (XrlAtomFound)

add_ipv6net

const IPv6Net&  get_ipv6net (const char* name)
throw (XrlAtomNotFound)

get_ipv6net

[const]

void  remove_ipv6net (const char* name)
throw (XrlAtomNotFound)

remove_ipv6net

inline XrlArgs&  add (const char *n, const IPv6Net& a)
throw (XrlAtomFound)

add

inline void  get (const char *n, IPv6Net& a)
throw (XrlAtomNotFound)

get

[const]

XrlArgs&  add_ipvx (const char* name, const IPvX& ipvx)
throw (XrlAtomFound)

add_ipvx

const IPvX  get_ipvx (const char* name)
throw (XrlAtomNotFound)

get_ipvx

[const]

void  remove_ipvx (const char* name)
throw (XrlAtomNotFound)

remove_ipvx

inline XrlArgs&  add (const char *n, const IPvX& a)
throw (XrlAtomFound)

add

inline void  get (const char *n, IPvX& a)
throw (XrlAtomNotFound)

get

[const]

XrlArgs&  add_ipvxnet (const char* name, const IPvXNet& ipvxnet)
throw (XrlAtomFound)

add_ipvxnet

const IPvXNet  get_ipvxnet (const char* name)
throw (XrlAtomNotFound)

get_ipvxnet

[const]

void  remove_ipvxnet (const char* name)
throw (XrlAtomNotFound)

remove_ipvxnet

inline XrlArgs&  add (const char *n, const IPvXNet& a)
throw (XrlAtomFound)

add

inline void  get (const char *n, IPvXNet& a)
throw (XrlAtomNotFound)

get

[const]

XrlArgs&  add_mac (const char* name, const Mac& addr)
throw (XrlAtomFound)

add_mac

const Mac&  get_mac (const char* name)
throw (XrlAtomNotFound)

get_mac

[const]

void  remove_mac (const char* name)
throw (XrlAtomNotFound)

remove_mac

inline XrlArgs&  add (const char *n, const Mac& a)
throw (XrlAtomFound)

add

inline void  get (const char *n, Mac& a)
throw (XrlAtomNotFound)

get

[const]

XrlArgs&  add_string (const char* name, const string& addr)
throw (XrlAtomFound)

add_string

const string&  get_string (const char* name)
throw (XrlAtomNotFound)

get_string

[const]

void  remove_string (const char* name)
throw (XrlAtomNotFound)

remove_string

inline XrlArgs&  add (const char *n, const string& a)
throw (XrlAtomFound)

add

inline void  get (const char *n, string& a)
throw (XrlAtomNotFound)

get

[const]

XrlArgs&  add_list (const char* name, const XrlAtomList& addr)
throw (XrlAtomFound)

add_list

const XrlAtomList&  get_list (const char* name)
throw (XrlAtomNotFound)

get_list

[const]

void  remove_list (const char* name)
throw (XrlAtomNotFound)

remove_list

inline XrlArgs&  add (const char *n, const XrlAtomList& a)
throw (XrlAtomFound)

add

inline void  get (const char *n, XrlAtomList& a)
throw (XrlAtomNotFound)

get

[const]

XrlArgs&  add_binary (const char* name, const vector<uint8_t>& addr)
throw (XrlAtomFound)

add_binary

const vector<uint8_t>&  get_binary (const char* name)
throw (XrlAtomNotFound)

get_binary

[const]

void  remove_binary (const char* name)
throw (XrlAtomNotFound)

remove_binary

inline XrlArgs&  add (const char *n, const vector<uint8_t>& a)
throw (XrlAtomFound)

add

inline void  get (const char *n, vector<uint8_t>& a)
throw (XrlAtomNotFound)

get

[const]

XrlArgs&  add (const XrlArgs& args)
throw (XrlAtomFound)

add

bool  matches_template (XrlArgs& t)

matches_template

[const]

bool  operator== (const XrlArgs& t)

operator==

[const]

size_t  size ()

size

[const]

const XrlAtom&  operator[] (uint32_t index)

operator[]

[const]

inline const XrlAtom&  item (uint32_t index)

item

[const]

const XrlAtom&  operator[] (const string& name)
throw (XrlAtomNotFound)

operator[]

[const]

inline const XrlAtom&  item (const string& name)
throw (XrlAtomNotFound)

item

[const]

typedef list<XrlAtom>::const_iterator const_iterator

const_iterator

const_iterator  begin ()

begin

[const]

const_iterator  end ()

end

[const]

inline void  clear ()

clear

inline bool  empty ()

empty

string  str ()

str

[const]

explicit  XrlArgs (const char* str)
throw (InvalidString)

XrlArgs

void  check_not_found (const XrlAtom &xa)
throw (XrlAtomFound)

check_not_found

[protected]

list<XrlAtom> _args

_args

[protected]

typedef list<XrlAtom>::iterator iterator

iterator

[protected]


Generated by: pavlin on possum.icir.org on Mon Mar 10 19:34:49 2003, using kdoc 2.0a54+XORP.