OPAL  Version 3.14.3
H460_FeatureDescriptor Class Reference

#include <h4601.h>

Inherits H225_FeatureDescriptor.

Public Member Functions

Construction
 H460_FeatureDescriptor ()
 
 H460_FeatureDescriptor (const H460_FeatureID &id)
 
 H460_FeatureDescriptor (const H225_FeatureDescriptor &descriptor)
 
Parameter Control
const H460_FeatureIDGetID () const
 
H460_FeatureParameterAddParameter (const H460_FeatureID &id, const H460_FeatureContent &content=H460_FeatureContent(), bool unique=true)
 
H460_FeatureParameterAddParameter (H460_FeatureParameter *param, bool unique=true)
 
void RemoveParameterAt (PINDEX index)
 
void RemoveParameter (const H460_FeatureID &id)
 
void ReplaceParameter (const H460_FeatureID &id, const H460_FeatureContent &content)
 
H460_FeatureParameterGetParameterAt (PINDEX index) const
 
PINDEX GetParameterIndex (const H460_FeatureID &id) const
 
H460_FeatureParameterGetParameter (const H460_FeatureID &id) const
 
bool GetBooleanParameter (const H460_FeatureID &id) const
 
bool HasParameter (const H460_FeatureID &id) const
 
bool IsParameterIsUnique (const H460_FeatureID &id) const
 
PINDEX GetParameterCount () const
 
H460_FeatureParameteroperator[] (PINDEX index)
 

Detailed Description

This is a base class for H.323 Feature handling. This implements the service class session management as per H460 Series.

Constructor & Destructor Documentation

H460_FeatureDescriptor::H460_FeatureDescriptor ( )

Blank Feature descriptor

H460_FeatureDescriptor::H460_FeatureDescriptor ( const H460_FeatureID id)

Feature descriptor for id

H460_FeatureDescriptor::H460_FeatureDescriptor ( const H225_FeatureDescriptor &  descriptor)

Create a new handler for a PDU Received Feature.

Member Function Documentation

H460_FeatureParameter& H460_FeatureDescriptor::AddParameter ( const H460_FeatureID id,
const H460_FeatureContent content = H460_FeatureContent(),
bool  unique = true 
)

Add Parameter

Referenced by H460_Feature::AddParameter().

H460_FeatureParameter& H460_FeatureDescriptor::AddParameter ( H460_FeatureParameter param,
bool  unique = true 
)

Add Parameter from H460_FeatureParameter

bool H460_FeatureDescriptor::GetBooleanParameter ( const H460_FeatureID id) const

Get boolean Parameter with FeatureID

const H460_FeatureID& H460_FeatureDescriptor::GetID ( ) const
inline

Referenced by H460_Feature::GetID().

H460_FeatureParameter& H460_FeatureDescriptor::GetParameter ( const H460_FeatureID id) const

Get Parameter with FeatureID

Referenced by H460_Feature::GetParameter().

H460_FeatureParameter& H460_FeatureDescriptor::GetParameterAt ( PINDEX  index) const
inline

Get Parameter at index id

Referenced by H460_Feature::GetParameterAt(), and operator[]().

PINDEX H460_FeatureDescriptor::GetParameterCount ( ) const
inline

Get the Number of Parameters

Referenced by H460_Feature::GetParameterCount().

PINDEX H460_FeatureDescriptor::GetParameterIndex ( const H460_FeatureID id) const

Determine of forst parameter wth the feature ID.

bool H460_FeatureDescriptor::HasParameter ( const H460_FeatureID id) const

Has Feature with FeatureID

Referenced by H460_Feature::HasParameter().

bool H460_FeatureDescriptor::IsParameterIsUnique ( const H460_FeatureID id) const

ParameterIsUnique return true if there is only 1 instance of feature parameter with matching feature ID exists in the feature list. You cannot replace the contents of the parameter if the parameter ID is not unique.

H460_FeatureParameter& H460_FeatureDescriptor::operator[] ( PINDEX  index)
inline

Operator

Parameters
index* Index position in the collection of the object.

References GetParameterAt().

void H460_FeatureDescriptor::RemoveParameter ( const H460_FeatureID id)

Delete Parameter

Referenced by H460_Feature::RemoveParameter().

void H460_FeatureDescriptor::RemoveParameterAt ( PINDEX  index)

Delete Parameter

Referenced by H460_Feature::RemoveParameterAt().

void H460_FeatureDescriptor::ReplaceParameter ( const H460_FeatureID id,
const H460_FeatureContent content 
)

Replace Parameter

Referenced by H460_Feature::ReplaceParameter().


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