![]() |
LIMA
Libre Multilingual Analyzer — C++ API
|
#include <common/Data/DataTypes.h>
Public Member Functions | |
| Structure () | |
| Structure (const Structure &s) | |
| Structure (STRUCT_ID structID) | |
| Structure & | operator= (const Structure &s) |
| ~Structure () | |
| destructeur: delete des 'Nodes' de contenu | |
| void | addNode (const Node &node) |
| void | addNode (CONTENT_ID ContentId, const Node &node) |
| Node * | getNode (CONTENT_ID ContentId) |
| get a content node, given its identifiers | |
| const Node * | getNode (CONTENT_ID ContentId) const |
| Node * | getFirstNode (STRUCT_ID) |
| get a content node, given its identifiers | |
| const Node * | getFirstNode (STRUCT_ID) const |
| const std::map< CONTENT_ID, Node > & | getNodes () const |
| get all nodes of the current structure | |
| std::map< CONTENT_ID, Node > & | getNodes () |
| STRUCT_ID | getStructId () const |
| void | setStructId (STRUCT_ID structId) |
Definition at line 138 of file DataTypes.h.
| Lima::Structure::Structure | ( | ) |
Definition at line 332 of file DataTypes.cpp.
| Lima::Structure::Structure | ( | const Structure & | s | ) |
Definition at line 341 of file DataTypes.cpp.
| Lima::Structure::Structure | ( | STRUCT_ID | structID | ) |
Definition at line 336 of file DataTypes.cpp.
| Lima::Structure::~Structure | ( | ) |
destructeur: delete des 'Nodes' de contenu
Definition at line 360 of file DataTypes.cpp.
| void Lima::Structure::addNode | ( | const Node & | node | ) |
Definition at line 365 of file DataTypes.cpp.
| void Lima::Structure::addNode | ( | CONTENT_ID | ContentId, |
| const Node & | node | ||
| ) |
Definition at line 370 of file DataTypes.cpp.
get a content node, given its identifiers
Definition at line 404 of file DataTypes.cpp.
Definition at line 418 of file DataTypes.cpp.
| Node * Lima::Structure::getNode | ( | CONTENT_ID | ContentId | ) |
get a content node, given its identifiers
| ContentId | content identifier (different for each type) |
Definition at line 375 of file DataTypes.cpp.
| const Node * Lima::Structure::getNode | ( | CONTENT_ID | ContentId | ) | const |
Definition at line 382 of file DataTypes.cpp.
| map< CONTENT_ID, Node > & Lima::Structure::getNodes | ( | ) |
Definition at line 394 of file DataTypes.cpp.
| const map< CONTENT_ID, Node > & Lima::Structure::getNodes | ( | ) | const |
get all nodes of the current structure
Definition at line 389 of file DataTypes.cpp.
| STRUCT_ID Lima::Structure::getStructId | ( | ) | const |
Definition at line 399 of file DataTypes.cpp.
Definition at line 346 of file DataTypes.cpp.
| void Lima::Structure::setStructId | ( | STRUCT_ID | structId | ) |
Definition at line 480 of file DataTypes.cpp.