///////////////////////////////////////////////////////////////////////////// // Name: element.h // Author: Laurent Pugin // Created: 2014 // Copyright (c) Authors and others. All rights reserved. ///////////////////////////////////////////////////////////////////////////// #ifndef __VRV_ELEMENT_H__ #define __VRV_ELEMENT_H__ #include "atts_shared.h" #include "layerelement.h" namespace vrv { class ChildElement; //---------------------------------------------------------------------------- // Element //---------------------------------------------------------------------------- class Element : public LayerElement, public AttNNumberLike { public: /** * @name Constructors, destructors, and other standard methods * Reset method reset all attribute classes */ ///@{ Element(); virtual ~Element(); virtual void Reset(); virtual std::string GetClassName() const { return "Element"; }; virtual ClassId GetClassId() const { return ELEMENT; }; ///@} /** * Add an element to a element. */ virtual void AddChild(Object *object); protected: // private: // public: // private: // }; } // namespace vrv #endif