COPASI API  4.40.278
CStructureParser Class Reference

#include <CStructureParser.h>

Inheritance diagram for CStructureParser:
[legend]

Public Member Functions

bool characters (const QString &)
 
 CStructureParser (int)
 
bool endElement (const QString &, const QString &, const QString &)
 
QString getTeX ()
 
bool ignorableWhitespace (const QString &)
 
bool skippedEntity (const QString &)
 
bool startDocument ()
 
bool startElement (const QString &, const QString &, const QString &, const QXmlAttributes &)
 

Private Attributes

QString indent
 
int indexColumns
 
QLinkedList< QString > mListOfUncompletedTags
 
bool needToWriteColumnAllignment
 
int sumColumns
 
QString tagName
 
QString tex
 
QString texHead
 
QString texTail
 

Constructor & Destructor Documentation

◆ CStructureParser()

CStructureParser::CStructureParser ( int  n)

NOTE: We use index 1 and 2 to refer to the first and to the second part, resp., of some elements. These elements are mfrac, msub, and msup.

Member Function Documentation

◆ characters()

bool CStructureParser::characters ( const QString &  str)

References tagName, and tex.

◆ endElement()

bool CStructureParser::endElement ( const QString &  ,
const QString &  ,
const QString &  qName 
)

◆ getTeX()

QString CStructureParser::getTeX ( )

References tex, texHead, and texTail.

Referenced by CMathMLToTeX::mNode(), and CMathMLToTeX::mtableNode().

◆ ignorableWhitespace()

bool CStructureParser::ignorableWhitespace ( const QString &  )

◆ skippedEntity()

bool CStructureParser::skippedEntity ( const QString &  )

◆ startDocument()

bool CStructureParser::startDocument ( )

◆ startElement()

bool CStructureParser::startElement ( const QString &  ,
const QString &  ,
const QString &  qName,
const QXmlAttributes &  attr 
)

Member Data Documentation

◆ indent

QString CStructureParser::indent
private

◆ indexColumns

int CStructureParser::indexColumns
private

◆ mListOfUncompletedTags

QLinkedList<QString> CStructureParser::mListOfUncompletedTags
private

Referenced by endElement(), and startElement().

◆ needToWriteColumnAllignment

bool CStructureParser::needToWriteColumnAllignment
private

Referenced by startDocument(), and startElement().

◆ sumColumns

int CStructureParser::sumColumns
private

◆ tagName

QString CStructureParser::tagName
private

Referenced by characters(), and startElement().

◆ tex

QString CStructureParser::tex
private

◆ texHead

QString CStructureParser::texHead
private

Referenced by getTeX(), and startElement().

◆ texTail

QString CStructureParser::texTail
private

Referenced by endElement(), and getTeX().


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