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

Public Member Functions

void xmlTagCallback (const ConfigurationContext &context, XMLTag &callingTag) override
 Callback at begin of XML tag.
 
void xmlEndTagCallback (const ConfigurationContext &context, XMLTag &callingTag) override
 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

Eigen::VectorXd eigenValue
 
double doubleValue
 
int intValue
 
bool boolValue
 
std::string stringValue
 

Detailed Description

Definition at line 18 of file ParserTest.cpp.

Member Function Documentation

◆ xmlEndTagCallback()

void CallbackHostAttr::xmlEndTagCallback ( const ConfigurationContext & context,
XMLTag & callingTag )
inlineoverridevirtual

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 48 of file ParserTest.cpp.

◆ xmlTagCallback()

void CallbackHostAttr::xmlTagCallback ( const ConfigurationContext & context,
XMLTag & callingTag )
inlineoverridevirtual

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 25 of file ParserTest.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ boolValue

bool CallbackHostAttr::boolValue

Definition at line 22 of file ParserTest.cpp.

◆ doubleValue

double CallbackHostAttr::doubleValue

Definition at line 20 of file ParserTest.cpp.

◆ eigenValue

Eigen::VectorXd CallbackHostAttr::eigenValue

Definition at line 19 of file ParserTest.cpp.

◆ intValue

int CallbackHostAttr::intValue

Definition at line 21 of file ParserTest.cpp.

◆ stringValue

std::string CallbackHostAttr::stringValue

Definition at line 23 of file ParserTest.cpp.


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