1#ifndef OPENXLSX_XLXMLDATA_HPP
2#define OPENXLSX_XLXMLDATA_HPP
6# pragma warning(disable : 4251)
7# pragma warning(disable : 4275)
15#include "OpenXLSX-Exports.hpp"
50 const std::string& xmlPath,
51 const std::string& xmlId =
"",
65 bool valid()
const {
return m_xmlDoc !=
nullptr; }
101 void setRawData(
const std::string& data);
128 std::string getXmlPath()
const;
134 std::string getXmlID()
const;
164 std::string m_xmlPath{};
165 std::string m_xmlID{};
167 mutable std::unique_ptr<XMLDocument> m_xmlDoc;
169 bool m_isStreamed{
false};
Definition XLXmlParser.hpp:241
This class encapsulates the concept of an excel file. It is different from the XLWorkbook,...
Definition XLDocument.hpp:82
The XLXmlData class encapsulates the properties and behaviour of the .xml files in an ....
Definition XLXmlData.hpp:29
bool valid() const
check whether class is linked to a valid XML document
Definition XLXmlData.hpp:65
XLXmlData(XLXmlData &&other) noexcept=default
Move constructor. All data members are trivially movable. Hence an explicitly defaulted move construc...
std::string m_streamFilePath
Definition XLXmlData.hpp:170
XLXmlData & operator=(XLXmlData &&other) noexcept=default
Move assignment operator. All data members are trivially movable. Hence an explicitly defaulted move ...
XLXmlData(const XLXmlData &other)=delete
Copy constructor. The m_xmlDoc data member is a XMLDocument object, which is non-copyable....
XLXmlData & operator=(const XLXmlData &other)=delete
Copy assignment operator. The m_xmlDoc data member is a XMLDocument object, which is non-copyable....
bool empty() const
Test whether there is an XML file linked to this object.
XLXmlData()=default
Default constructor. All member variables are default constructed. Except for the raw XML data,...
~XLXmlData()
Default destructor. The XLXmlData does not manage any dynamically allocated resources,...
The XLXmlSavingDeclaration class encapsulates the properties of an XML saving declaration,...
Definition XLXmlSavingDeclaration.hpp:19
Definition IZipArchive.hpp:18
XLContentType
Definition XLContentTypes.hpp:28