1 #ifndef IDENTITY_INFOTON_CLASS
2 #define IDENTITY_INFOTON_CLASS
54 virtual clonable *
clone()
const;
Defines the base class for all string processing objects in hoople.
A very common template for a dynamic array of bytes.
Encapsulates just the action of identifying an octopus user.
virtual clonable * clone() const
must be provided to allow creation of a copy of this object.
static const structures::string_array & identity_classifier()
returns the classifier for this type of infoton.
identity_infoton & operator=(const identity_infoton &to_copy)
virtual ~identity_infoton()
virtual bool unpack(basis::byte_array &packed_form)
restores an infoton from a packed form.
virtual void pack(basis::byte_array &packed_form) const
stuffs the data in the infoton into the "packed_form".
virtual int packed_size() const
reports how large the infoton will be when packed.
DEFINE_CLASS_NAME("identity_infoton")
An infoton is an individual request parcel with accompanying information.
virtual basis::astring text_form() const
local version just makes text_form() more functional.
Provides a way of identifying users of an octopus object.
An array of strings with some additional helpful methods.