cgma
CGMHistory::Event Class Reference

#include <CGMHistory.hpp>

List of all members.

Public Member Functions

 Event (EventType type, RefEntity *refentity)
 Event (EventType type, const std::vector< RefEntity * > &refentity_list)
 ~Event ()
EventType get_event_type () const
const std::vector< RefEntity * > & get_entities () const

Private Attributes

EventType eventType
std::vector< RefEntity * > entities
union {
   std::vector< RefEntity * > *   other_entities
   CubitTransformMatrix *   matrix
}; 

Detailed Description

Definition at line 98 of file CGMHistory.hpp.


Constructor & Destructor Documentation

Definition at line 37 of file CGMHistory.cpp.

{
  eventType = type;
  entities.push_back(refentity);
}
CGMHistory::Event::Event ( CGMHistory::EventType  type,
const std::vector< RefEntity * > &  refentity_list 
)

Definition at line 43 of file CGMHistory.cpp.

{
  eventType = type;
  entities = refentity_list;
}

Definition at line 49 of file CGMHistory.cpp.

{
}

Member Function Documentation

const std::vector< RefEntity * > & CGMHistory::Event::get_entities ( ) const

Definition at line 58 of file CGMHistory.cpp.

{
  return entities;
}

Definition at line 53 of file CGMHistory.cpp.

{
  return eventType;
}

Member Data Documentation

union { ... } [private]
std::vector<RefEntity*> CGMHistory::Event::entities [private]

Definition at line 113 of file CGMHistory.hpp.

Definition at line 111 of file CGMHistory.hpp.

Definition at line 118 of file CGMHistory.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines