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

GraphML Class Reference

#include <graphml.hpp>

Collaboration diagram for GraphML:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GraphML (PropositionGraph *cl)
 ~GraphML ()
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 loadProp (QString pname)
void loadCat (QString dir)
void save (QString dir)
void saveProp (QString dir, QString prop)
void init ()

Public Attributes

PropositionGraphcaller
Edgee
QString type
QString currentItem

Private Attributes

QString currentText

Constructor & Destructor Documentation

GraphML::GraphML PropositionGraph cl  ) 
 

Definition at line 27 of file graphml.cpp.

References caller.

GraphML::~GraphML  ) 
 

Definition at line 32 of file graphml.cpp.


Member Function Documentation

bool GraphML::characters const QString &  str  ) 
 

Definition at line 49 of file graphml.cpp.

References currentText.

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

Definition at line 55 of file graphml.cpp.

References caller, and loadProp().

Here is the call graph for this function:

bool GraphML::fatalError const QXmlParseException &  exception  ) 
 

Definition at line 69 of file graphml.cpp.

void GraphML::init  ) 
 

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

Definition at line 78 of file graphml.cpp.

References caller, and Graph::error().

Here is the call graph for this function:

void GraphML::loadCat QString  dir  ) 
 

Definition at line 94 of file graphml.cpp.

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

Here is the call graph for this function:

void GraphML::loadProp QString  pname  ) 
 

Definition at line 83 of file graphml.cpp.

References caller.

Referenced by endElement().

void GraphML::save QString  dir  ) 
 

Save graph data to file.

Definition at line 123 of file graphml.cpp.

References caller, Graph::lastName(), and saveProp().

Referenced by PropositionGraph::save().

Here is the call graph for this function:

void GraphML::saveProp QString  dir,
QString  prop
 

Definition at line 187 of file graphml.cpp.

References caller, Proposition::category(), Node::description, escapeXml(), Node::outgoing, p, Node::publicName, Proposition::references(), and Graph::setChanged().

Referenced by save().

Here is the call graph for this function:

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

Definition at line 37 of file graphml.cpp.

References caller, currentItem, and PropositionGraph::newProposition().

Here is the call graph for this function:


Member Data Documentation

PropositionGraph* GraphML::caller
 

Reference to the graph that called this parser

Definition at line 40 of file graphml.hpp.

Referenced by endElement(), GraphML(), ioError(), loadCat(), loadProp(), save(), saveProp(), and startElement().

QString GraphML::currentItem
 

Definition at line 54 of file graphml.hpp.

Referenced by startElement().

QString GraphML::currentText [private]
 

Definition at line 58 of file graphml.hpp.

Referenced by characters().

Edge* GraphML::e
 

Definition at line 42 of file graphml.hpp.

QString GraphML::type
 

Definition at line 43 of file graphml.hpp.


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