18namespace LinguisticProcessing
59 m_out->write(buf,length);
defines callback interface
void writeHeader(std::ostream &file, BoWFileType type) const
void write(std::ostream &file) const
void startNode(const std::string &elementName, bool forIndexing) override
notify the start of a new hierarchyNode
void startDocument(const Common::Misc::GenericDocumentProperties &props) override
notify the start of a new document
void endAnalysis() override
notify the end of an analysis content
void startAnalysis() override
notify the start of an analysis content
void endDocument() override
notify the end of the document
void endNode(const Common::Misc::GenericDocumentProperties &props) override
notify the end of a hierarchyNode
void handle(const char *buf, int length) override
gives content.
virtual ~BowDocumentWriter()
BowDocumentWriter(std::ostream *out)
@ DOCUMENT_PROPERTIES_BLOC
void writeOneByteInt(std::ostream &file, const uint8_t number)
write a integer coded on one byte format in a file