#include <Unsigned64.hpp>
|
std::string | assertPrintable (const char *buffer, const int size) const noexcept(false) |
|
Diameter Unsigned64 container
◆ ~Unsigned64()
virtual anna::diameter::codec::basetypes::Unsigned64::~Unsigned64 |
( |
| ) |
|
|
inlinevirtual |
◆ asPrintableString()
std::string anna::diameter::codec::basetypes::Unsigned64::asPrintableString |
( |
| ) |
|
|
inlinevirtualnoexcept |
Gets the natural/smart string representation for avp data (format-dependent content) Used in diameter message 'data' field Default implementation launch exception when data is not printable
- Returns
- Natural/smart string representation for avp data
Reimplemented from anna::diameter::codec::basetypes::AvpData.
static std::string asString(const int number)
uint64_t U64
Definition: defines.hpp:81
◆ asString()
std::string anna::diameter::codec::basetypes::Unsigned64::asString |
( |
void |
| ) |
|
|
inlinevirtualnoexcept |
Class string representation Default implementation invokes raw DataBlock 'asString' method, but it should be different specially with complex application data types.
- Returns
- String with class content
Reimplemented from anna::diameter::codec::basetypes::AvpData.
std::string asPrintableString() noexcept(false)
Definition: Unsigned64.hpp:72
◆ decode()
void anna::diameter::codec::basetypes::Unsigned64::decode |
( |
const char * |
buffer, |
|
|
const int |
size |
|
) |
| |
|
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.
- Parameters
-
buffer | Raw avp data |
size | Raw avp data length |
Implements anna::diameter::codec::basetypes::AvpData.
◆ getFormatName()
virtual std::string anna::diameter::codec::basetypes::Unsigned64::getFormatName |
( |
| ) |
const |
|
inlinevirtual |
◆ getSize()
virtual int anna::diameter::codec::basetypes::Unsigned64::getSize |
( |
| ) |
const |
|
inlinevirtual |
◆ getValue()
const U64& anna::diameter::codec::basetypes::Unsigned64::getValue |
( |
| ) |
const |
|
inline |
◆ setValue()
void anna::diameter::codec::basetypes::Unsigned64::setValue |
( |
const U64 & |
value | ) |
|
|
inline |
The documentation for this class was generated from the following file: