ANNA Suite
2020b
Multipurpose development suite for Telco applications
|
#include <UTF8String.hpp>
Public Member Functions | |
virtual | ~UTF8String () |
std::string | getFormatName () const |
void | decode (const char *buffer, const int size) noexcept(false) |
Public Member Functions inherited from anna::diameter::codec::basetypes::OctetString | |
virtual | ~OctetString () |
const std::string & | getValue () const |
void | setValue (const std::string &value) |
virtual int | getSize () const |
Public Member Functions inherited from anna::diameter::codec::basetypes::AvpData | |
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 | |
Protected Member Functions inherited from anna::diameter::codec::basetypes::OctetString | |
void | assertPrintable () const noexcept(false) |
Protected Member Functions inherited from anna::diameter::codec::basetypes::AvpData | |
std::string | assertPrintable (const char *buffer, const int size) const noexcept(false) |
Diameter UTF8String 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 |
Reimplemented from anna::diameter::codec::basetypes::OctetString.
|
inlinevirtual |
Gets the avp data format name
Reimplemented from anna::diameter::codec::basetypes::OctetString.
Reimplemented in anna::diameter::helpers::tid::codectypes::Date.