1 #ifndef SYNCHRONIZABLE_CLASS
2 #define SYNCHRONIZABLE_CLASS
58 OKAY = basis::common::OKAY,
60 EMPTY = basis::common::IS_EMPTY
79 virtual clonable *
clone()
const = 0;
Provides a dynamically resizable ASCII character string.
A very common template for a dynamic array of bytes.
Outcomes describe the state of completion for an operation.
An infoton is an individual request parcel with accompanying information.
infoton(const structures::string_array &classifier)
creates an infoton with the "classifier".
An array of strings with some additional helpful methods.
Encapsulates all of the attributes known for an object.
virtual void pack(basis::byte_array &packed_form) const =0
stuffs the data in the infoton into the "packed_form".
bool unpack_mod(basis::byte_array &packed_form)
synchronizable(const structures::string_array &object_id)
void pack_mod(basis::byte_array &packed_form) const
virtual bool unpack(basis::byte_array &packed_form)=0
restores an infoton from a packed form.
virtual basis::astring text_form() const =0
local version just makes text_form() more functional.
virtual clonable * clone() const =0
must be provided to allow creation of a copy of this object.
timely::time_stamp _updated
virtual int packed_size() const =0
reports how large the infoton will be when packed.
virtual basis::outcome merge(const synchronizable &to_merge)=0
int packed_mod_size() const
returns the size of the packed modifier.
Represents a point in time relative to the operating system startup time.
void attach(byte_array &packed_form, const byte_array &to_attach)
Packs a byte_array "to_attach" into "packed_form".
bool detach(byte_array &packed_form, byte_array &to_detach)
Unpacks a byte_array "to_detach" from "packed_form".