7 #ifndef ATLAS_OBJECTS_OPERATION_GENERIC_H 8 #define ATLAS_OBJECTS_OPERATION_GENERIC_H 10 #include <Atlas/Objects/RootOperation.h> 11 #include <Atlas/Objects/SmartPtr.h> 13 namespace Atlas {
namespace Objects {
namespace Operation {
26 typedef SmartPtr<GenericData> Generic;
28 static const int GENERIC_NO = 41;
45 m_class_no = GENERIC_NO;
52 void setType(
const std::string &,
int);
61 virtual void iterate(
int& current_class, std::string& attr)
const 87 #endif // ATLAS_OBJECTS_OPERATION_GENERIC_H Base operation for all operators.
Definition: RootOperation.h:40
void setType(const std::string &, int)
Set the type of this object.
virtual bool instanceOf(int classNo) const
Is this instance of some class?
GenericData(GenericData *defaults=NULL)
Construct a GenericData class definition.
Definition: Generic.h:42
Base operation for all operators.
Definition: Generic.h:38
virtual void iterate(int ¤t_class, std::string &attr) const
Iterate over the attributes of this instance.
The Atlas namespace.
Definition: Bridge.h:20
virtual ~GenericData()
Default destructor.
virtual GenericData * getDefaultObject()
Get the reference object that contains the default values for attributes of instances of the same cla...
virtual GenericData * copy() const
Copy this object.
static GenericData * getDefaultObjectInstance()
Get the reference object that contains the default values for attributes of instances of this class...
virtual void free()
Free an instance of this class, returning it to the memory pool.
virtual void iterate(int ¤t_class, std::string &attr) const
Iterate over the attributes of this instance.
Definition: Generic.h:61