10 #ifndef IWAOBJECTINDEX_H_INCLUDED
11 #define IWAOBJECTINDEX_H_INCLUDED
17 #include <boost/optional.hpp>
45 void queryObject(
const unsigned id,
unsigned &
type, boost::optional<IWAMessage> &msg)
const;
46 boost::optional<unsigned>
getObjectType(
const unsigned id)
const;
62 mutable std::map<unsigned, std::pair<std::string, RVNGInputStreamPtr_t>>
m_fileMap;
boost::optional< unsigned > getObjectType(const unsigned id) const
Definition: IWAObjectIndex.cpp:141
std::map< unsigned, std::string > m_unparsedFragments
Definition: IWAObjectIndex.h:60
std::pair< long, long > m_dataRange
Definition: IWAObjectIndex.h:37
RVNGInputStreamPtr_t m_stream
Definition: IWAObjectIndex.h:34
void scanFragment(unsigned id)
Definition: IWAObjectIndex.cpp:171
ObjectRecord()
Definition: IWAObjectIndex.cpp:30
void queryObject(const unsigned id, unsigned &type, boost::optional< IWAMessage > &msg) const
Definition: IWAObjectIndex.cpp:123
void parse()
Definition: IWAObjectIndex.cpp:57
const RVNGInputStreamPtr_t m_package
Definition: IWAObjectIndex.h:58
unsigned m_type
Definition: IWAObjectIndex.h:35
Definition: IWAObjectIndex.h:26
std::pair< long, long > m_headerRange
Definition: IWAObjectIndex.h:36
boost::optional< IWORKColor > queryFileColor(unsigned id) const
Definition: IWAObjectIndex.cpp:228
const RVNGInputStreamPtr_t queryFile(unsigned id) const
Definition: IWAObjectIndex.cpp:152
std::map< unsigned, IWORKColor > m_fileColorMap
Definition: IWAObjectIndex.h:63
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr_t
Definition: libetonyek_utils.h:82
std::map< unsigned, std::pair< std::string, RVNGInputStreamPtr_t > > m_fileMap
Definition: IWAObjectIndex.h:62
IWAObjectIndex(const RVNGInputStreamPtr_t &fragments, const RVNGInputStreamPtr_t &package)
Definition: IWAObjectIndex.cpp:47
std::map< unsigned, std::pair< unsigned, ObjectRecord > > m_fragmentObjectMap
Definition: IWAObjectIndex.h:61
Definition: IWORKToken.h:493
const RVNGInputStreamPtr_t m_fragments
Definition: IWAObjectIndex.h:57
void scanColorFileMap(unsigned id)
Definition: IWAObjectIndex.cpp:239
boost::optional< IWORKColor > scanColorFileCorrespondance(unsigned id)
Definition: IWAObjectIndex.cpp:267
Definition: IWORKToken.h:599
Definition: IWAObjectIndex.h:29