Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::EdgeTraceTypes Class Reference

#include <edgeTraceTypes.hh>

Inheritance diagram for concepts::EdgeTraceTypes:
concepts::Semantics< EdgeTraceType > concepts::OutputOperator

Public Member Functions

 EdgeTraceTypes ()
 
virtual ~EdgeTraceTypes ()
 
virtual EdgeTraceType operator() (Attribute attrib) const
 
void add (const Attribute &attrib, const EdgeTraceType &ettObject)
 
void add (const Set< Attribute > &attrib, const EdgeTraceType &ettObject)
 
Set< uintdomain () const
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Detailed Description

Edge Tracetypes

The tracetypes itself are held in a dynamic array. The application operator returns a boundary condition object based on its attribute.

Adding EdgeTraceTypes is done using the add method.

For the default attribute 0 of a free element of the topology a default condition is used:

Author
Robert Gruhlke, 2013

Definition at line 80 of file edgeTraceTypes.hh.

Constructor & Destructor Documentation

◆ EdgeTraceTypes()

concepts::EdgeTraceTypes::EdgeTraceTypes ( )
inline

Default constructor. Sets up the dynamic array.

Definition at line 85 of file edgeTraceTypes.hh.

◆ ~EdgeTraceTypes()

virtual concepts::EdgeTraceTypes::~EdgeTraceTypes ( )
virtual

Destructor

Member Function Documentation

◆ add() [1/2]

void concepts::EdgeTraceTypes::add ( const Attribute attrib,
const EdgeTraceType ettObject 
)
inline

Adds an edge-traceType with this attribute to the list of edge Tracetypes.

Be carefull: edge-traceType objects with the same attribute overwrite each other, the latest is valid.

Parameters
attribAttribute of a topological object (ie. edge etc.)
bcObjectBoundary condition object associated to attrib

Definition at line 112 of file edgeTraceTypes.hh.

◆ add() [2/2]

void concepts::EdgeTraceTypes::add ( const Set< Attribute > &  attrib,
const EdgeTraceType ettObject 
)
inline

Definition at line 116 of file edgeTraceTypes.hh.

◆ domain()

Set< uint > concepts::EdgeTraceTypes::domain ( ) const
inline

Method returning the domain of the Map.

Definition at line 126 of file edgeTraceTypes.hh.

◆ info()

virtual std::ostream & concepts::EdgeTraceTypes::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::Semantics< EdgeTraceType >.

◆ operator()()

virtual EdgeTraceType concepts::EdgeTraceTypes::operator() ( Attribute  attrib) const
virtual

Application operator.

Parameters
attribAttribute of a topolgical object
Returns
A reference to the edge-tracetype object associated to the given attribute.

Implements concepts::Semantics< EdgeTraceType >.


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