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

AAAAvpContainer Class Reference

AvpContainer AVP Container Definition. More...

#include <diameter_parser_api.h>

List of all members.

Public Member Functions

 AAAAvpContainer ()
 ~AAAAvpContainer ()
void releaseEntries ()
void add (AAAAvpContainerEntry *e)
void remove (AAAAvpContainerEntry *e)
const char * getAvpName () const
void setAvpName (const char *name)
void * operator new (size_t s)
void operator delete (void *p)
AAAAvpParseType & ParseType ()

Protected Attributes

std::string avpName
bool flag
AAAAvpParseType parseType

Friends

class AAAAvpContainerList


Detailed Description

AvpContainer AVP Container Definition.

A class used for passing AVP data between applications and the API.


Constructor & Destructor Documentation

AAAAvpContainer::AAAAvpContainer  )  [inline]
 

constructor

AAAAvpContainer::~AAAAvpContainer  )  [inline]
 

destructor


Member Function Documentation

void AAAAvpContainer::add AAAAvpContainerEntry e  )  [inline]
 

This function adds a AAAAvpContainerEntry pointer to the container.

Parameters:
e AVP entry to add

const char* AAAAvpContainer::getAvpName  )  const [inline]
 

Access method to retrive the AVP name. Returns character string name of the AVP.

void AAAAvpContainer::operator delete void *  p  )  [inline]
 

Abstracted delete operator

Parameters:
p data block to free

void* AAAAvpContainer::operator new size_t  s  )  [inline]
 

Abstracted new operator

Parameters:
s size of block to allocate

AAAAvpParseType& AAAAvpContainer::ParseType  )  [inline]
 

Returns a reference to the AVP type

void AAAAvpContainer::releaseEntries  )  [inline]
 

This function returns all the AAAAvpContainerEntry pointers in the container to the free list. It is the responsibility of applications to call this function as soon as processing of the containers are completed.

void AAAAvpContainer::remove AAAAvpContainerEntry e  ) 
 

This function removes a AAAAvpContainerEntry pointer from the container.

Parameters:
e AVP entry to remove

void AAAAvpContainer::setAvpName const char *  name  )  [inline]
 

Access method to set the AVP name.

Parameters:
name New AVP name


Friends And Related Function Documentation

friend class AAAAvpContainerList [friend]
 

container list


Member Data Documentation

std::string AAAAvpContainer::avpName [protected]
 

AVP name

bool AAAAvpContainer::flag [protected]
 

Internal use

AAAAvpParseType AAAAvpContainer::parseType [protected]
 

Parse type (strict or loose)


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