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
GenericData(GenericData *defaults=NULL)
Construct a GenericData class definition.
Definition: Generic.h:42
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
virtual GenericData * getDefaultObject()
Get the reference object that contains the default values for attributes of instances of the same cla...
Base operation for all operators.
Definition: RootOperation.h:40
Base operation for all operators.
Definition: Generic.h:38
virtual bool instanceOf(int classNo) const
Is this instance of some class?
virtual void iterate(int ¤t_class, std::string &attr) const
Iterate over the attributes of this instance.
The Atlas namespace.
Definition: Bridge.h:20
void setType(const std::string &, int)
Set the type of this object.
virtual ~GenericData()
Default destructor.
static GenericData * getDefaultObjectInstance()
Get the reference object that contains the default values for attributes of instances of this class.
virtual GenericData * copy() const
Copy this object.
Copyright 2000-2004 the respective authors.
This document can be licensed under the terms of the GNU Free Documentation
License or the GNU General Public License and may be freely distributed under
the terms given by one of these licenses.