cgma
|
#include <DagType.hpp>
Definition at line 6 of file DagType.hpp.
Definition at line 11 of file DagType.hpp.
{ BasicTopologyEntity_TYPE = 0, SenseEntity_TYPE = 1, GroupingEntity_TYPE = 2 };
DagType::DagType | ( | ) | [inline] |
Definition at line 19 of file DagType.hpp.
: intType(-1) {}
DagType::DagType | ( | int | dimensionIn, |
FunctionalType | func | ||
) | [inline] |
Definition at line 30 of file DagType.hpp.
: intType( 3 * dimensionIn + func ) { }
DagType::DagType | ( | int | value | ) | [inline, explicit, private] |
Definition at line 159 of file DagType.hpp.
: intType( value ) {}
static DagType DagType::body_type | ( | ) | [inline, static] |
Definition at line 144 of file DagType.hpp.
{return DagType(3,GroupingEntity_TYPE);}
static DagType DagType::chain_type | ( | ) | [inline, static] |
Definition at line 153 of file DagType.hpp.
{return DagType(0,GroupingEntity_TYPE);}
static DagType DagType::co_edge_type | ( | ) | [inline, static] |
Definition at line 151 of file DagType.hpp.
{return DagType(1,SenseEntity_TYPE);}
static DagType DagType::co_face_type | ( | ) | [inline, static] |
Definition at line 148 of file DagType.hpp.
{return DagType(2,SenseEntity_TYPE);}
static DagType DagType::co_vertex_type | ( | ) | [inline, static] |
Definition at line 154 of file DagType.hpp.
{return DagType(0,SenseEntity_TYPE);}
static DagType DagType::co_volume_type | ( | ) | [inline, static] |
Definition at line 145 of file DagType.hpp.
{return DagType(3,SenseEntity_TYPE);}
int DagType::dimension | ( | ) | const [inline] |
Definition at line 39 of file DagType.hpp.
{ return intType / 3; }
FunctionalType DagType::functional_type | ( | ) | const [inline] |
Definition at line 46 of file DagType.hpp.
{ return (FunctionalType)(intType % 3); }
static DagType DagType::invalid_type | ( | ) | [inline, static] |
Definition at line 156 of file DagType.hpp.
{return DagType(-1);}
bool DagType::is_valid | ( | ) | const [inline] |
Definition at line 56 of file DagType.hpp.
{ const unsigned bodyType = 11; return (unsigned)intType <= bodyType; }
static DagType DagType::loop_type | ( | ) | [inline, static] |
Definition at line 150 of file DagType.hpp.
{return DagType(1,GroupingEntity_TYPE);}
DagType::operator bool | ( | ) | const [inline] |
Definition at line 128 of file DagType.hpp.
{ return is_valid(); }
bool DagType::operator!= | ( | DagType | other | ) | const [inline] |
Definition at line 76 of file DagType.hpp.
DagType DagType::operator+ | ( | int | i | ) | const [inline] |
Definition at line 118 of file DagType.hpp.
DagType DagType::operator++ | ( | ) | [inline] |
Definition at line 100 of file DagType.hpp.
DagType DagType::operator++ | ( | int | ) | [inline] |
Definition at line 106 of file DagType.hpp.
DagType DagType::operator+= | ( | int | i | ) | [inline] |
Definition at line 112 of file DagType.hpp.
DagType DagType::operator- | ( | int | i | ) | const [inline] |
Definition at line 121 of file DagType.hpp.
int DagType::operator- | ( | DagType | other | ) | const [inline] |
Definition at line 140 of file DagType.hpp.
DagType DagType::operator-- | ( | ) | [inline] |
Definition at line 103 of file DagType.hpp.
DagType DagType::operator-- | ( | int | ) | [inline] |
Definition at line 109 of file DagType.hpp.
DagType DagType::operator-= | ( | int | i | ) | [inline] |
Definition at line 115 of file DagType.hpp.
bool DagType::operator< | ( | DagType | other | ) | const [inline] |
Definition at line 85 of file DagType.hpp.
bool DagType::operator<= | ( | DagType | other | ) | const [inline] |
Definition at line 79 of file DagType.hpp.
bool DagType::operator== | ( | DagType | other | ) | const [inline] |
Definition at line 73 of file DagType.hpp.
bool DagType::operator> | ( | DagType | other | ) | const [inline] |
Definition at line 88 of file DagType.hpp.
bool DagType::operator>= | ( | DagType | other | ) | const [inline] |
Definition at line 82 of file DagType.hpp.
DagType DagType::parent | ( | ) | const [inline] |
Definition at line 63 of file DagType.hpp.
static DagType DagType::ref_edge_type | ( | ) | [inline, static] |
Definition at line 152 of file DagType.hpp.
{return DagType(1,BasicTopologyEntity_TYPE);}
static DagType DagType::ref_face_type | ( | ) | [inline, static] |
Definition at line 149 of file DagType.hpp.
{return DagType(2,BasicTopologyEntity_TYPE);}
static DagType DagType::ref_vertex_type | ( | ) | [inline, static] |
Definition at line 155 of file DagType.hpp.
{return DagType(0,BasicTopologyEntity_TYPE);}
static DagType DagType::ref_volume_type | ( | ) | [inline, static] |
Definition at line 146 of file DagType.hpp.
{return DagType(3,BasicTopologyEntity_TYPE);}
static DagType DagType::shell_type | ( | ) | [inline, static] |
Definition at line 147 of file DagType.hpp.
{return DagType(2,GroupingEntity_TYPE);}
int DagType::intType [private] |
Definition at line 162 of file DagType.hpp.