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

Cat Class Reference

#include <cat.hpp>

Collaboration diagram for Cat:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Cat (PropositionGraph *cl)
 ~Cat ()
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
Categorycurrent

Private Attributes

QString currentText

Constructor & Destructor Documentation

Cat::Cat PropositionGraph cl  ) 
 

Definition at line 24 of file cat.cpp.

References caller.

Cat::~Cat  ) 
 

Definition at line 29 of file cat.cpp.


Member Function Documentation

bool Cat::characters const QString &  str  ) 
 

Definition at line 45 of file cat.cpp.

References currentText.

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

Definition at line 51 of file cat.cpp.

References caller, PropositionGraph::categories, current, currentText, Category::name(), Category::setColor(), Category::setDescription(), Category::setId(), and Category::setName().

Here is the call graph for this function:

bool Cat::fatalError const QXmlParseException &  exception  ) 
 

Definition at line 70 of file cat.cpp.

void Cat::init  ) 
 

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

Definition at line 79 of file cat.cpp.

References caller, and Graph::error().

Here is the call graph for this function:

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

Definition at line 34 of file cat.cpp.

References current, and currentText.


Member Data Documentation

PropositionGraph* Cat::caller
 

Reference to the graph that called this parser

Definition at line 26 of file cat.hpp.

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

Category* Cat::current
 

Definition at line 30 of file cat.hpp.

Referenced by endElement(), and startElement().

QString Cat::currentText [private]
 

Definition at line 35 of file cat.hpp.

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

Edge* Cat::e
 

Definition at line 28 of file cat.hpp.

QString Cat::type
 

Definition at line 29 of file cat.hpp.


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