26 #include "../epc/Package.h"
28 #include "DataObjectRepository.h"
29 #include "DataFeeder.h"
43 DLL_IMPORT_OR_EXPORT
EpcDocument(
const std::string & fileName);
57 DLL_IMPORT_OR_EXPORT
void open(
const std::string & fileName);
60 DLL_IMPORT_OR_EXPORT
void close();
71 DLL_IMPORT_OR_EXPORT
void setFilePath(
const std::string & fp);
111 DLL_IMPORT_OR_EXPORT std::string
getName()
const;
145 DLL_IMPORT_OR_EXPORT std::string resolvePartial(
AbstractObject* partialObj)
const;
148 static const char * DOCUMENT_EXTENSION;
155 std::string filePath;
An abstract data object.
Definition: AbstractObject.h:31
This abstract class acts as a buffer between the RESQML (business) classes and the persisted data.
Definition: DataObjectRepository.h:164
openingMode
Definition: DataObjectRepository.h:182
This class allows an access to a memory package representing an EPC document.
Definition: EpcDocument.h:35
void open(const std::string &fileName)
std::string getExtendedCoreProperty(const std::string &key)
EpcDocument(const std::string &fileName)
std::string getName() const
void setFilePath(const std::string &fp)
unsigned int getExtendedCorePropertyCount() const
virtual std::string deserializeInto(DataObjectRepository &repo, DataObjectRepository::openingMode hdfPermissionAccess=DataObjectRepository::openingMode::READ_ONLY)
void serializeFrom(const DataObjectRepository &repo, bool useZip64=false)
void setExtendedCoreProperty(const std::string &key, const std::string &value)
std::string deserializePartiallyInto(DataObjectRepository &repo, DataObjectRepository::openingMode hdfPermissionAccess=DataObjectRepository::openingMode::READ_ONLY)
std::string getStorageDirectory() const
std::unordered_map< std::string, std::string > & getExtendedCoreProperty()