COPASI API  4.16.103
Public Member Functions | Private Types | Private Attributes | List of all members
UnsupportedAnnotationElement Class Reference

#include <ListOfUnsupportedAnnotations.h>

Inheritance diagram for UnsupportedAnnotationElement:
Inheritance graph
[legend]
Collaboration diagram for UnsupportedAnnotationElement:
Collaboration graph
[legend]

Public Member Functions

virtual void end (const XML_Char *pszName)
 
const std::string & getName () const
 
std::string getXML () const
 
virtual void start (const XML_Char *pszName, const XML_Char **papszAttrs)
 
 UnsupportedAnnotationElement (CCopasiXMLParser &parser, SCopasiXMLParserCommon &common)
 
virtual ~UnsupportedAnnotationElement ()
 
- Public Member Functions inherited from CXMLElementHandler< CCopasiXMLParser, SCopasiXMLParserCommon >
 CXMLElementHandler (CCopasiXMLParser &parser, SCopasiXMLParserCommon &common)
 
virtual void end (const XML_Char *C_UNUSED(pszName))
 
virtual void reset ()
 
virtual void start (const XML_Char *C_UNUSED(pszName), const XML_Char **C_UNUSED(papszAttrs))
 
virtual ~CXMLElementHandler ()
 

Private Types

enum  Element { UnsupportedAnnotation = 0, Content }
 

Private Attributes

std::stack< bool > mElementEmpty
 
size_t mLevel
 
std::string mName
 
std::ostringstream mXML
 

Additional Inherited Members

- Protected Member Functions inherited from CXMLElementHandler< CCopasiXMLParser, SCopasiXMLParserCommon >
void addFix (const std::string &key, CCopasiObject *pObject)
 
void deleteCurrentHandler ()
 
- Protected Attributes inherited from CXMLElementHandler< CCopasiXMLParser, SCopasiXMLParserCommon >
SCopasiXMLParserCommonmCommon
 
C_INT32 mCurrentElement
 
C_INT32 mLastKnownElement
 
CCopasiXMLParsermParser
 
CXMLElementHandlermpCurrentHandler
 

Detailed Description

Definition at line 24 of file ListOfUnsupportedAnnotations.h.

Member Enumeration Documentation

Enum of invoked parsers

Enumerator
UnsupportedAnnotation 
Content 

Definition at line 31 of file ListOfUnsupportedAnnotations.h.

Constructor & Destructor Documentation

UnsupportedAnnotationElement::UnsupportedAnnotationElement ( CCopasiXMLParser parser,
SCopasiXMLParserCommon common 
)

Constructor

virtual UnsupportedAnnotationElement::~UnsupportedAnnotationElement ( )
virtual

Destructor

Member Function Documentation

virtual void UnsupportedAnnotationElement::end ( const XML_Char *  pszName)
virtual

End element handler

Parameters
constXML_Char *pszName
const std::string& UnsupportedAnnotationElement::getName ( ) const

Retrieve the name

Returns
const std::string & name
std::string UnsupportedAnnotationElement::getXML ( ) const

Retrieve the XML

Returns
std::string XML
virtual void UnsupportedAnnotationElement::start ( const XML_Char *  pszName,
const XML_Char **  papszAttrs 
)
virtual

Start element handler

Parameters
constXML_Char *pszName
constXML_Char **papszAttrs

Member Data Documentation

std::stack< bool > UnsupportedAnnotationElement::mElementEmpty
private

Information whether an element is empty

Definition at line 95 of file ListOfUnsupportedAnnotations.h.

size_t UnsupportedAnnotationElement::mLevel
private

The level of nested XML elements.

Definition at line 90 of file ListOfUnsupportedAnnotations.h.

std::string UnsupportedAnnotationElement::mName
private

The name of the unsupported annotation

Definition at line 80 of file ListOfUnsupportedAnnotations.h.

std::ostringstream UnsupportedAnnotationElement::mXML
private

String stream to handle XML content

Definition at line 85 of file ListOfUnsupportedAnnotations.h.


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