CoCoALib-0.9905 date: 23 May 2007


CoCoA::OpenMathInputXML Class Reference

#include <OpenMathXML.H>

Inheritance diagram for CoCoA::OpenMathInputXML:

Inheritance graph
[legend]
Collaboration diagram for CoCoA::OpenMathInputXML:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 OpenMathInputXML (std::istream &in)
virtual ~OpenMathInputXML ()
virtual void advance ()
virtual OpenMathTag myCurrTag ()
virtual std::size_t NumDescendants () const
virtual bool myRecv (long &n)
virtual bool myRecv (ZZ &N)
virtual bool myRecv (OpenMathSymbol &s)

Protected Member Functions

void myRefCountInc () const
 increments ref count
void myRefCountDec () const
 decrements ref count, and self destructs if count becomes 0
void myRefCountZero () const
 sets myRefCount to 0

Private Types

enum  status_t { NotYetRead, AlreadyRead }

Private Member Functions

char ReadChar ()
char SkipWSReadChar ()
void ReadNextNode ()
bool SkipMatch (const std::string &expected)
bool ReadDecimalString (std::string &DecimalDigits)
bool ReadStringInQuotes (std::string &QuotedString)

Private Attributes

status_t myStatus
OpenMathTag myCurrTagType
ZZ myIntegerValue
OpenMathSymbol mySymbol
std::istream & myIn
std::size_t myLevel
std::stack< OpenMathTagmyTagStack

Detailed Description

Definition at line 59 of file OpenMathXML.H.


Member Enumeration Documentation

enum CoCoA::OpenMathInputXML::status_t [private]
 

Enumerator:
NotYetRead 
AlreadyRead 

Definition at line 72 of file OpenMathXML.H.


Constructor & Destructor Documentation

CoCoA::OpenMathInputXML::OpenMathInputXML std::istream &  in  ) 
 

virtual CoCoA::OpenMathInputXML::~OpenMathInputXML  )  [virtual]
 


Member Function Documentation

virtual void CoCoA::OpenMathInputXML::advance  )  [virtual]
 

Implements CoCoA::OpenMathInputBase.

virtual OpenMathTag CoCoA::OpenMathInputXML::myCurrTag  )  [virtual]
 

Implements CoCoA::OpenMathInputBase.

virtual std::size_t CoCoA::OpenMathInputXML::NumDescendants  )  const [virtual]
 

Implements CoCoA::OpenMathInputBase.

virtual bool CoCoA::OpenMathInputXML::myRecv long &  n  )  [virtual]
 

Implements CoCoA::OpenMathInputBase.

virtual bool CoCoA::OpenMathInputXML::myRecv ZZ N  )  [virtual]
 

Implements CoCoA::OpenMathInputBase.

virtual bool CoCoA::OpenMathInputXML::myRecv OpenMathSymbol s  )  [virtual]
 

Implements CoCoA::OpenMathInputBase.

char CoCoA::OpenMathInputXML::ReadChar  )  [private]
 

char CoCoA::OpenMathInputXML::SkipWSReadChar  )  [private]
 

void CoCoA::OpenMathInputXML::ReadNextNode  )  [private]
 

bool CoCoA::OpenMathInputXML::SkipMatch const std::string &  expected  )  [private]
 

bool CoCoA::OpenMathInputXML::ReadDecimalString std::string &  DecimalDigits  )  [private]
 

bool CoCoA::OpenMathInputXML::ReadStringInQuotes std::string &  QuotedString  )  [private]
 

void CoCoA::IntrusiveReferenceCount::myRefCountInc  )  const [inline, protected, inherited]
 

increments ref count

Definition at line 86 of file SmartPtrIRC.H.

References CoCoA::IntrusiveReferenceCount::myRefCount.

Referenced by CoCoA::ModuleBase::ModuleBase().

void CoCoA::IntrusiveReferenceCount::myRefCountDec  )  const [inline, protected, inherited]
 

decrements ref count, and self destructs if count becomes 0

Definition at line 91 of file SmartPtrIRC.H.

References CoCoA::IntrusiveReferenceCount::myRefCount.

void CoCoA::IntrusiveReferenceCount::myRefCountZero  )  const [inline, protected, inherited]
 

sets myRefCount to 0

Definition at line 97 of file SmartPtrIRC.H.

References CoCoA::IntrusiveReferenceCount::myRefCount.


Member Data Documentation

status_t CoCoA::OpenMathInputXML::myStatus [private]
 

Definition at line 73 of file OpenMathXML.H.

OpenMathTag CoCoA::OpenMathInputXML::myCurrTagType [private]
 

Definition at line 74 of file OpenMathXML.H.

ZZ CoCoA::OpenMathInputXML::myIntegerValue [private]
 

Definition at line 75 of file OpenMathXML.H.

OpenMathSymbol CoCoA::OpenMathInputXML::mySymbol [private]
 

Definition at line 76 of file OpenMathXML.H.

std::istream& CoCoA::OpenMathInputXML::myIn [private]
 

Definition at line 77 of file OpenMathXML.H.

std::size_t CoCoA::OpenMathInputXML::myLevel [private]
 

Definition at line 78 of file OpenMathXML.H.

std::stack<OpenMathTag> CoCoA::OpenMathInputXML::myTagStack [private]
 

Definition at line 79 of file OpenMathXML.H.


The documentation for this class was generated from the following file:
Generated on Wed May 23 13:44:36 2007 for CoCoALib by  doxygen 1.4.6