vobject_hull< NonVirtual, ariba::addressing::address_v, AdaptorType > Class Template Reference

the virtual adaptor to certain class of objects More...

#include <source/ariba/utility/addressing/facades/address_v.hpp>

Inherits ariba::addressing::address_v.

Collaboration diagram for vobject_hull< NonVirtual, ariba::addressing::address_v, AdaptorType >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

template<typename T >
 vobject_hull (T &obj)
 vobject_hull ()
virtual bool assign (const self &rhs)
 Assigns an address.
virtual const string & type_name () const
 returns the name of the address
virtual uint16_t type_id () const
 returns the id of the address
virtual address_v * clone () const
 returns a capsule of the object
virtual void * data (const std::type_info &type)
 Obtain the underlaying data type or null if it does not match the type.
virtual string to_string () const
 convert address to a string that can be used to reconstruct the address
virtual bool assign (const std::string &text)
 Assigns an address using a human-readable.
virtual int compare_to (const self &rhs) const
 implements comparison operators
virtual bool is_bytes_size_static () const
 returns true, if this address has a fixed size in bytes
virtual size_t to_bytes_size () const
 returns the number of bytes used for serialization of this address
virtual void to_bytes (uint8_t *bytes) const
 converts this address to a binary representation
virtual bool assign (const uint8_t *bytes, size_t size)
 Assigns an address using a bunch of bytes.

Private Types

typedef
ariba::addressing::address_v 
self

Static Private Member Functions

static NonVirtual & conv (ariba::addressing::address_v *obj)
static const NonVirtual & conv (const ariba::addressing::address_v *obj)

Private Attributes

AdaptorType::template
adaptor_type< NonVirtual > 
obj


Detailed Description

template<class NonVirtual, class AdaptorType>
class vobject_hull< NonVirtual, ariba::addressing::address_v, AdaptorType >

the virtual adaptor to certain class of objects

Definition at line 116 of file address_v.hpp.


Member Typedef Documentation

template<class NonVirtual , class AdaptorType >
typedef ariba::addressing::address_v vobject_hull< NonVirtual, ariba::addressing::address_v, AdaptorType >::self [private]

Definition at line 119 of file address_v.hpp.


Constructor & Destructor Documentation

template<class NonVirtual , class AdaptorType >
template<typename T >
vobject_hull< NonVirtual, ariba::addressing::address_v, AdaptorType >::vobject_hull ( T &  obj  )  [inline, explicit]

Definition at line 135 of file address_v.hpp.

template<class NonVirtual , class AdaptorType >
vobject_hull< NonVirtual, ariba::addressing::address_v, AdaptorType >::vobject_hull (  )  [inline, explicit]

Definition at line 138 of file address_v.hpp.


Member Function Documentation

template<class NonVirtual , class AdaptorType >
virtual bool vobject_hull< NonVirtual, ariba::addressing::address_v, AdaptorType >::assign ( const uint8_t *  bytes,
size_t  size 
) [inline, virtual]

Assigns an address using a bunch of bytes.

Implements ariba::addressing::address_v.

Definition at line 210 of file address_v.hpp.

template<class NonVirtual , class AdaptorType >
virtual bool vobject_hull< NonVirtual, ariba::addressing::address_v, AdaptorType >::assign ( const std::string &  text  )  [inline, virtual]

Assigns an address using a human-readable.

Implements ariba::addressing::address_v.

Definition at line 180 of file address_v.hpp.

template<class NonVirtual , class AdaptorType >
virtual bool vobject_hull< NonVirtual, ariba::addressing::address_v, AdaptorType >::assign ( const self rhs  )  [inline, virtual]

Assigns an address.

Implements ariba::addressing::address_v.

Definition at line 145 of file address_v.hpp.

template<class NonVirtual , class AdaptorType >
virtual address_v* vobject_hull< NonVirtual, ariba::addressing::address_v, AdaptorType >::clone (  )  const [inline, virtual]

returns a capsule of the object

Implements ariba::addressing::address_v.

Definition at line 162 of file address_v.hpp.

template<class NonVirtual , class AdaptorType >
virtual int vobject_hull< NonVirtual, ariba::addressing::address_v, AdaptorType >::compare_to ( const self rhs  )  const [inline, virtual]

implements comparison operators

Implements ariba::addressing::address_v.

Definition at line 187 of file address_v.hpp.

template<class NonVirtual , class AdaptorType >
static const NonVirtual& vobject_hull< NonVirtual, ariba::addressing::address_v, AdaptorType >::conv ( const ariba::addressing::address_v obj  )  [inline, static, private]

Definition at line 126 of file address_v.hpp.

template<class NonVirtual , class AdaptorType >
static NonVirtual& vobject_hull< NonVirtual, ariba::addressing::address_v, AdaptorType >::conv ( ariba::addressing::address_v obj  )  [inline, static, private]

Definition at line 122 of file address_v.hpp.

References ariba::addressing::address_v::data().

template<class NonVirtual , class AdaptorType >
virtual void* vobject_hull< NonVirtual, ariba::addressing::address_v, AdaptorType >::data ( const std::type_info &  type  )  [inline, virtual]

Obtain the underlaying data type or null if it does not match the type.

Implements ariba::addressing::address_v.

Definition at line 167 of file address_v.hpp.

template<class NonVirtual , class AdaptorType >
virtual bool vobject_hull< NonVirtual, ariba::addressing::address_v, AdaptorType >::is_bytes_size_static (  )  const [inline, virtual]

returns true, if this address has a fixed size in bytes

Implements ariba::addressing::address_v.

Definition at line 195 of file address_v.hpp.

template<class NonVirtual , class AdaptorType >
virtual void vobject_hull< NonVirtual, ariba::addressing::address_v, AdaptorType >::to_bytes ( uint8_t *  bytes  )  const [inline, virtual]

converts this address to a binary representation

Implements ariba::addressing::address_v.

Definition at line 205 of file address_v.hpp.

template<class NonVirtual , class AdaptorType >
virtual size_t vobject_hull< NonVirtual, ariba::addressing::address_v, AdaptorType >::to_bytes_size (  )  const [inline, virtual]

returns the number of bytes used for serialization of this address

Implements ariba::addressing::address_v.

Definition at line 200 of file address_v.hpp.

template<class NonVirtual , class AdaptorType >
virtual string vobject_hull< NonVirtual, ariba::addressing::address_v, AdaptorType >::to_string (  )  const [inline, virtual]

convert address to a string that can be used to reconstruct the address

Implements ariba::addressing::address_v.

Definition at line 175 of file address_v.hpp.

template<class NonVirtual , class AdaptorType >
virtual uint16_t vobject_hull< NonVirtual, ariba::addressing::address_v, AdaptorType >::type_id (  )  const [inline, virtual]

returns the id of the address

Implements ariba::addressing::address_v.

Definition at line 157 of file address_v.hpp.

template<class NonVirtual , class AdaptorType >
virtual const string& vobject_hull< NonVirtual, ariba::addressing::address_v, AdaptorType >::type_name (  )  const [inline, virtual]

returns the name of the address

Implements ariba::addressing::address_v.

Definition at line 152 of file address_v.hpp.


Member Data Documentation

template<class NonVirtual , class AdaptorType >
AdaptorType::template adaptor_type<NonVirtual> vobject_hull< NonVirtual, ariba::addressing::address_v, AdaptorType >::obj [private]

Definition at line 120 of file address_v.hpp.


The documentation for this class was generated from the following file:

Generated on Fri Aug 14 23:38:45 2009 for Ariba by  doxygen 1.5.8