9namespace Arp {
namespace System {
namespace Commons {
namespace Net
46 String ToString(
void)
const;
53 static
bool IsLocalhostString(const
String& input);
59 static const
char* localhostString1;
60 static const
char* localhostString2;
61 static const
char* localhostString3;
62 static const
char* localhostAddress;
70template<> struct
fmt::formatter<
Arp::System::Commons::Net::
IpAddress>: public
fmt::ostream_formatter {};
This class represents the Arp String. The implementation is based on std::string.
Definition: String.hpp:39
Unified representation for ip address schemes.
Definition: IpAddress.hpp:14
IpAddress & operator=(const IpAddress &arg)=default
Assignment operator.
~IpAddress(void)=default
Destructs this instance and frees all resources.
static bool TryParse(const String &input, IpAddress &result)
Tries to parse an address from string based representation.
Definition: IpAddress.cpp:110
static IpAddress Parse(const String &input)
Parses an ip address from string bases representation, e.g. "127.0.0.1".
Definition: IpAddress.cpp:95
IpV4Value GetIpv4Value(void) const
Returns the ip address in IPv4 address scheme.
Definition: IpAddress.cpp:40
IpV4Value GetNetworkValue(void) const
Gets the IP value in network endianess (big endian).
Definition: IpAddress.cpp:63
IpAddress(void)=default
Constructs an IpAddress instance.
IpAddress(const IpAddress &arg)=default
Copy constructor.
uint32 IpV4Value
Value-type-definition for ip addresses using version 4 scheme.
Definition: IpAddress.hpp:17
bool IsEmpty(void) const
Determines if this instance is empty, e.g. the address value is zero.
Definition: IpAddress.cpp:32
IpV4Value GetHostValue(void) const
Gets the IP value in host endianess.
Definition: IpAddress.cpp:48
std::uint32_t uint32
The Arp unsigned integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:33
Root namespace for the PLCnext API
class ARP_DEPRECATED("Use Arp::Enum<T> instead.") EnumStrings
Deprecated! The class implements an adapter for enums to define the string literals of the enum entri...
Definition: EnumStrings.hxx:38
Namespace of fmtlib.
Definition: BasicFormatter.hxx:107
Namespace of the C++ standard library