mglib

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

Properties in mgtmnode

type get init

Routines

Routines from mgtmnode__define.pro

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 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 mgtmnode::getProperty

mgtmnode::getProperty [, type=string]

Get properties of the node.

Keywords

type out optional type=string

type code of the node

top mgtmnode::cleanup

mgtmnode::cleanup

Free resources of node.

top mgtmnode::_clone

result = mgtmnode::_clone()

Implement cloning.

Return value

MGtmNode object

top 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 mgtmnode__define

mgtmnode__define

Node representing text or markup of some kind.

File attributes

Modification date: Wed May 14 15:07:14 2014
Lines: 23
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.