1 #ifndef MACHINE_UID_CLASS
2 #define MACHINE_UID_CLASS
40 class internal_machine_uid_array;
155 internal_machine_uid_array *_uids;
Provides a dynamically resizable ASCII character string.
A very common template for a dynamic array of bytes.
A base class for objects that can pack into an array of bytes.
internet_machine_uid(const basis::astring &hostname, const basis::byte_array &ip_address)
machine_uid_array & operator=(const machine_uid_array &to_copy)
static const machine_uid_array & blank_array()
machine_uid & operator[](int index)
bool operator+=(const machine_uid &to_add)
bool member(const machine_uid &to_test) const
DEFINE_CLASS_NAME("machine_uid_array")
basis::astring text_form() const
virtual int packed_size() const
Estimates the space needed for the packed structure.
virtual bool unpack(basis::byte_array &packed_form)
Restores the packable from the "packed_form".
basis::byte_array native() const
static machine_uid expand(const basis::astring &compacted)
basis::astring text_form() const
known_location_types type() const
const basis::byte_array & raw() const
static const basis::astring & type_name(known_location_types type)
void reset(known_location_types type, const basis::byte_array &address)
virtual void pack(basis::byte_array &packed_form) const
Creates a packed form of the packable object in "packed_form".
machine_uid & operator=(const machine_uid &to_copy)
bool operator==(const machine_uid &to_compare) const
basis::astring compact_form() const
Provides access to the operating system's socket methods.