cgma
|
#include <GeometryEvent.hpp>
Public Types | |
enum | Type { TOPOLOGY_ENTITY_CONSTRUCTED, TOPOLOGY_ENTITY_MODIFIED, TOPOLOGY_ENTITY_DESTRUCTED } |
Public Member Functions | |
TopologyEvent (Type type, TopologyEntity *entity) | |
~TopologyEvent () | |
TopologyEntity * | get_entity () const |
Type | get_type () const |
Private Attributes | |
Type | mType |
TopologyEntity * | mRefEntity |
Definition at line 85 of file GeometryEvent.hpp.
enum TopologyEvent::Type |
Definition at line 88 of file GeometryEvent.hpp.
{ TOPOLOGY_ENTITY_CONSTRUCTED, /* A TopologyEntity was created */ TOPOLOGY_ENTITY_MODIFIED, /* A TopologyEntity was changed */ TOPOLOGY_ENTITY_DESTRUCTED /* A TopologyEntity was deleted */ };
TopologyEvent::TopologyEvent | ( | Type | type, |
TopologyEntity * | entity | ||
) |
Definition at line 23 of file GeometryEvent.cpp.
: mType(type), mRefEntity(entity) { }
Definition at line 28 of file GeometryEvent.cpp.
{ }
TopologyEntity * TopologyEvent::get_entity | ( | ) | const |
Definition at line 32 of file GeometryEvent.cpp.
{ return mRefEntity; }
TopologyEvent::Type TopologyEvent::get_type | ( | ) | const |
Definition at line 37 of file GeometryEvent.cpp.
{ return mType; }
TopologyEntity* TopologyEvent::mRefEntity [private] |
Definition at line 107 of file GeometryEvent.hpp.
Type TopologyEvent::mType [private] |
Definition at line 106 of file GeometryEvent.hpp.