Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

Mpsi Class Reference

#include <mpsi.hpp>

Collaboration diagram for Mpsi:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Mpsi (PropositionGraph *cl, QString pn)
 ~Mpsi ()
bool startElement (const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &attribs)
bool endElement (const QString &namespaceURI, const QString &localName, const QString &qName)
bool characters (const QString &str)
bool fatalError (const QXmlParseException &exception)
void ioError (const QFile file, const QString message)
void init ()

Public Attributes

PropositionGraphcaller
Edgee
QString type
QString target
QString pname

Private Attributes

QString currentText

Constructor & Destructor Documentation

Mpsi::Mpsi PropositionGraph cl,
QString  pn
 

Definition at line 24 of file mpsi.cpp.

References caller, and pname.

Mpsi::~Mpsi  ) 
 

Definition at line 30 of file mpsi.cpp.


Member Function Documentation

bool Mpsi::characters const QString &  str  ) 
 

Definition at line 46 of file mpsi.cpp.

References currentText.

bool Mpsi::endElement const QString &  namespaceURI,
const QString &  localName,
const QString &  qName
 

Definition at line 52 of file mpsi.cpp.

References caller, PropositionGraph::connect(), currentText, e, pname, and target.

Here is the call graph for this function:

bool Mpsi::fatalError const QXmlParseException &  exception  ) 
 

Definition at line 73 of file mpsi.cpp.

void Mpsi::init  ) 
 

void Mpsi::ioError const QFile  file,
const QString  message
 

Definition at line 82 of file mpsi.cpp.

References caller, and Graph::error().

Here is the call graph for this function:

bool Mpsi::startElement const QString &  namespaceURI,
const QString &  localName,
const QString &  qName,
const QXmlAttributes &  attribs
 

Definition at line 35 of file mpsi.cpp.

References currentText, and target.


Member Data Documentation

PropositionGraph* Mpsi::caller
 

Reference to the graph that called this parser

Definition at line 26 of file mpsi.hpp.

Referenced by endElement(), ioError(), and Mpsi().

QString Mpsi::currentText [private]
 

Definition at line 36 of file mpsi.hpp.

Referenced by characters(), endElement(), and startElement().

Edge* Mpsi::e
 

Definition at line 28 of file mpsi.hpp.

Referenced by endElement().

QString Mpsi::pname
 

Definition at line 32 of file mpsi.hpp.

Referenced by endElement(), and Mpsi().

QString Mpsi::target
 

Definition at line 30 of file mpsi.hpp.

Referenced by endElement(), and startElement().

QString Mpsi::type
 

Definition at line 29 of file mpsi.hpp.


The documentation for this class was generated from the following files: Untitled Document Pesquisa Psi SourceForge.net Logo