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

Node Class Reference

#include <node.hpp>

Inherited by Proposition.

Inheritance diagram for Node:

Inheritance graph
[legend]
Collaboration diagram for Node:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Node (QWidget *parent, const char *name=0, WFlags f=0)
 ~Node ()
QString publicName () const
QString description () const
float trust () const
bool changed () const
void setPublicName (QString nome)
void setDescription (QString descricao)
void setTrust (float confianca)
void setChanged (bool alterado)
EdgegetNode (QString dest)

Public Attributes

EdgeListincoming
 get a edge that links this node with the destination node.
EdgeListoutgoing
 The edges for which this node is the target.
QPoint center
 The edges for which this node is the source.

Protected Member Functions

void init ()

Protected Attributes

QString p_name
QString p_description
float p_trust
float p_changed

Properties

QString publicName
QString description
float trust
bool changed

Constructor & Destructor Documentation

Node::Node QWidget *  parent,
const char *  name = 0,
WFlags  f = 0
 

Definition at line 22 of file node.cpp.

References init().

Here is the call graph for this function:

Node::~Node  ) 
 

Definition at line 28 of file node.cpp.


Member Function Documentation

bool Node::changed  )  const [inline]
 

Definition at line 45 of file node.hpp.

References p_changed.

QString Node::description  )  const [inline]
 

Definition at line 43 of file node.hpp.

References p_description.

Edge * Node::getNode QString  dest  ) 
 

Definition at line 62 of file node.cpp.

References outgoing.

void Node::init  )  [protected]
 

Reimplemented in Proposition.

Definition at line 56 of file node.cpp.

References incoming, and outgoing.

Referenced by Node().

QString Node::publicName  )  const [inline]
 

Definition at line 42 of file node.hpp.

References p_name.

Referenced by Proposition::draw().

void Node::setChanged bool  alterado  ) 
 

Definition at line 51 of file node.cpp.

References p_changed.

Referenced by setDescription(), setPublicName(), Proposition::setTrust(), and setTrust().

void Node::setDescription QString  descricao  ) 
 

Definition at line 39 of file node.cpp.

References p_description, and setChanged().

Referenced by Proposition::init().

Here is the call graph for this function:

void Node::setPublicName QString  nome  ) 
 

Definition at line 33 of file node.cpp.

References p_name, and setChanged().

Referenced by Proposition::init().

Here is the call graph for this function:

void Node::setTrust float  confianca  ) 
 

Reimplemented in Proposition.

Definition at line 45 of file node.cpp.

References p_trust, and setChanged().

Here is the call graph for this function:

float Node::trust  )  const [inline]
 

Definition at line 44 of file node.hpp.

References p_trust.


Member Data Documentation

QPoint Node::center
 

The edges for which this node is the source.

Definition at line 57 of file node.hpp.

EdgeList* Node::incoming
 

get a edge that links this node with the destination node.

Definition at line 54 of file node.hpp.

Referenced by PropositionGraph::deleteProp(), and init().

EdgeList* Node::outgoing
 

The edges for which this node is the target.

Definition at line 55 of file node.hpp.

Referenced by BuildPropositions::calculeTrust(), PropositionGraph::deleteProp(), getNode(), init(), and GraphML::saveProp().

float Node::p_changed [protected]
 

Definition at line 63 of file node.hpp.

Referenced by changed(), and setChanged().

QString Node::p_description [protected]
 

Definition at line 61 of file node.hpp.

Referenced by description(), and setDescription().

QString Node::p_name [protected]
 

Definition at line 60 of file node.hpp.

Referenced by publicName(), and setPublicName().

float Node::p_trust [protected]
 

Definition at line 62 of file node.hpp.

Referenced by Proposition::setTrust(), setTrust(), and trust().


Property Documentation

bool Node::changed [read, write]
 

Definition at line 36 of file node.hpp.

QString Node::description [read, write]
 

Definition at line 34 of file node.hpp.

Referenced by GraphML::saveProp(), and PropositionGraph::setPropositionSelected().

QString Node::publicName [read, write]
 

Definition at line 33 of file node.hpp.

Referenced by GraphML::saveProp(), and PropositionGraph::setPropositionSelected().

float Node::trust [read, write]
 

Definition at line 35 of file node.hpp.

Referenced by BuildPropositions::calculeTrust(), and PropositionGraph::setPropositionSelected().


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