MRWStruct Struct Reference

Internal: a struct used to read some field. More...

#include <MRWParser.hxx>

Public Member Functions

 MRWStruct ()
 constructor More...
 
int numValues () const
 returns the number of values More...
 
bool isBasic () const
 returns true if this corresponds to a simple container More...
 
long value (int i) const
 returns the ith value (or 0 if it does not exists ) More...
 

Public Attributes

long m_filePos
 the file position where the field description begin More...
 
MWAWEntry m_pos
 the file data position (for type=0 data ) More...
 
int m_type
 the data type More...
 
std::vector< long > m_data
 the data block More...
 

Friends

std::ostream & operator<< (std::ostream &o, MRWStruct const &dt)
 operator<< More...
 

Detailed Description

Internal: a struct used to read some field.

Constructor & Destructor Documentation

MRWStruct::MRWStruct ( )
inline

constructor

Member Function Documentation

int MRWStruct::numValues ( ) const
inline

returns the number of values

Referenced by MRWText::readFontNames().

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
MRWStruct const &  dt 
)
friend

operator<<

Member Data Documentation

std::vector<long> MRWStruct::m_data
long MRWStruct::m_filePos

the file position where the field description begin

Referenced by MRWParser::decodeZone(), and MRWParser::readZone().


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

Generated on Tue Mar 10 2015 17:32:09 for libmwaw by doxygen 1.8.5