Go to the documentation of this file.
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;
static boost::optional< unsigned > readRef(const IWAMessage &msg, unsigned field)
Definition: IWAParser.cpp:245
void queryObject(const unsigned id, unsigned &type, boost::optional< IWAMessage > &msg) const
Definition: IWAObjectIndex.cpp:123
@ header
Definition: IWORKToken.h:256
const RVNGInputStreamPtr_t m_package
Definition: IWAObjectIndex.h:58
Definition: IWORKBezierElement.cpp:21
@ none
Definition: IWORKToken.h:674
boost::optional< IWORKColor > queryFileColor(unsigned id) const
Definition: IWAObjectIndex.cpp:228
static boost::optional< IWORKColor > readColor(const IWAMessage &msg, unsigned field)
Definition: IWAParser.cpp:289
const RVNGInputStreamPtr_t m_fragments
Definition: IWAObjectIndex.h:57
@ type
Definition: IWORKToken.h:493
boost::optional< unsigned > getObjectType(const unsigned id) const
Definition: IWAObjectIndex.cpp:141
void scanColorFileMap(unsigned id)
Definition: IWAObjectIndex.cpp:239
#define ETONYEK_DEBUG_MSG(M)
Definition: libetonyek_utils.h:54
const boost::optional< value_type > optional() const
Definition: IWAField.h:159
boost::optional< IWORKColor > scanColorFileCorrespondance(unsigned id)
Definition: IWAObjectIndex.cpp:267
Definition: IWAObjectIndex.h:27
@ path
Definition: IWORKToken.h:365
std::pair< long, long > m_dataRange
Definition: IWAObjectIndex.h:37
const IWAUInt32Field & uint32(std::size_t field) const
Definition: IWAMessage.cpp:122
std::map< unsigned, std::string > m_unparsedFragments
Definition: IWAObjectIndex.h:60
void scanFragment(unsigned id)
Definition: IWAObjectIndex.cpp:171
std::map< unsigned, std::pair< unsigned, ObjectRecord > > m_fragmentObjectMap
Definition: IWAObjectIndex.h:61
IWAObjectIndex(const RVNGInputStreamPtr_t &fragments, const RVNGInputStreamPtr_t &package)
Definition: IWAObjectIndex.cpp:47
RVNGInputStreamPtr_t m_stream
Definition: IWAObjectIndex.h:34
const std::deque< value_type > repeated() const
Definition: IWAField.h:153
const IWAMessageField & message(std::size_t field) const
Definition: IWAMessage.cpp:167
void parse()
Definition: IWAObjectIndex.cpp:57
@ color
Definition: IWORKToken.h:155
@ file
Definition: KEY1Token.h:130
@ string
Definition: IWORKToken.h:418
@ pos
Definition: IWORKToken.h:599
Definition: IWAMessage.h:22
@ start
Definition: IWORKToken.h:412
unsigned m_type
Definition: IWAObjectIndex.h:35
const ValueT & get_optional_value_or(const detail::IWAFieldImpl< TagV, ValueT, Reader > &field, const ValueT &value)
Definition: IWAField.h:196
ObjectRecord()
Definition: IWAObjectIndex.cpp:30
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr_t
Definition: libetonyek_utils.h:82
boost::optional< IWORKGradientType > m_type
Definition: IWORKFillElement.cpp:132
Definition: IWAObjectIndex.h:30
std::pair< long, long > m_headerRange
Definition: IWAObjectIndex.h:36
const ValueT & get(const detail::IWAFieldImpl< TagV, ValueT, Reader > &field)
Definition: IWAField.h:190
const IWAUInt32Field & uint32(std::size_t field) const
Definition: IWAField.cpp:30
std::map< unsigned, std::pair< std::string, RVNGInputStreamPtr_t > > m_fileMap
Definition: IWAObjectIndex.h:62
std::map< unsigned, IWORKColor > m_fileColorMap
Definition: IWAObjectIndex.h:63
const RVNGInputStreamPtr_t queryFile(unsigned id) const
Definition: IWAObjectIndex.cpp:152
uint64_t readUVar(const RVNGInputStreamPtr_t &input)
Definition: libetonyek_utils.cpp:108
Generated for libetonyek by
doxygen 1.8.20