CWStruct::DSET Struct Reference

main structure which correspond to a document part More...

#include <CWStruct.hxx>

Inheritance diagram for CWStruct::DSET:
CWDatabaseInternal::Database CWGraphInternal::Bitmap CWGraphInternal::Group CWPresentationInternal::Presentation CWSpreadsheetInternal::Spreadsheet CWTableInternal::Table CWTextInternal::Zone

List of all members.

Classes

struct  Child
 structure used to define the child of a DSET structure More...

Public Types

enum  Type {
  T_Main = 0, T_Header, T_Footer, T_Frame,
  T_Footnote, T_Table, T_Slide, T_Unknown
}
 the document type More...

Public Member Functions

 DSET ()
 constructor
virtual ~DSET ()
 virtual destructor
bool okChildId (int zoneId) const
 test is a child id is valid

Public Attributes

long m_size
 the size of the DSET header
long m_numData
 the number of header
long m_dataSz
 the data size
long m_headerSz
 the header size
Type m_type
 the document type
int m_fileType
 the type ( 0: text, -1: graphic, ...)
int m_id
 the identificator
std::set< int > m_fathersList
 the list of fathers
std::set< int > m_validedChildList
 the list of verified child
int m_beginSelection
 the begin of selection ( at least in text header)
int m_endSelection
 the end of selection ( at least in text header)
int m_textType
 the text type (header/footer,footnote, ...)
int m_flags [4]
 some unknown flag
std::vector< Childm_childs
 the list of child zone
std::vector< int > m_otherChilds
 the list of other child
bool m_parsed
 a flag to know if the entry is sent or not to the listener
int m_internal
 an internal variable used to do some computation

Friends

std::ostream & operator<< (std::ostream &o, DSET const &doc)
 operator<<

Detailed Description

main structure which correspond to a document part


Member Enumeration Documentation

the document type

Enumerator:
T_Main 
T_Header 
T_Footer 
T_Frame 
T_Footnote 
T_Table 
T_Slide 
T_Unknown 

Constructor & Destructor Documentation

CWStruct::DSET::DSET ( ) [inline]

constructor

virtual CWStruct::DSET::~DSET ( ) [inline, virtual]

virtual destructor


Member Function Documentation

bool CWStruct::DSET::okChildId ( int  zoneId) const [inline]

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
DSET const &  doc 
) [friend]

operator<<


Member Data Documentation

the begin of selection ( at least in text header)

Referenced by CWStruct::operator<<(), and CWParser::readDSET().

the list of child zone

Referenced by CWStruct::operator<<().

the end of selection ( at least in text header)

Referenced by CWStruct::operator<<(), and CWParser::readDSET().

the list of fathers

Referenced by CWStruct::operator<<().

some unknown flag

Referenced by DSET(), CWStruct::operator<<(), and CWParser::readDSET().

an internal variable used to do some computation

bool CWStruct::DSET::m_parsed [mutable]

a flag to know if the entry is sent or not to the listener

Referenced by CWGraph::sendGroup(), and CWText::sendText().

the size of the DSET header

Reimplemented in CWGraphInternal::Bitmap.

Referenced by CWParser::readDSET().

the text type (header/footer,footnote, ...)

Referenced by CWStruct::operator<<(), and CWParser::readDSET().

the list of verified child

Referenced by okChildId(), and CWStruct::operator<<().


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