27 LDEBUG <<
"MultimediaDocumentHandler::MultimediaDocumentHandler" ;
37 LDEBUG <<
"MultimediaDocumentHandler::setOut " << out;
49 LTRACE <<
"MultimediaDocumentHandler::handle writing on" <<
m_out << QString::fromUtf8(buf,length);
52 m_out->write(buf,length);
59 LDEBUG <<
"MultimediaDocumentHandler::startAnalysis()" <<
m_out;
68 LDEBUG <<
"MultimediaDocumentHandler::startAnalysis(bloc_type) write BLOC " << bloc_type;
71 if (bloc_type.compare(
"lpFactory")==0)
73 else if(bloc_type.compare(
"ImaFactory")==0)
75 else if(bloc_type.compare(
"VideoFactory")==0)
95 LDEBUG <<
"MultimediaDocumentHandler::startNode" <<
this << elementName << nodeId <<
m_openedNodes.size();
104 Node newNode(
"MULTIMEDIA_DOCUMENT_HANDLER0",
125 LDEBUG <<
"MultimediaDocumentHandler::startNode write INDEXING_BLOC";
132 LDEBUG <<
"MultimediaDocumentHandler::startNode write HIERARCHY_BLOC";
138 LDEBUG <<
"MultimediaDocumentHandler::startNode write element name: " << elementName;
190 LDEBUG <<
"MultimediaDocumentHandler::endNode write NODE_PROPERTIES_BLOC on" <<
m_out;
195 LDEBUG <<
"MultimediaDocumentHandler::endNode write END_BLOC on" <<
m_out;
std::shared_ptr< const ShiftFrom > shiftFrom() const
abstract handler for XML processing : just inherits from different handlers
std::vector< NODE_ID > m_openedNodes
void set_parentlastOpenedNode(NODE_ID nodeId)
NODE_ID get_parentlastOpenedNode() const
void set_lastNodeId(NODE_ID NID)
std::string get_lastUri() const
NODE_ID get_lastNodeId() const
std::vector< NODE_ID >::iterator m_lastOpenedNode
void writeHeader(std::ostream &file, BoWFileType type) const
std::pair< uint64_t, bool > getIntValue(std::string propName) const
Read access functions for "only once valued" property propName.
void write(std::ostream &file) const
void addContent(CONTENT_ID ContentId, Content datas)
Ajouter un contenu au handler.
noeud de contenu au sein d'une structure.
TOPO_POS nodeStart() const
TOPO_POS nodeLength() const
void add_Node(const Node &node)
STRUCT_ID get_LastStructureId()
Accesseur de lastStructureId.
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)
void writeOneByteInt(std::ostream &file, const uint8_t number)
write a integer coded on one byte format in a file
void writeStringField(ostream &file, const string &s)
uint64_t CONTENT_ID
Identifier of an feature content.
uint64_t NODE_ID
Identifier of a node in a document.