#include <connector.hh>
Public Member Functions | |
virtual Connector0 * | child (uint i, bool mode=0)=0 |
virtual const Connector0 * | child (uint i) const =0 |
int | operator== (const Connector &cntr) const |
Comparison operator. | |
const Key & | key () const |
Returns the key of the connector. | |
const Attribute & | attrib () const |
Returns the attribute of the connector. | |
void | setAttrib (uint attrb) |
int | related (const Connector &conn) const |
Static Public Member Functions | |
static void | reset () |
static uint | cnt () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Protected Attributes | |
Key | key_ |
Unique key of the connector. | |
Attribute | attrib_ |
Attribute. | |
Static Protected Attributes | |
static uint | cnt_ |
Classes which allow for testing purpose (!) to reset internal counter of each connector type.
Can be used if there are several testing procedures with different meshes. Reseting the counter enables the testing and debugging independent from each other.
NEVER use this classes if there is a single connector present, ONLY if all previous connectors are deleted.
Definition at line 343 of file connector.hh.
|
inlineinherited |
Returns the attribute of the connector.
Definition at line 108 of file connector.hh.
|
pure virtualinherited |
Implements concepts::Connector.
|
pure virtualinherited |
Returns the ith child of the connector.
i | Index of the child |
mode | If mode = false(0) the child is created if it does not yet exist, if mode = true(1) no new children are created (ie. 0 is returned if no children exist). |
Implements concepts::Connector.
Implemented in concepts::Vertex.
|
inlinestatic |
Definition at line 346 of file connector.hh.
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in concepts::Vertex, concepts::Edge, concepts::InfiniteEdge, concepts::Triangle, concepts::Quad, concepts::InfiniteQuad, concepts::Tetrahedron, concepts::Hexahedron, concepts::SphericalSurface, and concepts::Sphere.
|
inlineinherited |
Returns the key of the connector.
Definition at line 105 of file connector.hh.
|
inlineinherited |
Comparison operator.
Definition at line 102 of file connector.hh.
|
inherited |
Checks if this connector is related to conn
. It is being checked if one of the two is an ancestor of the other.
conn | Other connector |
conn
is an ancestor of this connectorconn
is a descendant of this connector
|
inlinestatic |
Definition at line 345 of file connector.hh.
|
inlineinherited |
Definition at line 111 of file connector.hh.
|
protectedinherited |
Attribute.
Definition at line 132 of file connector.hh.
|
staticprotectedinherited |
Counter for the connectors. This counter is used to create the unique key of the connector.
Definition at line 168 of file connector.hh.
|
protectedinherited |
Unique key of the connector.
Definition at line 129 of file connector.hh.