Main Page | Class Hierarchy | Class List | File List | Class Members

AAAAvpContainerEntry Class Reference

ContainerEntry Container Entry. More...

#include <diameter_parser_api.h>

Inheritance diagram for AAAAvpContainerEntry:

AAATypeSpecificAvpContainerEntry< T > List of all members.

Public Member Functions

AAA_AVPDataType & dataType ()
template<class T> T & dataRef (Type2Type< T >)
template<class T> T * dataPtr (Type2Type< T >)

Protected Member Functions

 AAAAvpContainerEntry (int type)
 ~AAAAvpContainerEntry ()
void * operator new (size_t s)
void operator delete (void *p)

Protected Attributes

AAA_AVPDataType type
void * data

Friends

class AAAAvpContainerEntryManager
class AAAAvpContainer

Detailed Description

ContainerEntry Container Entry.

A union structure to store a value of any type of AVP.


Constructor & Destructor Documentation

AAAAvpContainerEntry::AAAAvpContainerEntry int  type  )  [inline, protected]
 

Constuctor.

AAAAvpContainerEntry::~AAAAvpContainerEntry  )  [inline, protected]
 

Destructor


Member Function Documentation

template<class T>
T* AAAAvpContainerEntry::dataPtr Type2Type< T >   )  [inline]
 

Returns a type-specific pointer to data. The argument is a dummy argument that is used by complier to uniquely chose a desired template function.

template<class T>
T& AAAAvpContainerEntry::dataRef Type2Type< T >   )  [inline]
 

Returns a type-specific reference to data. The argument is a dummy argument that is used by complier to uniquely chose a desired template function.

AAA_AVPDataType& AAAAvpContainerEntry::dataType  )  [inline]
 

Returns a the type of the entry

void AAAAvpContainerEntry::operator delete void *  p  )  [inline, protected]
 

Abstracted delete operator

Parameters:
p data block to free

Reimplemented in AAATypeSpecificAvpContainerEntry< T >.

void* AAAAvpContainerEntry::operator new size_t  s  )  [inline, protected]
 

Abstracted new operator

Parameters:
s size of block to allocate

Reimplemented in AAATypeSpecificAvpContainerEntry< T >.


Friends And Related Function Documentation

friend class AAAAvpContainer [friend]
 

container

friend class AAAAvpContainerEntryManager [friend]
 

entry manager


Member Data Documentation

void* AAAAvpContainerEntry::data [protected]
 

User-defined type data

AAA_AVPDataType AAAAvpContainerEntry::type [protected]
 

AVP type


The documentation for this class was generated from the following file:
Generated on Fri Jun 25 19:12:02 2004 for Open Diameter C++ API by doxygen 1.3.5