idllib

Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes

textmarkup/

mgtmnode__define.pro


Base class for any objects in a text markup hierarchy, i.e., tags and text objects.

Class description for mgtmnode

Subclasses: mgtmtag mgtmtext

Properties

type get init

Routines

mgtmnode::_print [, indent=string]

Interface that MGtmTag and MGtmText should implement.

mgtmnode::getProperty [, type=string]

Get properties of the node.

mgtmnode::cleanup

Free resources of node.

result = mgtmnode::_clone()

Implement cloning.

result = mgtmnode::init( [type=string])

Create a node in the markup tree.

mgtmnode__define

Node representing text or markup of some kind.

Routine details

top source mgtmnode::_printabstract

mgtmnode::_print [, indent=string]

Interface that MGtmTag and MGtmText should implement. Helper routine for debugging.

Keywords

indent in optional type=string

prefix to print before each line, usually set to several spaces

top source mgtmnode::getProperty

mgtmnode::getProperty [, type=string]

Get properties of the node.

Keywords

type out optional type=string

type code of the node

top source mgtmnode::cleanup

mgtmnode::cleanup

Free resources of node.

top source mgtmnode::_clone

result = mgtmnode::_clone()

Implement cloning.

Return value

MGtmNode object

top source mgtmnode::init

result = mgtmnode::init( [type=string])

Create a node in the markup tree.

Return value

1 for success, 0 for failure

Keywords

type in optional type=string

type code indicating type of node

top source mgtmnode__define

mgtmnode__define

Node representing text or markup of some kind.

File attributes

Modification date: Wed Feb 16 14:22:33 2011
Lines: 91
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.