A wrapper around a grouped AVP used to locate and access the AVP's in the parent message or grouped AVP.
More...
#include <efd.h>
A wrapper around a grouped AVP used to locate and access the AVP's in the parent message or grouped AVP.
◆ FDExtractor() [1/4]
FDExtractor::FDExtractor |
( |
| ) |
|
◆ FDExtractor() [2/4]
Constructs an extractor from a message (answer or request).
- Parameters
-
msg | the message to encapsulate. |
◆ FDExtractor() [3/4]
Class constructor.
- Parameters
-
de | the command dictionary entry for this extractor. |
◆ FDExtractor() [4/4]
Class constructor.
- Parameters
-
parent | the parent extractor object. |
de | the AVP dictionary entry for this extractor. |
◆ ~FDExtractor()
FDExtractor::~FDExtractor |
( |
| ) |
|
|
virtual |
◆ add()
Adds a child extractor to this extractor.
◆ dump()
Void FDExtractor::dump |
( |
| ) |
|
Prints the underlying freeDiameter message or AVP to stdout.
◆ exists()
Bool FDExtractor::exists |
( |
Bool |
skipResolve = false | ) |
|
Determines if this extractor exists in the underlying freeDiameter message or grouped AVP.
- Returns
- True if the AVP has been found in the message or grouped AVP.
◆ getExtractorType()
Retrieves the extractor type.
- Returns
- the extractor type.
Implements FDExtractorBase.
◆ getJson()
Bool FDExtractor::getJson |
( |
std::string & |
json | ) |
|
Retrieves a JSON representation of the message or AVP.
- Parameters
-
json | the destination for the JSON representation. |
- Returns
- True if the message or AVP was successfully converted to JSON, otherwise False.
◆ getParent()
retrieves the parent of this extractor.
- Returns
- pointer to the parent extractor.
◆ getReference()
msg_or_avp * FDExtractor::getReference |
( |
| ) |
|
retrieves the freeDiameter reference for this extractor.
- Returns
- the freeDiameter message or AVP reference pointer.
◆ resolve()
Void FDExtractor::resolve |
( |
| ) |
|
|
protected |
Locates this AVP in the freeDiameter message or grouped AVP.
◆ setReference() [1/3]
Void FDExtractor::setReference |
( |
FDAvp & |
avp | ) |
|
|
inline |
Assigns the reference that this extractor is associated wtih.
- Parameters
-
◆ setReference() [2/3]
Void FDExtractor::setReference |
( |
FDMessage & |
msg | ) |
|
|
inline |
Assigns the reference that this extractor is associated wtih.
- Parameters
-
◆ setReference() [3/3]
Void FDExtractor::setReference |
( |
msg_or_avp * |
m | ) |
|
|
inline |
Assigns the reference that this extractor is associated wtih.
- Parameters
-
m | a freeDiameter AVP or message pointer. |
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