OPAL
Version 3.14.3
|
#include <h4601.h>
Inherits H225_FeatureDescriptor.
This is a base class for H.323 Feature handling. This implements the service class session management as per H460 Series.
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.
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
|
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().
|
inline |
Get Parameter at index id
Referenced by H460_Feature::GetParameterAt(), and operator[]().
|
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.
|
inline |
Operator
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().