concepts::EdgeTraceTypes Class Reference
#include <edgeTraceTypes.hh>
Public Member Functions | |
void | add (const Attribute &attrib, const EdgeTraceType &ettObject) |
Adds an edge-traceType with this attribute to the list of edge Tracetypes. More... | |
void | add (const Set< Attribute > &attrib, const EdgeTraceType &ettObject) |
Set< uint > | domain () const |
Method returning the domain of the Map. More... | |
EdgeTraceTypes () | |
Default constructor. More... | |
virtual EdgeTraceType | operator() (Attribute attrib) const |
Application operator. More... | |
virtual | ~EdgeTraceTypes () |
Destructor. More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Private Attributes | |
std::map< uint, EdgeTraceType > | edgeTraceTypes_ |
Map from Attribute to a EdgeTraceType. More... | |
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:
Definition at line 80 of file edgeTraceTypes.hh.
Constructor & Destructor Documentation
◆ EdgeTraceTypes()
|
inline |
◆ ~EdgeTraceTypes()
|
virtual |
Destructor.
Member Function Documentation
◆ add() [1/2]
|
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
-
attrib Attribute of a topological object (ie. edge etc.) bcObject Boundary condition object associated to attrib
Definition at line 112 of file edgeTraceTypes.hh.
◆ add() [2/2]
|
inline |
Definition at line 116 of file edgeTraceTypes.hh.
◆ domain()
|
inline |
Method returning the domain of the Map.
Definition at line 126 of file edgeTraceTypes.hh.
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::Semantics< EdgeTraceType >.
◆ operator()()
|
virtual |
Application operator.
- Parameters
-
attrib Attribute of a topolgical object
- Returns
- A reference to the edge-tracetype object associated to the given attribute.
Implements concepts::Semantics< EdgeTraceType >.
Member Data Documentation
◆ edgeTraceTypes_
|
mutableprivate |
Map from Attribute to a EdgeTraceType.
The index is the number given by the attribute of the topological element.
Definition at line 141 of file edgeTraceTypes.hh.
The documentation for this class was generated from the following file:
- geometry/edgeTraceTypes.hh