#pragma once #ifndef PPTX_FILEMAP_INCLUDE_H_ #define PPTX_FILEMAP_INCLUDE_H_ #include "DocxFormat/File.h" #include namespace PPTX { class FileMap { public: FileMap() { } ~FileMap() { } public: std::map> m_map; public: AVSINLINE std::map>::const_iterator find(const OOX::CPath& path) { return m_map.find(path.m_strFilename); } AVSINLINE void add(const OOX::CPath& key, const smart_ptr& value) { m_map[key.m_strFilename] = value; } AVSINLINE bool empty() const {return m_map.empty();} AVSINLINE size_t size() const {return m_map.size();} }; } // namespace PPTX #endif // PPTX_FILEMAP_INCLUDE_H_