Document.hpp
Go to the documentation of this file.
106 void createError(const std::string& _data, int32_t _pos, const exml::FilePos& _filePos, const std::string& _comment);
void setDisplayError(bool _value)
Set the display of the error when detected.
all the file main access
ememory::SharedPtr< exml::internal::Document > toDocument() override
Cast the element in a Document if it is possible.
Definition: Document.hpp:112
static ememory::SharedPtr< exml::internal::Document > create()
Factory on a document.
bool iGenerate(std::string &_data, int32_t _indent) const override
generate a string with the tree of the xml
const ememory::SharedPtr< exml::internal::Document > toDocument() const override
Cast the element in a Document if it is possible.
Definition: Document.hpp:115
enum nodeType getType() const override
get the node type.
Definition: Document.hpp:108
virtual void setCaseSensitive(bool _val)
Enable or diasable the case sensitive (must be done before the call of parsing)
Definition: Document.hpp:35
virtual bool getCaseSensitive() const
get the status of case sensitive mode.
Definition: Document.hpp:42
bool generate(std::string &_data)
generate a string that contain the created XML
bool load(const std::string &_file)
Load the file that might contain the xml.
void createError(const std::string &_data, int32_t _pos, const exml::FilePos &_filePos, const std::string &_comment)
Create an error in the parsing (call by the syetm for error management)
bool parse(const std::string &_data)
parse a string that contain an XML