COPASI API  4.40.278
ReactionGlyphHandler Class Reference

#include <ReactionGlyphHandler.h>

Inheritance diagram for ReactionGlyphHandler:
[legend]

Public Member Functions

 ReactionGlyphHandler (CXMLParser &parser, CXMLParserData &data)
 
virtual ~ReactionGlyphHandler ()
 
- Public Member Functions inherited from CXMLHandler
 CXMLHandler (CXMLParser &parser, CXMLParserData &data, const Type &type)
 
virtual void end (const XML_Char *pszName)
 
virtual void start (const XML_Char *pszName, const XML_Char **papszAttrs)
 
virtual ~CXMLHandler ()
 

Protected Member Functions

virtual sProcessLogicgetProcessLogic () const
 
virtual bool processEnd (const XML_Char *pszName)
 
virtual CXMLHandlerprocessStart (const XML_Char *pszName, const XML_Char **papszAttrs)
 
- Protected Member Functions inherited from CXMLHandler
void addFix (const std::string &key, CDataObject *pObject)
 
std::string getElementName (const Type &type) const
 
std::string getExpectedElements (const Type &type) const
 
CXMLHandlergetHandler (const Type &type)
 
void init ()
 

Private Member Functions

 ReactionGlyphHandler ()
 

Additional Inherited Members

- Public Types inherited from CXMLHandler
enum  Type {
  BEFORE = 0 , AFTER , UNKNOWN , AdditionalGraphicalObject ,
  Assignment , BasePoint1 , BasePoint2 , Body ,
  BoundingBox , CallParameter , ChannelSpec , CharacterData ,
  ColorDefinition , Comment , Compartment , CompartmentGlyph ,
  Constant , COPASI , CubicBezier , Curve ,
  CurveSegment , DelayExpression , Dimensions , Ellipse ,
  End , Event , Expression , Footer ,
  Function , GradientStop , Group , GUI ,
  Header , Image , InitialExpression , InitialState ,
  KineticLaw , Layout , LinearGradient , LineEnding ,
  LineSegment , ListOfAdditionalGraphicalObjects , ListOfAssignments , ListOfCallParameters ,
  ListOfChannels , ListOfColorDefinitions , ListOfCompartmentGlyphs , ListOfCompartments ,
  ListOfConstants , ListOfCurveSegments , ListOfElements , ListOfEvents ,
  ListOfFunctions , ListOfGlobalRenderInformation , ListOfGradientDefinitions , ListOfLayouts ,
  ListOfLineEndings , ListOfMetabGlyphs , ListOfMetaboliteReferenceGlyphs , ListOfMetabolites ,
  ListOfModelParameterSets , ListOfModelValues , ListOfModifiers , ListOfParameterDescriptions ,
  ListOfPlotItems , ListOfPlots , ListOfProducts , ListOfReactionGlyphs ,
  ListOfReactions , ListOfRenderInformation , ListOfReports , ListOfSliders ,
  ListOfStyles , ListOfSubstrates , ListOfTasks , ListOfTextGlyphs ,
  ListOfUnitDefinitions , ListOfUnsupportedAnnotations , MathML , Metabolite ,
  MetaboliteGlyph , MetaboliteReferenceGlyph , Method , MiriamAnnotation ,
  Model , ModelParameter , ModelParameterGroup , ModelParameterSet ,
  ModelValue , Modifier , NoiseExpression , Object ,
  Parameter , ParameterDescription , ParameterGroup , ParameterText ,
  PlotItem , PlotSpecification , Point , Polygon ,
  Position , PriorityExpression , Problem , Product ,
  RadialGradient , Reaction , ReactionGlyph , Rectangle ,
  RenderCurve , RenderCurveElement , RenderInformation , RenderText ,
  ReportDefinition , ReportSection , ReportTarget , SBMLMap ,
  SBMLReference , Slider , SourceParameter , Start ,
  StateTemplate , StateTemplateVariable , Style , Substrate ,
  Table , Task , Text , TextGlyph ,
  TriggerExpression , Unit , UnitDefinition , UnsupportedAnnotation ,
  HANDLER_COUNT
}
 
- Protected Attributes inherited from CXMLHandler
std::pair< Type, TypemCurrentElement
 
std::map< std::string, std::pair< Type, Type > > mElementName2Type
 
Type mElementType
 
const Type mHandlerType
 
std::pair< Type, TypemLastKnownElement
 
size_t mLevel
 
CXMLParserDatampData
 
CXMLParsermpParser
 
std::map< Type, std::set< Type > > mValidElements
 

Constructor & Destructor Documentation

◆ ReactionGlyphHandler() [1/2]

ReactionGlyphHandler::ReactionGlyphHandler ( )
private

◆ ReactionGlyphHandler() [2/2]

ReactionGlyphHandler::ReactionGlyphHandler ( CXMLParser parser,
CXMLParserData data 
)

Constructor

Parameters
CXMLParser& parser
CXMLParserData& data

Replace ReactionGlyph with the name type of the handler and implement the three methods below.

References CXMLHandler::init().

◆ ~ReactionGlyphHandler()

ReactionGlyphHandler::~ReactionGlyphHandler ( )
virtual

Destructor

Member Function Documentation

◆ getProcessLogic()

CXMLHandler::sProcessLogic * ReactionGlyphHandler::getProcessLogic ( ) const
protectedvirtual

Retrieve the structure containing the process logic for the handler.

Returns
sElementInfo *

Implements CXMLHandler.

References CXMLHandler::AFTER, CXMLHandler::BEFORE, CXMLHandler::BoundingBox, CXMLHandler::Curve, CXMLHandler::HANDLER_COUNT, CXMLHandler::ListOfMetaboliteReferenceGlyphs, and CXMLHandler::ReactionGlyph.

◆ processEnd()

◆ processStart()


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