Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

OGraph Class Reference

#include <OGraph.hpp>

Inheritance diagram for OGraph::

OGraphic List of all members.

Public Methods

OGraphicclone () const
OGraphiccreate () const
 OGraph ()
 OGraph (bool)
 ~OGraph ()
node newNode ()
node newNode (OGraphic *)
node nodeRead (int)
int rangeRead (node) const
OGraphicobjectRead (int)
OGraphicobjectRead (node)
int rangeRead (OGraphic *)
void objectWrite (OGraphic *, int)
void objectWrite (OGraphic *, node)
void objectPush (OGraphic *, int)
void objectPush (OGraphic *, node)
edge newEdge (int, int)
edge newEdge (int, int, AGraphic *)
edge newEdge (node, node)
edge newEdge (node, node, AGraphic *)
edge edgeRead (int)
int rangeRead (edge) const
AGraphicattributeRead (int)
AGraphicattributeRead (edge)
int rangeRead (AGraphic *)
void attributeWrite (AGraphic *, int)
void attributeWrite (AGraphic *, edge)
void attributePush (AGraphic *, int)
void attributePush (AGraphic *, edge)
deque< OGraphic *> readOGraphicArray ()
deque< OGraphic *> readOGraphicArray (string &)
void readOGraphicArray (string &, deque< OGraphic *> &)
void writeOGraphicArray (string &, deque< OGraphic *> &)
int writeOGraphicArray (string &, deque< OGraphic *> &, int)
void gomo (ostream &)
void gomi (istream &)
void xmlo (ostream &)
void svgo (ostream &)

Protected Attributes

graph og
node_map< OGraphic *> nl
edge_map< AGraphic *> el

Detailed Description

OGraph object
Examples:

PExample.cpp.


Constructor & Destructor Documentation

OGraph::OGraph  
 

Constructor

OGraph::OGraph bool    d
 

Constructor true graph is directed false graph is undirected

OGraph::~OGraph  
 

Destructor


Member Function Documentation

void OGraph::attributePush AGraphic   a,
edge    e
[inline]
 

Attribute push according to a read edge, delete the p existing attribute

void OGraph::attributePush AGraphic   a,
int    p
[inline]
 

Attribute push according to a given position, delete the p existing attribute (0 to size-1)

AGraphic * OGraph::attributeRead edge    e [inline]
 

Attribute read according to a read edge

AGraphic * OGraph::attributeRead int    p [inline]
 

Attribute read according to a given position (0 to size-1)

void OGraph::attributeWrite AGraphic   a,
edge    e
[inline]
 

Attribute write according to a read edge

void OGraph::attributeWrite AGraphic   a,
int    p
[inline]
 

Attribute write according to a given position (0 to size-1)

OGraphic * OGraph::clone   const [virtual]
 

Clone

Reimplemented from OGraphic.

OGraphic * OGraph::create   const [inline, virtual]
 

Create a new graph object

Reimplemented from OGraphic.

edge OGraph::edgeRead int    p [inline]
 

Edge read according to a given position (0 to size-1)

void OGraph::gomi istream &    is [virtual]
 

GOM input

Reimplemented from OGraphic.

void OGraph::gomo ostream &    os [virtual]
 

GOM output

Reimplemented from OGraphic.

edge OGraph::newEdge node    n1,
node    n2,
AGraphic   a
[inline]
 

New edge between two nodes

edge OGraph::newEdge node    n1,
node    n2
[inline]
 

New edge between two nodes with a AGraphicImpl attribute

edge OGraph::newEdge int    n1,
int    n2,
AGraphic   a
[inline]
 

New edge between two positions (0 to size-1)

edge OGraph::newEdge int    n1,
int    n2
[inline]
 

New edge between two positions with a AGraphicImpl attribute (0 to size-1)

node OGraph::newNode OGraphic   o [inline]
 

New node

node OGraph::newNode   [inline]
 

New node with a OGraphicImpl object

node OGraph::nodeRead int    p [inline]
 

Node read of a given position (0 to size-1)

void OGraph::objectPush OGraphic   o,
node    n
[inline]
 

Object push, delete the p existing object (0 to size-1)

void OGraph::objectPush OGraphic   o,
int    p
[inline]
 

Object push, delete the p existing object (0 to size-1)

OGraphic * OGraph::objectRead node    n [inline]
 

Object read according to a read node

OGraphic * OGraph::objectRead int    p [inline]
 

Object read according to a given position (0 to size-1)

void OGraph::objectWrite OGraphic   o,
node    n
[inline]
 

Object write

void OGraph::objectWrite OGraphic   o,
int    p
[inline]
 

Object write (0 to size-1)

int OGraph::rangeRead AGraphic   a [inline]
 

Range read according to a read OGraphic, or return -1

int OGraph::rangeRead edge    e const [inline]
 

Range read according to a read edge, or return -1

int OGraph::rangeRead OGraphic   o [inline]
 

Range read according to a read OGraphic, or return -1

int OGraph::rangeRead node    n const [inline]
 

Range read of given node, or return -1

void OGraph::readOGraphicArray string &    name,
deque< OGraphic *> &    a
 

Read & parse OGraphic array, and push back into the parameter array 'a' the function search into the contenair objects (Graph and OHL) as a tree search function

deque< OGraphic *> OGraph::readOGraphicArray string &    name
 

Read & parse OGraphic array, and push back into the parameter array 'a' the function search into the contenair objects (Graph and OHL) as a tree search function

deque< OGraphic *> OGraph::readOGraphicArray   [inline]
 

Read OGraphic array, extract OGraphic* from nodes

void OGraph::svgo ostream &    os [virtual]
 

SVG output

Reimplemented from OGraphic.

int OGraph::writeOGraphicArray string &    name,
deque< OGraphic *> &    a,
int    k
 

Write & parse the OGraphic array according to an object name the function search into the container objects (Graph and OHL) as a tree search function Warning: use it with k=0

void OGraph::writeOGraphicArray string &    name,
deque< OGraphic *> &    a
 

Write & parse the OGraphic array according to an object name the function search into the container objects (Graph and OHL) as a tree search function

void OGraph::xmlo ostream &    os [virtual]
 

XML output

Reimplemented from OGraphic.


Member Data Documentation

edge_map<AGraphic*> OGraph::el [protected]
 

node_map<OGraphic*> OGraph::nl [protected]
 

graph OGraph::og [protected]
 


The documentation for this class was generated from the following files:
Generated on Fri Jul 30 19:21:02 2004 for GOMLib by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001