35#ifndef ANAQT_HIERARCHY_HIERARCHY_H
36#define ANAQT_HIERARCHY_HIERARCHY_H
42#include <graph/tree/tree.h>
61 std::vector<std::pair<AObject *, bool> > &,
72 virtual bool save(
const std::string & filename );
76 const std::list<Tree*>**
parents = 0 )
const;
94 static PrivateStatic *staticStruct();
96 const std::string& propertyName,
100 static int registerClass();
101 static int _classType;
AObject(const std::string &filename="")
ParentList & parents()
List of multi-objects containing this one.
std::string name() const
Name shown in control window.
carto::rc_ptr< Tree > _tree
virtual bool Is3DObject()
... neither a 3D...
virtual bool save(const std::string &filename)
virtual bool Is2DObject()
not a 2D object
static void namesUnder(Tree *tr, std::set< std::string > &names)
Hierarchy(carto::rc_ptr< Tree > tr)
Tree * findNamedNode(const std::string &name, const std::list< Tree * > **parents=0) const
static Tree * _optionTree
carto::rc_ptr< Tree > tree()
virtual carto::GenericObject * attributed()
virtual Tree * optionTree() const
Menu tree for new options, see object/optionMatcher.h.
virtual void internalUpdate()
Updates the state of the object.
static std::list< AObject * > loadHierarchy(const std::string &filename, std::vector< std::pair< AObject *, bool > > &, carto::Object options)
static Hierarchy * findMatchingNomenclature(const AObject *obj, const AGraph **ag=0)
finds a Hierarchy matching for edition of the given object (which should be a graph or graph element)
PythonAObject AttributedAObject
std::map< std::string, Syntax > SyntaxSet