Public Member Functions

gcp::ChargeTextTag Class Reference

Charge. More...

#include <fragment.h>

Inheritance diagram for gcp::ChargeTextTag:
gccv::PositionTextTag gccv::TextTag

List of all members.

Public Member Functions

 ChargeTextTag (double size)
virtual ~ChargeTextTag ()
TextTag * Restrict (TextTag *tag)

Detailed Description

Charge.

TextTag class for charge. Text using this tag will appear as superscript and interpreted as an electric charge.

Definition at line 47 of file fragment.h.


Constructor & Destructor Documentation

gcp::ChargeTextTag::ChargeTextTag ( double  size  ) 
Parameters:
size a default font size.

Constructs a new ChargeTextTag.

virtual gcp::ChargeTextTag::~ChargeTextTag (  )  [virtual]

The destructor.


Member Function Documentation

TextTag* gcp::ChargeTextTag::Restrict ( TextTag *  tag  ) 
Parameters:
tag a TextTag.

Implementation of TextTag::Restrict for the ChargeTextTag class.

Returns:
the new TextTag if this split or NULL.

The documentation for this class was generated from the following file: