9 #ifndef anna_diameter_codec_basetypes_Address_hpp 10 #define anna_diameter_codec_basetypes_Address_hpp 70 bool a_abbreviatePresentation;
74 void updateBasic() noexcept(
false);
76 void setPrintableString(
const char * printableString) noexcept(
false);
84 Address() : a_abbreviatePresentation(true) {};
140 void decode(
const char* buffer,
const int size) noexcept(
false);
virtual int getSize() const =0
std::string asString() const
Definition: defines.hpp:480
Definition: Address.hpp:67
const iana_address_t & getIANAAddress() const
Definition: Address.hpp:107
Address()
Definition: Address.hpp:84
void setIANAAddress(const iana_address_t &address) noexcept(false)
Definition: Address.hpp:114
void fromPrintableString(const char *printableString) noexcept(false)
Definition: AvpData.hpp:224
std::string getFormatName() const
Definition: Address.hpp:121
Definition: OctetString.hpp:30
virtual ~Address()
Definition: Address.hpp:89
std::string asDataBlockString() noexcept(false)
Definition: AvpData.hpp:171
void setAbbreviatePresentation(bool abb)
Definition: Address.hpp:96
std::string asHexString() noexcept(false)
Definition: AvpData.hpp:196
virtual std::string asString() noexcept(false)
Definition: AvpData.hpp:186
std::string asString() noexcept(false)
Definition: Address.hpp:135
void code(char *buffer, int &size) noexcept(false)
Definition: AvpData.hpp:147
std::string asPrintableString() noexcept(false)
Definition: defines.hpp:440
void decode(const char *buffer, const int size) noexcept(false)
void fromHexString(const std::string &hexString) noexcept(false)
Definition: AvpData.hpp:240