COPASI API  4.40.278
ReportSectionHandler Class Reference

#include <ReportSectionHandler.h>

Inheritance diagram for ReportSectionHandler:
[legend]

Public Member Functions

 ReportSectionHandler (CXMLParser &parser, CXMLParserData &data)
 
virtual ~ReportSectionHandler ()
 
- 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)
 
void setSectionContent (std::vector< CRegisteredCommonName > *pSectionContent)
 
- 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

 ReportSectionHandler ()
 

Private Attributes

std::vector< CRegisteredCommonName > * mpSectionContent
 

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

◆ ReportSectionHandler() [1/2]

ReportSectionHandler::ReportSectionHandler ( )
private

◆ ReportSectionHandler() [2/2]

ReportSectionHandler::ReportSectionHandler ( CXMLParser parser,
CXMLParserData data 
)

Constructor

Parameters
CXMLParser& parser
CXMLParserData& data

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

References CXMLHandler::init().

◆ ~ReportSectionHandler()

ReportSectionHandler::~ReportSectionHandler ( )
virtual

Destructor

Member Function Documentation

◆ getProcessLogic()

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

Retrieve the structure containing the process logic for the handler.

Returns
sElementInfo *

Implements CXMLHandler.

References CXMLHandler::AFTER, CXMLHandler::BEFORE, CXMLHandler::Body, CXMLHandler::Footer, CXMLHandler::HANDLER_COUNT, CXMLHandler::Header, CXMLHandler::Object, and CXMLHandler::ReportSection.

◆ processEnd()

bool ReportSectionHandler::processEnd ( const XML_Char *  pszName)
protectedvirtual

◆ processStart()

◆ setSectionContent()

void ReportSectionHandler::setSectionContent ( std::vector< CRegisteredCommonName > *  pSectionContent)
protected

References mpSectionContent.

Member Data Documentation

◆ mpSectionContent

std::vector< CRegisteredCommonName >* ReportSectionHandler::mpSectionContent
private

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