#include <TopologyChange.h>
Base class to indicate a topology change occurred. More...

Base class to indicate a topology change occurred.
All topological changes taking place in a given BaseTopology will issue a TopologyChange in the BaseTopology's changeList, so that BasicTopologies mapped to it can know what happened and decide how to react. Classes inheriting from this one describe a given topolopy change (e.g. RemovedPoint, AddedEdge, etc). The exact type of topology change is given by member changeType.
| Protected Attributes | |
| TopologyChangeType | m_changeType | 
| A code that tells the nature of the Topology modification event (could be an enum).  More... | |
| Public Member Functions | |
| virtual | ~TopologyChange () | 
| TopologyChangeType | getChangeType () const | 
| Returns the code of this TopologyChange.  More... | |
| virtual bool | write (std::ostream &out) const | 
| virtual bool | read (std::istream &in) | 
| Protected Member Functions | |
| TopologyChange (TopologyChangeType changeType=BASE) | |
| Friends | |
| SOFA_CORE_API friend std::ostream & | operator<< (std::ostream &out, const TopologyChange *t) | 
| Output stream.  More... | |
| SOFA_CORE_API friend std::istream & | operator>> (std::istream &in, TopologyChange *&t) | 
| Input (empty) stream.  More... | |
| SOFA_CORE_API friend std::istream & | operator>> (std::istream &in, const TopologyChange *&) | 
| Input (empty) stream.  More... | |
| 
 | protected | 
A code that tells the nature of the Topology modification event (could be an enum).
| 
 | virtual | 
\ brief Destructor.
Must be virtual for TopologyChange to be a Polymorphic type.
| 
 | inlineprotected | 
| 
 | inline | 
Returns the code of this TopologyChange.
| 
 | virtual | 
| 
 | virtual | 
| 
 | friend | 
Output stream.
| 
 | friend | 
Input (empty) stream.
| 
 | friend | 
Input (empty) stream.