|
Sierra Toolkit Version of the Day
|
A relation between two mesh entities with a relation identifier and kind . More...
#include <Relation.hpp>
Public Types | |
| typedef uintptr_t | raw_attr_type |
Public Member Functions | |
| ~Relation () | |
| Destructor. | |
| Relation () | |
| Constructor. | |
| Relation (const Relation &r) | |
| Copy Constructor. | |
| Relation & | operator= (const Relation &r) |
| Assignment operator. | |
| Relation (raw_attr_type attr, Entity &entity) | |
| Construct a relation from an encoded relation attribute and a referenced entity. | |
| Relation (Entity &entity, unsigned identifier) | |
| Construct a relation from a referenced entity, local identifier, kind, and converse flag. | |
| raw_attr_type | attribute () const |
| The encoded relation attribute. | |
| unsigned | entity_rank () const |
| The rank of the referenced entity. | |
| unsigned | identifier () const |
| The local relation identifier. | |
| Entity * | entity () const |
| The referenced entity. | |
| bool | operator== (const Relation &r) const |
| Equality operator. | |
| bool | operator!= (const Relation &r) const |
| Inequality operator. | |
| bool | operator< (const Relation &r) const |
| Ordering operator. | |
Static Public Member Functions | |
| static raw_attr_type | attribute (unsigned rank, unsigned id) |
| The encoded relation attribute. | |
A relation between two mesh entities with a relation identifier and kind .
Each entity owns a collection of relations to other entities. Each of these relations has a referenced entity, direction, relation identifier, and kind.
Relations are ordered by their
Definition at line 47 of file Relation.hpp.