An AVP extractor object.
More...
#include <efd.h>
Class constructor.
- Parameters
-
| extractor | the parent extractor. |
| de | the dictionary for this AVP extractor. |
| dedel | indicates if the dictionary entry object is to be destroyed when this object is destroyed. |
| FDExtractorAvp::~FDExtractorAvp |
( |
| ) |
|
|
virtual |
| Void FDExtractorAvp::dump |
( |
| ) |
|
Prints the contents of this AVP to the screen.
| Bool FDExtractorAvp::exists |
( |
| ) |
|
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.
| Bool FDExtractorAvp::get |
( |
int32_t & |
v | ) |
|
|
inline |
Retrieves an int32_t AVP value. Returns True if the value is successfully retrieved.
- Parameters
-
| v | the variable to populate. |
- Returns
- True if the value was retrieved, otherwise False.
| Bool FDExtractorAvp::get |
( |
uint32_t & |
v | ) |
|
|
inline |
Retrieves an uint32_t AVP value. Returns True if the value is successfully retrieved.
- Parameters
-
| v | the variable to populate. |
- Returns
- True if the value was retrieved, otherwise False.
| Bool FDExtractorAvp::get |
( |
uint64_t & |
v | ) |
|
|
inline |
Retrieves an uint64_t AVP value. Returns True if the value is successfully retrieved.
- Parameters
-
| v | the variable to populate. |
- Returns
- True if the value was retrieved, otherwise False.
| Bool FDExtractorAvp::get |
( |
float & |
v | ) |
|
|
inline |
Retrieves a float AVP value.
- Parameters
-
| v | the variable to populate. |
- Returns
- True if the value was retrieved, otherwise False.
| Bool FDExtractorAvp::get |
( |
double & |
v | ) |
|
|
inline |
Retrieves a double AVP value.
- Parameters
-
| v | the variable to populate. |
- Returns
- True if the value was retrieved, otherwise False.
| Bool FDExtractorAvp::get |
( |
int64_t & |
v | ) |
|
|
inline |
Retrieves an int64_t AVP value.
- Parameters
-
| v | the variable to populate. |
- Returns
- True if the value was retrieved, otherwise False.
| Bool FDExtractorAvp::get |
( |
std::string & |
v | ) |
|
|
inline |
Retrieves a string AVP value.
- Parameters
-
| v | the variable to populate. |
- Returns
- True if the value was retrieved, otherwise False.
| Bool FDExtractorAvp::get |
( |
char * |
data, |
|
|
size_t & |
len |
|
) |
| |
|
inline |
Retrieves an octet string AVP value.
- Parameters
-
| data | the variable to populate. |
| len | the maximum length of the octet string. |
- Returns
- True if the value was retrieved, otherwise False.
| Bool FDExtractorAvp::get |
( |
uint8_t * |
data, |
|
|
size_t & |
len |
|
) |
| |
|
inline |
Retrieves an octet string AVP value.
- Parameters
-
| data | the variable to populate. |
| len | the maximum length of the octet string. |
- Returns
- True if the value was retrieved, otherwise False.
| Bool FDExtractorAvp::get |
( |
sSS & |
ss | ) |
|
|
inline |
Retrieves an IP address AVP value.
- Parameters
-
| ss | the variable to populate. |
- Returns
- True if the value was retrieved, otherwise False.
| Bool FDExtractorAvp::get |
( |
ETime & |
t | ) |
|
|
inline |
Retrieves a time AVP value.
- Parameters
-
| t | the variable to populate. |
- Returns
- True if the value was retrieved, otherwise False.
- Exceptions
-
| struct avp* FDExtractorAvp::getAvp |
( |
| ) |
|
|
inline |
Retrieves the underlying freeDiameter AVP pointer.
- Returns
- the underlying freeDiameter AVP pointer.
| union avp_value* FDExtractorAvp::getAvpValue |
( |
| ) |
|
|
inline |
Retrieves the underlying freeDiameter AVP value pointer.
- Returns
- the underlying freeDiameter AVP value pointer.
Retrieves the extractor type.
- Returns
- the extractor type.
Implements FDExtractorBase.
| Bool FDExtractorAvp::getJson |
( |
std::string & |
json | ) |
|
Retrieves the JSON string representing the AVP values for this AVP.
- Parameters
-
| json | the JSON string to populate. |
- Returns
- True if the JSON string was populated, otherwise False.
| Void FDExtractorAvp::setAvp |
( |
struct avp * |
a | ) |
|
|
inline |
Assigns the underlying freeDiameter AVP to this extractor.
- Parameters
-
| a | the underlying freeDiameter AVP pointer. |
The documentation for this class was generated from the following files:
- /home/vagrant/share/code/epctools-omec-pfcp/include/epc/efd.h
- /home/vagrant/share/code/epctools-omec-pfcp/src/efd.cpp