class gxl_typedElement

base class for most gxl elements

Inheritance:


Public Fields

[more]vector<gxl_attr*> my_attrs
[more]gxl_type* my_type
[more]string id

Public Methods

[more] gxl_typedElement ()
[more] gxl_typedElement (const string& id)
[more] gxl_typedElement (const string& name, XMLIO_Attributes& attrs)
construct a typed element from start tag
[more]virtual XMLIO_Element* XMLIO_startTag (const string& name, XMLIO_Attributes &attrs)
[more]virtual void print () const
[more]virtual const int XMLIO_writeContent (XMLIO_Document&) const
writes type and all attributes
[more]virtual const XMLIO_Attributes& XMLIO_getAttributes () const
clears internal attributes and sets id
[more]virtual const char* toString () const

Private Methods

[more]void init_members ()


Inherited from XMLIO_Element:

Public Fields

oXMLIO_string tag
oXMLIO_Attributes attributes
oXMLIO_IndentationType xmlio_indent_type

Public Methods

ovirtual void XMLIO_endTag(const XMLIO_string& tag)
ovirtual void XMLIO_getCharacters(const XMLIO_string& characters)
ovirtual void XMLIO_getComment(const XMLIO_string& comment)
ovirtual void XMLIO_getProcessingInstruction(const XMLIO_string& target, const XMLIO_string& instructions)
ovirtual void XMLIO_finishedReading()
ovirtual bool XMLIO_remove() const
ovirtual const XMLIO_string& XMLIO_getName() const
ovirtual bool XMLIO_isEmpty() const


Documentation

base class for most gxl elements
o gxl_typedElement()

o gxl_typedElement(const string& id)
Parameters:
id - : unique id of typed element

o gxl_typedElement(const string& name, XMLIO_Attributes& attrs)
construct a typed element from start tag
Parameters:
- name Name of this tag
- attributes Attributes of this tag

ovirtual XMLIO_Element* XMLIO_startTag(const string& name, XMLIO_Attributes &attrs)

ovirtual void print() const

ovirtual const int XMLIO_writeContent(XMLIO_Document&) const
writes type and all attributes

ovirtual const XMLIO_Attributes& XMLIO_getAttributes() const
clears internal attributes and sets id
Returns:
only id is set.

ovirtual const char* toString() const

ovector<gxl_attr*> my_attrs

ogxl_type* my_type

ostring id

ovoid init_members()


Direct child classes:
gxl_rel
gxl_node
gxl_graph
gxl_edge
gxl_attr

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.