DocumentReader implemented for GuiDocument.xml reading.

This commit is contained in:
AgCaliva
2023-06-16 15:36:17 -03:00
parent 52c55f59a8
commit 5f101af3e9
20 changed files with 1053 additions and 304 deletions

View File

@@ -48,6 +48,7 @@ XERCES_CPP_NAMESPACE_END
namespace Base
{
class Persistence;
class DocumentReader;
/** The XML reader class
* This is an important helper class for the store and retrieval system
@@ -295,13 +296,16 @@ public:
std::string getFileName() const;
int getFileVersion() const;
void initLocalReader(std::shared_ptr<Base::XMLReader>);
void initLocalDocReader(std::shared_ptr<Base::DocumentReader>);
std::shared_ptr<Base::XMLReader> getLocalReader() const;
std::shared_ptr<Base::DocumentReader> getLocalDocReader() const;
private:
std::istream& _str;
std::string _name;
int fileVersion;
std::shared_ptr<Base::XMLReader> localreader;
std::shared_ptr<Base::DocumentReader> localdocreader;
};
}