TextTagTable Class Reference

List of all members.

Detailed Description

A set of tags that can be used together.


Public Member Functions

 this ()
 Creates a new empty tag table.
void add (TextTag tag)
 Adds a tag to this tag table.
void remove (TextTag tag)
 removes a tag from this tag table
TextTag lookup (char[] name)
 Gets a tag from this table by name.
gint getSize ()
 Gets the size of this tag table.

Static Public Member Functions

GType getType ()
 Gets this class type.


Member Function Documentation

void TextTagTable.add TextTag  tag  ) 
 

Adds a tag to this tag table.

Parameters:
tag the tag to add

gint TextTagTable.getSize  ) 
 

Gets the size of this tag table.

Returns:
the number of entries on this tag table

GType TextTagTable.getType  )  [static]
 

Gets this class type.

Returns:
this class type

TextTag TextTagTable.lookup char[]  name  ) 
 

Gets a tag from this table by name.

Parameters:
name the tag name

void TextTagTable.remove TextTag  tag  ) 
 

removes a tag from this tag table

Parameters:
tag the tag to remove

TextTagTable.this  ) 
 

Creates a new empty tag table.


SourceForge.net Logo DSource.org Logo digitalmars.com Logo