libetonyek::IWAObjectIndex Class Reference

#include <IWAObjectIndex.h>

Classes

struct  ObjectRecord
 

Public Member Functions

 IWAObjectIndex (const RVNGInputStreamPtr_t &fragments, const RVNGInputStreamPtr_t &package)
 
void parse ()
 
void queryObject (const unsigned id, unsigned &type, boost::optional< IWAMessage > &msg) const
 
boost::optional< unsigned > getObjectType (const unsigned id) const
 
const RVNGInputStreamPtr_t queryFile (unsigned id) const
 
boost::optional< IWORKColorqueryFileColor (unsigned id) const
 

Private Member Functions

void scanFragment (unsigned id)
 
void scanFragment (unsigned id, const RVNGInputStreamPtr_t &stream)
 
void scanColorFileMap (unsigned id)
 
boost::optional< IWORKColorscanColorFileCorrespondance (unsigned id)
 

Private Attributes

const RVNGInputStreamPtr_t m_fragments
 
const RVNGInputStreamPtr_t m_package
 
std::map< unsigned, std::string > m_unparsedFragments
 
std::map< unsigned, std::pair
< unsigned, ObjectRecord > > 
m_fragmentObjectMap
 
std::map< unsigned, std::pair
< std::string,
RVNGInputStreamPtr_t > > 
m_fileMap
 
std::map< unsigned, IWORKColorm_fileColorMap
 

Constructor & Destructor Documentation

libetonyek::IWAObjectIndex::IWAObjectIndex ( const RVNGInputStreamPtr_t fragments,
const RVNGInputStreamPtr_t package 
)

Member Function Documentation

boost::optional< unsigned > libetonyek::IWAObjectIndex::getObjectType ( const unsigned  id) const
void libetonyek::IWAObjectIndex::parse ( )
const RVNGInputStreamPtr_t libetonyek::IWAObjectIndex::queryFile ( unsigned  id) const
boost::optional< IWORKColor > libetonyek::IWAObjectIndex::queryFileColor ( unsigned  id) const
void libetonyek::IWAObjectIndex::queryObject ( const unsigned  id,
unsigned &  type,
boost::optional< IWAMessage > &  msg 
) const
boost::optional< IWORKColor > libetonyek::IWAObjectIndex::scanColorFileCorrespondance ( unsigned  id)
private

Referenced by scanColorFileMap().

void libetonyek::IWAObjectIndex::scanColorFileMap ( unsigned  id)
private

Referenced by parse().

void libetonyek::IWAObjectIndex::scanFragment ( unsigned  id)
private

Referenced by parse(), and queryObject().

void libetonyek::IWAObjectIndex::scanFragment ( unsigned  id,
const RVNGInputStreamPtr_t stream 
)
private

Member Data Documentation

std::map<unsigned, IWORKColor> libetonyek::IWAObjectIndex::m_fileColorMap
mutableprivate

Referenced by queryFileColor(), and scanColorFileMap().

std::map<unsigned, std::pair<std::string, RVNGInputStreamPtr_t> > libetonyek::IWAObjectIndex::m_fileMap
mutableprivate

Referenced by parse(), and queryFile().

std::map<unsigned, std::pair<unsigned, ObjectRecord> > libetonyek::IWAObjectIndex::m_fragmentObjectMap
mutableprivate
const RVNGInputStreamPtr_t libetonyek::IWAObjectIndex::m_fragments
private

Referenced by scanFragment().

const RVNGInputStreamPtr_t libetonyek::IWAObjectIndex::m_package
private

Referenced by parse(), and queryFile().

std::map<unsigned, std::string> libetonyek::IWAObjectIndex::m_unparsedFragments
mutableprivate

Referenced by parse(), and scanFragment().


The documentation for this class was generated from the following files:

Generated for libetonyek by doxygen 1.8.6