|
virtual Connector3 * | child (uint i, bool mode=0)=0 |
|
virtual const Connector3 * | child (uint i) const =0 |
|
virtual Connector1 * | edge (uint i) const =0 |
|
virtual Connector2 * | face (uint i) const =0 |
|
virtual Connector0 * | vertex (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 |
|
|
virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream.
|
|
Definition at line 358 of file connector.hh.
◆ attrib()
const Attribute & concepts::Connector::attrib |
( |
| ) |
const |
|
inlineinherited |
Returns the attribute of the connector.
Definition at line 108 of file connector.hh.
◆ child() [1/2]
virtual const Connector3 * concepts::Connector3::child |
( |
uint |
i | ) |
const |
|
pure virtualinherited |
◆ child() [2/2]
Returns the ith child of the connector.
- Parameters
-
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). |
- Invariant
- Either all children or no children exist.
Implements concepts::Connector.
Implemented in concepts::Sphere, concepts::Tetrahedron, and concepts::Hexahedron.
◆ cnt()
static uint test::ResetConnector3::cnt |
( |
| ) |
|
|
inlinestatic |
◆ edge()
virtual Connector1 * concepts::Connector3::edge |
( |
uint |
i | ) |
const |
|
pure virtualinherited |
◆ face()
virtual Connector2 * concepts::Connector3::face |
( |
uint |
i | ) |
const |
|
pure virtualinherited |
◆ info()
virtual std::ostream & concepts::Connector::info |
( |
std::ostream & |
os | ) |
const |
|
protectedvirtualinherited |
◆ key()
const Key & concepts::Connector::key |
( |
| ) |
const |
|
inlineinherited |
Returns the key of the connector.
Definition at line 105 of file connector.hh.
◆ operator==()
int concepts::Connector::operator== |
( |
const Connector & |
cntr | ) |
const |
|
inlineinherited |
◆ related()
int concepts::Connector::related |
( |
const Connector & |
conn | ) |
const |
|
inherited |
Checks if this connector is related to conn
. It is being checked if one of the two is an ancestor of the other.
- Parameters
-
- Returns
- An integer i.
i=0 if there is no relationship or the connectors are identical
i>0 if conn
is an ancestor of this connector
i<0 if conn
is a descendant of this connector
|i| gives the number of generations between the connectors
◆ reset()
static void test::ResetConnector3::reset |
( |
| ) |
|
|
inlinestatic |
◆ setAttrib()
void concepts::Connector::setAttrib |
( |
uint |
attrb | ) |
|
|
inlineinherited |
◆ vertex()
virtual Connector0 * concepts::Connector3::vertex |
( |
uint |
i | ) |
const |
|
pure virtualinherited |
◆ attrib_
Attribute concepts::Connector::attrib_ |
|
protectedinherited |
◆ cnt_
uint concepts::Connector3::cnt_ |
|
staticprotectedinherited |
Counter for the connectors. This counter is used to create the unique key of the connector.
Definition at line 322 of file connector.hh.
◆ key_
Key concepts::Connector::key_ |
|
protectedinherited |
The documentation for this class was generated from the following file: