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

OHL Class Reference

#include <OHL.hpp>

Inheritance diagram for OHL::

OGraphic List of all members.

Public Methods

OGraphicclone () const
OGraphiccreate () const
 OHL ()
 ~OHL ()
void oClear ()
void aClear ()
int osize ()
void newObject ()
void newObject (OGraphic *)
void deleteObject (int)
OGraphicobjectRead (int)
int rangeRead (OGraphic *)
void objectWrite (OGraphic *, int)
void objectPush (OGraphic *, int)
void objectInsert (OGraphic *, int)
int asize ()
void newAttribute ()
void newAttribute (AGraphic *)
void deleteAttribute (int)
AGraphicattributeRead (int)
int rangeRead (AGraphic *)
void attributeWrite (AGraphic *, int)
void attributePush (AGraphic *, int)
void attributeInsert (AGraphic *, int)
string getFOName ()
string getFAName ()
bool sameObject ()
bool sameObject (string &)
bool sameAttribute ()
bool sameAttribute (string &)
deque< OGraphic *> readOGraphicArray ()
deque< OGraphic *> readOGraphicArray (string &)
void readOGraphicArray (string &, deque< OGraphic *> &)
void writeOGraphicArray (deque< OGraphic *> &)
void addOGraphicArray (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 Methods

void svgPoint (ostream &)
bool pointsClosed ()
void svgLine (ostream &)
bool linesClosed ()

Protected Attributes

deque< OGraphic *> oa
deque< AGraphic *> aa

Detailed Description

OHL object
Examples:

PExample.cpp.


Constructor & Destructor Documentation

OHL::OHL  
 

Constructor

OHL::~OHL  
 

Destructor


Member Function Documentation

void OHL::aClear  
 

Attribute array clear

void OHL::addOGraphicArray deque< OGraphic *> &    a
 

Add (writting) the OGraphic array

int OHL::asize   [inline]
 

Attribute array size

void OHL::attributeInsert AGraphic   a,
int    p
[inline]
 

Attribute insert (0 to size-1)

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

Attribute push, delete the p existing attribute (0 to size-1)

AGraphic * OHL::attributeRead int    p [inline]
 

Attribute read (0 to size-1)

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

Attribute write (0 to size-1)

OGraphic * OHL::clone   const [virtual]
 

Clone

Reimplemented from OGraphic.

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

Create a new OHL object

Reimplemented from OGraphic.

void OHL::deleteAttribute int    p [inline]
 

Delete attribute (0 to size-1)

void OHL::deleteObject int    p [inline]
 

Delete object (0 to size-1)

string OHL::getFAName  
 

Return first attribute name or "none"

string OHL::getFOName  
 

Return first object name or "none"

void OHL::gomi istream &    is [virtual]
 

GOM input

Reimplemented from OGraphic.

void OHL::gomo ostream &    os [virtual]
 

GOM output

Reimplemented from OGraphic.

bool OHL::linesClosed   [protected]
 

The OHL's lines are closed

void OHL::newAttribute AGraphic   a [inline]
 

New attribute

void OHL::newAttribute   [inline]
 

New attribute

void OHL::newObject OGraphic   o [inline]
 

New object

void OHL::newObject   [inline]
 

New object

void OHL::objectInsert OGraphic   o,
int    p
[inline]
 

Object insert (0 to size-1)

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

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

OGraphic * OHL::objectRead int    p [inline]
 

Object read (0 to size-1)

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

Object write (0 to size-1)

void OHL::oClear  
 

Object array clear

int OHL::osize   [inline]
 

Object array size

bool OHL::pointsClosed   [protected]
 

The OHL's points are closed

int OHL::rangeRead AGraphic   a [inline]
 

Range read

int OHL::rangeRead OGraphic   o [inline]
 

Range read

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

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

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

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

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

Read OGraphic array

bool OHL::sameAttribute string &    name
 

Return true if OHL is composed of a same given attribute name

bool OHL::sameAttribute  
 

Return true if OHL is composed of same attribute

bool OHL::sameObject string &    name
 

Return true if OHL is composed of same given object name

bool OHL::sameObject  
 

Return true if OHL is composed of same objects

void OHL::svgLine ostream &    os [protected]
 

SVG output of OLine OHL for reducing svg code size

void OHL::svgo ostream &    os [virtual]
 

SVG output

Reimplemented from OGraphic.

void OHL::svgPoint ostream &    os [protected]
 

SVG output of OPoint OHL for reducing svg code size

int OHL::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 OHL::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 OHL::writeOGraphicArray deque< OGraphic *> &    a
 

Write & erase the OGraphic array

void OHL::xmlo ostream &    os [virtual]
 

XML output

Reimplemented from OGraphic.


Member Data Documentation

deque<AGraphic*> OHL::aa [protected]
 

deque<OGraphic*> OHL::oa [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