Declaration.hpp
Go to the documentation of this file.
37 bool iParse(const std::string& _data, int32_t& _pos, bool _caseSensitive, exml::FilePos& _filePos, exml::internal::Document& _doc) override;
56 DeclarationXML(const std::string& _version, const std::string& _format = "UTF-8", bool _standalone = true);
65 static ememory::SharedPtr<DeclarationXML> create(const std::string& _version, const std::string& _format = "UTF-8", bool _standalone = true);
bool iParse(const std::string &_data, int32_t &_pos, bool _caseSensitive, exml::FilePos &_filePos, exml::internal::Document &_doc) override
parse the Current node [pure VIRUAL]
bool iGenerate(std::string &_data, int32_t _indent) const override
generate a string with the tree of the xml
List of all attribute element in a node.
Definition: AttributeList.hpp:18
ememory::SharedPtr< exml::internal::Declaration > toDeclaration() override
Cast the element in a Declaration if it is possible.
Definition: Declaration.hpp:38
enum nodeType getType() const override
get the node type.
Definition: Declaration.hpp:33
Declaration(const std::string &_name="")
Constructor.
Definition: Declaration.hpp:21
<?xml ... ?>
const ememory::SharedPtr< exml::internal::Declaration > toDeclaration() const override
Cast the element in a Declaration if it is possible.
Definition: Declaration.hpp:41
static ememory::SharedPtr< Declaration > create(const std::string &_name="")
Factory to create declaration.