|
libcosmos
Linux C++ System Programming Library
|
A 16-bit IP port in network byte order. More...
#include <types.hxx>
Inheritance diagram for cosmos::IPPort:Additional Inherited Members | |
Public Types inherited from cosmos::net::EndianNumber< T, endianness > | |
| using | RawInt = typename RawIntTraits<T, endianness>::Int |
Public Member Functions inherited from cosmos::net::EndianNumber< T, endianness > | |
| constexpr | EndianNumber () |
| Construct a zero-initialized integer. | |
| constexpr | EndianNumber (const no_init_t) |
| Leave member undefined e.g. for use with placement new or for performance reasons. | |
| constexpr | EndianNumber (const RawInt rint) |
| Construct the number from a raw integer in the correct byte order. | |
| constexpr | EndianNumber (const T egg) |
| Constructs the number from a native integer that will possibly be converted into the correct byte order. | |
| constexpr | EndianNumber (const EndianNumber< T, EndianTraits< endianness >::other > other) |
| Constructs the number from an EndianNumber of differing Endian type. | |
| void | setFromHost (const T egg) |
| constexpr T | toHost () const |
| operator T () const | |
| RawInt | raw () const |
Static Protected Member Functions inherited from cosmos::net::EndianNumber< T, endianness > | |
| static constexpr T | toTargetEndianness (const T egg) |
Protected Attributes inherited from cosmos::net::EndianNumber< T, endianness > | |
| T | m_egg |