preCICE v3.1.2
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ContextListener Struct Reference
Inheritance diagram for ContextListener:
[legend]
Collaboration diagram for ContextListener:
[legend]

Public Member Functions

void xmlTagCallback (const ConfigurationContext &context, XMLTag &callingTag)
 Callback at begin of XML tag.
 
void xmlEndTagCallback (const ConfigurationContext &context, XMLTag &callingTag)
 Callback at end of XML tag and at end of subtag.
 
- Public Member Functions inherited from precice::xml::XMLTag::Listener
Listeneroperator= (Listener &&)=delete
 
virtual ~Listener ()
 

Public Attributes

ConfigurationContext startContext
 
ConfigurationContext endContext
 

Detailed Description

Definition at line 153 of file ParserTest.cpp.

Member Function Documentation

◆ xmlEndTagCallback()

void ContextListener::xmlEndTagCallback ( const ConfigurationContext & context,
XMLTag & callingTag )
inlinevirtual

Callback at end of XML tag and at end of subtag.

At this callback, the attributes and all subtags of callingTag are parsed. This callback is first done for the listener, and then for the parent tag listener (if existing).

Implements precice::xml::XMLTag::Listener.

Definition at line 162 of file ParserTest.cpp.

◆ xmlTagCallback()

void ContextListener::xmlTagCallback ( const ConfigurationContext & context,
XMLTag & callingTag )
inlinevirtual

Callback at begin of XML tag.

At this callback, the attributes of the callingTag are already parsed and available, while the subtags are not yet parsed.

Implements precice::xml::XMLTag::Listener.

Definition at line 157 of file ParserTest.cpp.

Member Data Documentation

◆ endContext

ConfigurationContext ContextListener::endContext

Definition at line 155 of file ParserTest.cpp.

◆ startContext

ConfigurationContext ContextListener::startContext

Definition at line 154 of file ParserTest.cpp.


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