ANNA Suite
2020b
Multipurpose development suite for Telco applications
|
#include <defines.hpp>
Public Member Functions | |
const U16 & | getVersion () const |
const char * | getValue () const |
bool | isIPv4 () const |
bool | isIPv6 () const |
bool | isE164 () const |
void | setIPv4 (const char *value) |
void | setIPv6 (const char *value) |
void | setE164 (const char *value) |
std::string | asString () const |
Public Attributes | |
U16 | Version |
std::string | Value |
Struct for IANA Addresses
|
inline |
Class string representation
|
inline |
Gets the address printable value
|
inline |
Gets the address version
|
inline |
Return true when is an E164 (SMDS, Frame Relay, ATM) address
|
inline |
Return true when is an IPv4 address
|
inline |
Return true when is an IPv6 address
|
inline |
Sets version for E164 address and address itself. Checking is not performed ...
|
inline |
Sets version for IPv4 address and address itself. Checking is not performed (could assign IPv6 instead ...)
|
inline |
Sets version for IPv6 address and address itself. Checking is not performed (could assign IPv4 instead ...)
std::string anna::iana_address_t::Value |
address printable value. No checkings are done regarding specific version (application responsability)
U16 anna::iana_address_t::Version |
address version