8 #ifndef ATLAS_OBJECTS_OPERATION_GENERIC_H 9 #define ATLAS_OBJECTS_OPERATION_GENERIC_H 11 #include <Atlas/Objects/RootOperation.h> 12 #include <Atlas/Objects/SmartPtr.h> 14 namespace Atlas {
namespace Objects {
namespace Operation {
27 typedef SmartPtr<GenericData> Generic;
29 static const int GENERIC_NO = 43;
46 m_class_no = GENERIC_NO;
53 static constexpr
const char* super_parent =
"root_operation";
55 static constexpr
const char* default_parent =
"generic";
57 static constexpr
const char* default_objtype =
"op";
59 void setType(
const std::string &,
int);
70 friend class ::Atlas::Objects::Allocator;
75 void reset()
override;
80 static void fillDefaultObjectInstance(
GenericData& data, std::map<std::string, uint32_t>& attr_data);
85 #endif // ATLAS_OBJECTS_OPERATION_GENERIC_H GenericData * copy() const override
Copy this object.
GenericData(GenericData *defaults=nullptr)
Construct a GenericData class definition.
~GenericData() override=default
Default destructor.
Base operation for all operators.
void free() override
Free an instance of this class, returning it to the memory pool.
Base operation for all operators.
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?
void setType(const std::string &, int)
Set the type of this object.