MaMiCo 1.2
Loading...
Searching...
No Matches
coupling::configurations::ParallelTopologyConfiguration Class Reference

reads parallel topology configuration. XYZ and ZYX are supported. More...

#include <ParallelTopologyConfiguration.h>

Inheritance diagram for coupling::configurations::ParallelTopologyConfiguration:
Collaboration diagram for coupling::configurations::ParallelTopologyConfiguration:

Public Member Functions

 ParallelTopologyConfiguration ()
 
virtual ~ParallelTopologyConfiguration ()
 
void parseSubtag (tinyxml2::XMLElement *node)
 
std::string getTag () const
 
bool isValid () const
 
coupling::paralleltopology::ParallelTopologyType getParallelTopologyType () const
 
- Public Member Functions inherited from tarch::configuration::Configuration
virtual ~Configuration ()
 

Protected Member Functions

 ParallelTopologyConfiguration (coupling::paralleltopology::ParallelTopologyType type)
 

Private Attributes

coupling::paralleltopology::ParallelTopologyType _type
 
bool _isValid
 

Detailed Description

reads parallel topology configuration. XYZ and ZYX are supported.

reads parallel topology configuration. XYZ and ZYX are supported.. Derive from the class tarch::configuration::Configuration

Author
Philipp Neumann

Constructor & Destructor Documentation

◆ ParallelTopologyConfiguration()

coupling::configurations::ParallelTopologyConfiguration::ParallelTopologyConfiguration ( )
inline

Constructor, initializes the class

◆ ~ParallelTopologyConfiguration()

virtual coupling::configurations::ParallelTopologyConfiguration::~ParallelTopologyConfiguration ( )
inlinevirtual

Destructor

Member Function Documentation

◆ getParallelTopologyType()

coupling::paralleltopology::ParallelTopologyType coupling::configurations::ParallelTopologyConfiguration::getParallelTopologyType ( ) const
inline

Returns the parallel topology type.

Returns
_type

◆ getTag()

std::string coupling::configurations::ParallelTopologyConfiguration::getTag ( ) const
inlinevirtual

Returns name of xml tag that is associated to the configuration.

Returns
name of xml tag that is associated to the configuration

Implements tarch::configuration::Configuration.

◆ isValid()

bool coupling::configurations::ParallelTopologyConfiguration::isValid ( ) const
inlinevirtual

checks if the configuration is valid. This operation usually fails, if e.g. 1. parseSubtag() hasn't been called, i.e. configuration has not been used, or 2. parseSubtag() failed due to a wrong file.

Returns
_isValid

Implements tarch::configuration::Configuration.

◆ parseSubtag()

void coupling::configurations::ParallelTopologyConfiguration::parseSubtag ( tinyxml2::XMLElement * node)
inlinevirtual

Parses a XML-element.

Parameters
nodea pointer to the xml-element from tinyxml2 class

Implements tarch::configuration::Configuration.


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