ANNA Suite
2020b
Multipurpose development suite for Telco applications
|
#include <DiameterURI.hpp>
Public Member Functions | |
virtual | ~DiameterURI () |
std::string | getFormatName () const |
void | decode (const char *buffer, const int size) noexcept(false) |
![]() | |
virtual | ~OctetString () |
const std::string & | getValue () const |
void | setValue (const std::string &value) |
virtual int | getSize () const |
void | decode (const char *buffer, const int size) noexcept(false) |
![]() | |
AvpData () | |
void | code (char *buffer, int &size) noexcept(false) |
virtual std::string | asPrintableString () noexcept(false) |
std::string | asDataBlockString () noexcept(false) |
virtual std::string | asString () noexcept(false) |
std::string | asHexString () noexcept(false) |
void | fromPrintableString (const char *printableString) noexcept(false) |
void | fromHexString (const std::string &hexString) noexcept(false) |
Additional Inherited Members | |
![]() | |
void | assertPrintable () const noexcept(false) |
![]() | |
std::string | assertPrintable (const char *buffer, const int size) const noexcept(false) |
Diameter DiameterURI container
|
virtualnoexcept |
Decodes provided buffer/size
Derived types must invoke base class 'decode()' at the end in order to keep coherence with parent members. This base class decodification actually sets the base class members with the same buffer provided, being more comfortable than using base class setters.
buffer | Raw avp data |
size | Raw avp data length |
Implements anna::diameter::codec::basetypes::AvpData.
|
inlinevirtual |
Gets the avp data format name
Reimplemented from anna::diameter::codec::basetypes::OctetString.