The Gnome Chemistry Utils  0.14.10
Public Member Functions | List of all members
gcp::StoichiometryTextTag Class Reference

Stoichiometry. More...

#include <fragment.h>

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

Public Member Functions

 StoichiometryTextTag (double size)
 
virtual ~StoichiometryTextTag ()
 
TextTagRestrict (TextTag *tag)
 
- Public Member Functions inherited from gccv::PositionTextTag
 PositionTextTag (TextPosition position, double size, bool stacked=false, Tag tag=Position)
 
virtual ~PositionTextTag ()
 
void Filter (PangoAttrList *l, unsigned start, unsigned end)
 
bool operator== (TextTag const &tag) const
 
TextTagDuplicate () const
 
TextPosition GetPosition (bool &stacked, double &size) const
 
virtual bool NeedsNewRun ()
 
TextTagRestrict (G_GNUC_UNUSED TextTag *tag)
 
- Public Member Functions inherited from gccv::TextTag
 TextTag (Tag tag, TagPriority priority=TagPriorityFirst)
 
virtual ~TextTag ()
 
virtual TextTagRestrict (TextTag *tag)
 
Tag GetTag (void) const
 
TagPriority GetPriority (void) const
 
void SetStartIndex (unsigned val)
 
unsigned GetStartIndex (void) const
 
unsigned & GetRefStartIndex (void)
 
void SetEndIndex (unsigned val)
 
unsigned GetEndIndex (void) const
 
unsigned & GetRefEndIndex (void)
 
bool GetStacked (void)
 
bool GetNewLine (void)
 

Additional Inherited Members

- Static Public Member Functions inherited from gccv::TextTag
static Tag RegisterTagType ()
 
static bool Order (TextTag *first, TextTag *last)
 
- Static Public Attributes inherited from gccv::TextTag
static Tag MaxTag
 
- Protected Attributes inherited from gccv::TextTag
bool m_Stacked
 
bool m_NewLine
 

Detailed Description

Stoichiometry.

TextTag class for stoichiometry. Text using this tag will appear as subscript and interpreted as a stoichiometric index.

Definition at line 76 of file fragment.h.

Constructor & Destructor Documentation

gcp::StoichiometryTextTag::StoichiometryTextTag ( double  size)
Parameters
sizea default font size.

Constructs a new StoichiometryTextTag.

virtual gcp::StoichiometryTextTag::~StoichiometryTextTag ( )
virtual

The destructor.

Member Function Documentation

TextTag* gcp::StoichiometryTextTag::Restrict ( TextTag tag)
Parameters
taga TextTag.

Implementation of TextTag::Restrict for the StoichiometryTextTag class.

Returns
the new TextTag if this split or NULL.

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