7 #ifndef ATLAS_OBJECTS_ENTITY_ANONYMOUS_H
8 #define ATLAS_OBJECTS_ENTITY_ANONYMOUS_H
10 #include <Atlas/Objects/RootEntity.h>
11 #include <Atlas/Objects/SmartPtr.h>
13 namespace Atlas {
namespace Objects {
namespace Entity {
24 static const int ANONYMOUS_NO = 40;
37 m_class_no = ANONYMOUS_NO;
44 void setType(
const std::string &,
int);
53 virtual void iterate(
int& current_class, std::string& attr)
const
79 #endif // ATLAS_OBJECTS_ENTITY_ANONYMOUS_H
virtual void free()
Free an instance of this class, returning it to the memory pool.
virtual AnonymousData * getDefaultObject()
Get the reference object that contains the default values for attributes of instances of the same cla...
virtual void iterate(int ¤t_class, std::string &attr) const
Iterate over the attributes of this instance.
virtual AnonymousData * copy() const
Copy this object.
static AnonymousData * getDefaultObjectInstance()
Get the reference object that contains the default values for attributes of instances of this class.
Starting point for entity hierarchy.
Definition: Anonymous.h:30
AnonymousData(AnonymousData *defaults=NULL)
Construct a AnonymousData class definition.
Definition: Anonymous.h:34
virtual ~AnonymousData()
Default destructor.
Starting point for entity hierarchy.
Definition: RootEntity.h:30
virtual void iterate(int ¤t_class, std::string &attr) const
Iterate over the attributes of this instance.
Definition: Anonymous.h:53
void setType(const std::string &, int)
Set the type of this object.
The Atlas namespace.
Definition: Bridge.h:20
virtual bool instanceOf(int classNo) const
Is this instance of some class?
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.