|
cgma
|
#include <Chain.hpp>
Public Member Functions | |
| Chain () | |
| virtual | ~Chain () |
| DagType | dag_type () const |
| RefVertex * | start_vertex () |
| RefVertex * | end_vertex () |
| CoVertex * | start_co_vertex () |
| CoVertex * | end_co_vertex () |
Private Member Functions | |
| Chain (const Chain &) | |
| void | operator= (const Chain &) |
| Chain::Chain | ( | ) |
| Chain::~Chain | ( | ) | [virtual] |
| Chain::Chain | ( | const Chain & | ) | [private] |
| DagType Chain::dag_type | ( | ) | const [inline, virtual] |
Implements TopologyEntity.
Definition at line 42 of file Chain.hpp.
{ return DagType::chain_type(); }
| CoVertex * Chain::end_co_vertex | ( | ) |
Definition at line 131 of file Chain.cpp.
{
// Get last CoVertex in chain
SenseEntity* se_ptr = get_last_sense_entity_ptr();
return static_cast<CoVertex*>(se_ptr);
}
| RefVertex * Chain::end_vertex | ( | ) |
Definition at line 102 of file Chain.cpp.
{
// Get last CoVertex in chain
SenseEntity* se_ptr = get_last_sense_entity_ptr();
if (!se_ptr)
return 0;
// Get RefVertex from CoVertex
BasicTopologyEntity* bte_ptr = se_ptr->get_basic_topology_entity_ptr();
return static_cast<RefVertex*>(bte_ptr);
}
| void Chain::operator= | ( | const Chain & | ) | [private] |
Definition at line 124 of file Chain.cpp.
{
// Get first CoVertex in chain
SenseEntity* se_ptr = get_first_sense_entity_ptr();
return static_cast<CoVertex*>(se_ptr);
}
| RefVertex * Chain::start_vertex | ( | ) |
Definition at line 90 of file Chain.cpp.
{
// Get first CoVertex in chain
SenseEntity* se_ptr = get_first_sense_entity_ptr();
if (!se_ptr)
return 0;
// Get RefVertex from CoVertex
BasicTopologyEntity* bte_ptr = se_ptr->get_basic_topology_entity_ptr();
return static_cast<RefVertex*>(bte_ptr);
}