29StructureHandlerPrivate::StructureHandlerPrivate(): m_structures(), m_lastStructureId(0), m_lastContentId(0)
34 m_structures(shp.m_structures),
35 m_lastStructureId(shp.m_lastStructureId),
36 m_lastContentId(shp.m_lastContentId)
40StructureHandlerPrivate::~StructureHandlerPrivate()
60 m_d->m_structures=*structures;
66 return &m_d->m_structures;
72 return m_d->m_structures.
getNode (CID);
77 m_d->m_structures.
addNode (node);
83 return m_d->m_lastStructureId;
87 m_d->m_lastStructureId=SID;
91 return m_d->m_lastContentId;
95 m_d->m_lastContentId = CID;
100 m_d->m_lastStructureId = 0;
101 m_d->m_lastContentId = 0;
103 m_d->m_structures.
getNodes().end());
noeud de contenu au sein d'une structure.
virtual ~StructureHandler()
void add_Node(const Node &node)
STRUCT_ID get_LastStructureId()
Accesseur de lastStructureId.
void set_Structures(Structure *structures)
Insérer une structure dans le handler.
Node * get_Node(CONTENT_ID)
Récupérer un noeud du handler.
CONTENT_ID get_LastContentId()
void set_LastContentId(CONTENT_ID)
void set_LastStructureId(STRUCT_ID)
Structure * get_Structures()
Récupérer toutes les structures du handler.
Node * getNode(CONTENT_ID ContentId)
get a content node, given its identifiers
void addNode(const Node &node)
const std::map< CONTENT_ID, Node > & getNodes() const
get all nodes of the current structure
uint64_t CONTENT_ID
Identifier of an feature content.
uint64_t STRUCT_ID
Identifier of a structure in the structure index.