Extractor base class. An extractor is a wrapper around an AVP that locates and accesses the AVP in the message or grouped AVP.
More...
#include <efd.h>
Extractor base class. An extractor is a wrapper around an AVP that locates and accesses the AVP in the message or grouped AVP.
◆ FDExtractorBase()
Class constructor.
- Parameters
-
de | the dictionary entry for this extractor. |
◆ ~FDExtractorBase()
virtual FDExtractorBase::~FDExtractorBase |
( |
| ) |
|
|
inlinevirtual |
◆ exists()
Bool FDExtractorBase::exists |
( |
| ) |
|
|
inline |
Retrieves status indicating if the AVP is present/exists in the message.
- Returns
- True if the AVP exists, otherwise False.
◆ getDictionaryEntry()
Retrieves the dictionary entry associated with the AVP.
- Returns
- the AVP dictionary entry.
◆ getExtractorType()
◆ getIndex()
Int FDExtractorBase::getIndex |
( |
| ) |
|
|
inline |
Retrieves the location of the AVP in the parent (message or AVP).
- Returns
- the index of this AVP.
◆ getResolved()
Bool FDExtractorBase::getResolved |
( |
| ) |
|
|
inline |
Retrieves the resolved status. Being resolved means that the underlying freeDiameter AVP has been located and assigned.
- Returns
- True if resolved, otherwise False.
◆ setIndex()
Int FDExtractorBase::setIndex |
( |
Int |
idx | ) |
|
|
inline |
Assigns the index of this AVP.
- Parameters
-
idx | the index of the AVP in the message or grouped AVP. |
- Returns
- the assigned index.
◆ setResolved()
Bool FDExtractorBase::setResolved |
( |
Bool |
resolved = true | ) |
|
|
inline |
Assigns the resolved state.
- Parameters
-
resolved | the resolutions status to assign. |
- Returns
- True if resolved, otherwise False.
The documentation for this class was generated from the following file:
- /home/vagrant/share/code/epctools/include/epc/efd.h