34 #ifndef INCLUDE_OLA_NETWORK_IPV4ADDRESS_H_
35 #define INCLUDE_OLA_NETWORK_IPV4ADDRESS_H_
82 : m_address(other.m_address) {
91 m_address = other.m_address;
102 return m_address == other.m_address;
111 return !(*
this == other);
120 return m_address < other.m_address;
129 return m_address > other.m_address;
136 uint32_t
AsInt()
const {
return m_address; }
150 void Get(uint8_t ptr[LENGTH]) {
151 memcpy(ptr, reinterpret_cast<uint8_t*>(&m_address), LENGTH);
230 #endif // INCLUDE_OLA_NETWORK_IPV4ADDRESS_H_