An AVP extractor object.
More...
#include <efd.h>
◆ FDExtractorAvp()
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::~FDExtractorAvp |
( |
| ) |
|
|
virtual |
◆ dump()
Void FDExtractorAvp::dump |
( |
| ) |
|
Prints the contents of this AVP to the screen.
◆ exists()
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.
◆ get() [1/11]
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.
◆ get() [2/11]
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.
◆ get() [3/11]
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
-
◆ get() [4/11]
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.
◆ get() [5/11]
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.
◆ get() [6/11]
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.
◆ get() [7/11]
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.
◆ get() [8/11]
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.
◆ get() [9/11]
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.
◆ get() [10/11]
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.
◆ get() [11/11]
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.
◆ getAvp()
struct avp* FDExtractorAvp::getAvp |
( |
| ) |
|
|
inline |
Retrieves the underlying freeDiameter AVP pointer.
- Returns
- the underlying freeDiameter AVP pointer.
◆ getAvpValue()
union avp_value* FDExtractorAvp::getAvpValue |
( |
| ) |
|
|
inline |
Retrieves the underlying freeDiameter AVP value pointer.
- Returns
- the underlying freeDiameter AVP value pointer.
◆ getExtractorType()
Retrieves the extractor type.
- Returns
- the extractor type.
Implements FDExtractorBase.
◆ getJson()
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.
◆ setAvp()
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/include/epc/efd.h
- /home/vagrant/share/code/epctools/src/efd.cpp