8#include <Atlas/Objects/Generic.h>
11using Atlas::Message::MapType;
13namespace Atlas {
namespace Objects {
namespace Operation {
15Allocator<GenericData> GenericData::allocator;
39 return copyInstance<GenericData>(*
this);
44 if(GENERIC_NO == classNo)
return true;
48void GenericData::fillDefaultObjectInstance(
GenericData& data, std::map<std::string, uint32_t>& attr_data)
Base operation for all operators.
bool instanceOf(int classNo) const override
Is this instance of some class?
void setType(const std::string &, int)
Set the type of this object.
void free() override
Free an instance of this class, returning it to the memory pool.
GenericData * copy() const override
Copy this object.
void reset() override
Resets the object as it's returned to the pool.
bool instanceOf(int classNo) const override
Is this instance of some class?
double attr_future_seconds
Time in seconds to add current time.
double attr_seconds
Time in seconds.
void reset() override
Resets the object as it's returned to the pool.
std::int64_t attr_refno
Reference to serial number.
std::int64_t attr_serialno
Serial number.
std::string attr_objtype
What kind of object this is.
void setParent(std::string val)
Set the "parent" attribute.
double attr_stamp
Last time this object was modified.