Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef FB2CONTENTMAP_H_INCLUDED
00018 #define FB2CONTENTMAP_H_INCLUDED
00019
00020 #include <string>
00021
00022 namespace libebook
00023 {
00024
00025 struct ContentMapImpl;
00026 class FB2Content;
00027
00028 class FB2ContentMap
00029 {
00030
00031 FB2ContentMap(const FB2ContentMap &other);
00032 FB2ContentMap &operator=(const FB2ContentMap &other);
00033
00034 public:
00035 FB2ContentMap();
00036 ~FB2ContentMap();
00037
00038 bool insert(const std::string &id, const FB2Content *content);
00039 bool exists(const std::string &id) const;
00040 const FB2Content *get(const std::string &id) const;
00041
00042 ContentMapImpl *const m_impl;
00043 };
00044
00045 }
00046
00047 #endif // FB2CONTENTMAP_H_INCLUDED
00048
00049