#include <Integer64.hpp>
|
std::string | assertPrintable (const char *buffer, const int size) const noexcept(false) |
|
Diameter Integer64 container
◆ ~Integer64()
virtual anna::diameter::codec::basetypes::Integer64::~Integer64 |
( |
| ) |
|
|
inlinevirtual |
◆ asPrintableString()
std::string anna::diameter::codec::basetypes::Integer64::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.
int64_t S64
Definition: defines.hpp:84
static std::string asString(const int number)
◆ asString()
std::string anna::diameter::codec::basetypes::Integer64::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: Integer64.hpp:72
◆ decode()
void anna::diameter::codec::basetypes::Integer64::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::Integer64::getFormatName |
( |
| ) |
const |
|
inlinevirtual |
◆ getSize()
virtual int anna::diameter::codec::basetypes::Integer64::getSize |
( |
| ) |
const |
|
inlinevirtual |
◆ getValue()
const S64& anna::diameter::codec::basetypes::Integer64::getValue |
( |
| ) |
const |
|
inline |
◆ setValue()
void anna::diameter::codec::basetypes::Integer64::setValue |
( |
const S64 & |
value | ) |
|
|
inline |
The documentation for this class was generated from the following file: