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

AvpType Class Reference

#include <diameter_parser_api.h>

List of all members.

Public Member Functions

 AvpType (char *name, AAA_AVPDataType type, ACE_UINT32 size, AvpValueParserFunctor parserCreator, AvpContainerEntryFunctor containerEntryCreator)
char * getName (void)
AAA_AVPDataType getType (void)
ACE_UINT32 getMinSize (void)
AvpValueParsercreateParser ()
AAAAvpContainerEntrycreateContainerEntry (int type)


Detailed Description

This class defines an AVP type. An AVP type is defined as a set of typename, typevalue, size of the AVP payload and the function objects to create an AVP value parser and AVP container entry for the type.


Constructor & Destructor Documentation

AvpType::AvpType char *  name,
AAA_AVPDataType  type,
ACE_UINT32  size,
AvpValueParserFunctor  parserCreator,
AvpContainerEntryFunctor  containerEntryCreator
[inline]
 

constructor

Parameters:
name AVP name
type AVP type
size AVP data size
parserCreator parser creator object
containerEntryCreator entry creator object


Member Function Documentation

AAAAvpContainerEntry* AvpType::createContainerEntry int  type  )  [inline]
 

This function is used for crating a type-specific container entry.

AvpValueParser* AvpType::createParser  )  [inline]
 

This function is used for creating a type-specific AVP value parser.

ACE_UINT32 AvpType::getMinSize void   )  [inline]
 

This function is used for obtaining the minimum AVP payload size.

char* AvpType::getName void   )  [inline]
 

This function is used for obtaining the AVP type name.

AAA_AVPDataType AvpType::getType void   )  [inline]
 

This function is used for obtaining the AVP type value.


The documentation for this class was generated from the following file:
Generated on Mon Jan 10 20:16:51 2005 for Open Diameter C++ API by  doxygen 1.3.9.1