A dictionary entry object associated with an AVP.
More...
#include <efd.h>
|
| FDDictionaryEntry () |
| Class constructor. More...
|
|
| FDDictionaryEntry (const Void *what, enum dict_object_type type, Int criteria, struct dictionary *dict=NULL) |
| Class constructor. More...
|
|
Void | init (const Void *what, enum dict_object_type type, Int criteria, struct dictionary *dict=NULL) |
| initializes an object created with the default constructor. More...
|
|
Void | init (struct dict_object *de, struct dictionary *dict=NULL) |
| intializes an object using an existing freeDiameter dictionary entry. More...
|
|
virtual | ~FDDictionaryEntry () |
| Class destructor. More...
|
|
A dictionary entry object associated with an AVP.
◆ FDDictionaryEntryAVP() [1/3]
FDDictionaryEntryAVP::FDDictionaryEntryAVP |
( |
const char * |
name, |
|
|
Bool |
allVendors = false , |
|
|
struct dictionary * |
dict = NULL |
|
) |
| |
Class constructor.
- Parameters
-
name | the name of the AVP. |
allVendors | indicates to whether to search all vendors or not. |
dict | the dictionary to search. If NULL, then globally defined freeDiameter dictionary will be searched. |
- Exceptions
-
◆ FDDictionaryEntryAVP() [2/3]
FDDictionaryEntryAVP::FDDictionaryEntryAVP |
( |
const char * |
name, |
|
|
vendor_id_t |
vendorid, |
|
|
struct dictionary * |
dict = NULL |
|
) |
| |
Class constructor.
- Parameters
-
name | the name of the AVP. |
vendorid | the vendor ID of the AVP to search for. |
dict | the dictionary to search. If NULL, then globally defined freeDiameter dictionary will be searched. |
- Exceptions
-
◆ FDDictionaryEntryAVP() [3/3]
FDDictionaryEntryAVP::FDDictionaryEntryAVP |
( |
struct dict_object * |
de | ) |
|
Class constructor.
- Parameters
-
de | the dictionary entry object to look up. |
- Exceptions
-
◆ getAvpCode()
avp_code_t FDDictionaryEntryAVP::getAvpCode |
( |
| ) |
const |
|
inline |
Returns the AVP code/ID.
- Returns
- the AVP code/ID for this AVP.
◆ getDataType()
Returns the data type of the AVP.
- Returns
- the data type for this AVP.
◆ getName()
const char* FDDictionaryEntryAVP::getName |
( |
| ) |
const |
|
inline |
Returns the AVP name.
- Returns
- the name of the AVP.
◆ getVendorId()
vendor_id_t FDDictionaryEntryAVP::getVendorId |
( |
| ) |
const |
|
inline |
Returns the AVP vendor ID.
- Returns
- the vendor ID for this AVP.
◆ isDerived()
Bool FDDictionaryEntryAVP::isDerived |
( |
| ) |
const |
|
inline |
Indicates whether the data type is derived from another or if it is a base data type.
- Returns
- True if the data type is derived, False if it is a base data type.
The documentation for this class was generated from the following files:
- /home/vagrant/share/code/epctools/include/epc/efd.h
- /home/vagrant/share/code/epctools/src/efd.cpp