![]() |
LIMA
Libre Multilingual Analyzer — C++ API
|
noeud de contenu au sein d'une structure. More...
#include <common/Data/DataTypes.h>
Public Member Functions | |
| Node () | |
| default constructor | |
| virtual | ~Node () |
| default destructor | |
| Node (const Node &n) | |
| copy constructor | |
| Node & | operator= (const Node &n) |
| Node (const std::string &docName, STRUCT_ID structId, NODE_ID nodeId, CONTENT_ID contentId, int indexid, std::string uri, std::string nodeMedia, std::string nodeType, std::string descrId, TOPO_POS nodeStart, TOPO_POS nodeEnd, TOPO_POS nodeLength, NODE_ID nodeParent) | |
| main constructor | |
| std::string | get_DocName () const |
| void | set_DocName (const std::string &docName) |
| STRUCT_ID | get_StructId () const |
| void | set_StructId (STRUCT_ID structId) |
| NODE_ID | get_NodeId () const |
| void | set_NodeId (NODE_ID NodeId) |
| CONTENT_ID | get_ContentId () const |
| void | set_ContentId (CONTENT_ID ContentId) |
| const std::string & | nodeType () const |
| int32_t | indexId () const |
| void | indexId (int32_t id) |
| const std::string & | descrId () const |
| TOPO_POS | nodeStart () const |
| void | nodeStart (TOPO_POS ns) |
| TOPO_POS | nodeEnd () const |
| void | nodeEnd (TOPO_POS ns) |
| TOPO_POS | nodeLength () const |
| void | nodeLength (TOPO_POS ns) |
| NODE_ID | nodeParent () const |
| void | nodeParent (NODE_ID np) |
| const std::string & | uri () const |
| const std::string & | nodeMedia () const |
noeud de contenu au sein d'une structure.
Un noeud de contenu est caractérisé par trois identifiants au sein de la structure (structId,nodeId,contentId) ainsi que par le type de contenu (descrId). Il existe aussi un identifiant au sein de la base de contenu correspondante (contentId dans la base SQL) qui n'est pas dans la classe Node
Definition at line 61 of file DataTypes.h.
| Lima::Node::Node | ( | ) |
default constructor
Definition at line 128 of file DataTypes.cpp.
|
virtual |
default destructor
Definition at line 129 of file DataTypes.cpp.
| Lima::Node::Node | ( | const Node & | n | ) |
copy constructor
Definition at line 130 of file DataTypes.cpp.
| Lima::Node::Node | ( | const std::string & | docName, |
| STRUCT_ID | structId, | ||
| NODE_ID | nodeId, | ||
| CONTENT_ID | contentId, | ||
| int | indexid, | ||
| std::string | uri, | ||
| std::string | nodeMedia, | ||
| std::string | nodeType, | ||
| std::string | descrId, | ||
| TOPO_POS | nodeStart, | ||
| TOPO_POS | nodeEnd, | ||
| TOPO_POS | nodeLength, | ||
| NODE_ID | nodeParent | ||
| ) |
main constructor
| docName | |
| structId | |
| nodeId | |
| contentId | |
| indexid | |
| uri | |
| nodeMedia | |
| nodeType | |
| descrId | |
| nodeStart | |
| nodeEnd | |
| nodeLength | |
| nodeParent |
Definition at line 145 of file DataTypes.cpp.
| const std::string & Lima::Node::descrId | ( | ) | const |
Definition at line 217 of file DataTypes.cpp.
| CONTENT_ID Lima::Node::get_ContentId | ( | ) | const |
Definition at line 198 of file DataTypes.cpp.
| std::string Lima::Node::get_DocName | ( | ) | const |
Definition at line 174 of file DataTypes.cpp.
| NODE_ID Lima::Node::get_NodeId | ( | ) | const |
Definition at line 190 of file DataTypes.cpp.
| STRUCT_ID Lima::Node::get_StructId | ( | ) | const |
Definition at line 182 of file DataTypes.cpp.
| int32_t Lima::Node::indexId | ( | ) | const |
Definition at line 207 of file DataTypes.cpp.
| void Lima::Node::indexId | ( | int32_t | id | ) |
Definition at line 212 of file DataTypes.cpp.
| TOPO_POS Lima::Node::nodeEnd | ( | ) | const |
Definition at line 232 of file DataTypes.cpp.
| void Lima::Node::nodeEnd | ( | TOPO_POS | ns | ) |
Definition at line 264 of file DataTypes.cpp.
| TOPO_POS Lima::Node::nodeLength | ( | ) | const |
Definition at line 238 of file DataTypes.cpp.
| void Lima::Node::nodeLength | ( | TOPO_POS | ns | ) |
Definition at line 269 of file DataTypes.cpp.
| const std::string & Lima::Node::nodeMedia | ( | ) | const |
Definition at line 254 of file DataTypes.cpp.
| NODE_ID Lima::Node::nodeParent | ( | ) | const |
Definition at line 244 of file DataTypes.cpp.
| void Lima::Node::nodeParent | ( | NODE_ID | np | ) |
Definition at line 274 of file DataTypes.cpp.
| TOPO_POS Lima::Node::nodeStart | ( | ) | const |
Definition at line 227 of file DataTypes.cpp.
| void Lima::Node::nodeStart | ( | TOPO_POS | ns | ) |
Definition at line 259 of file DataTypes.cpp.
| const std::string & Lima::Node::nodeType | ( | ) | const |
Definition at line 222 of file DataTypes.cpp.
Definition at line 132 of file DataTypes.cpp.
| void Lima::Node::set_ContentId | ( | CONTENT_ID | ContentId | ) |
Definition at line 202 of file DataTypes.cpp.
| void Lima::Node::set_DocName | ( | const std::string & | docName | ) |
Definition at line 178 of file DataTypes.cpp.
| void Lima::Node::set_NodeId | ( | NODE_ID | NodeId | ) |
Definition at line 194 of file DataTypes.cpp.
| void Lima::Node::set_StructId | ( | STRUCT_ID | structId | ) |
Definition at line 186 of file DataTypes.cpp.
| const std::string & Lima::Node::uri | ( | ) | const |
Definition at line 249 of file DataTypes.cpp.