Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PatchDataVerticesMemento Class Reference

Contains a copy of the coordinates of a PatchData. More...

#include <PatchData.hpp>

Collaboration diagram for PatchDataVerticesMemento:

Public Member Functions

 ~PatchDataVerticesMemento ()
 
 ~PatchDataVerticesMemento ()
 

Private Member Functions

 PatchDataVerticesMemento ()
 
 PatchDataVerticesMemento ()
 

Private Attributes

PatchDataoriginator
 PatchData whose state is kept. More...
 
MsqVertexvertices
 array of vertices More...
 
size_t numVertices
 
size_t arraySize
 

Friends

class PatchData
 

Detailed Description

Contains a copy of the coordinates of a PatchData.

Use PatchDataVerticesMemento when you want to change the coordinates of a PatchData object but also have the option to restore them. This class can only be instantiated through PatchData::create_vertices_memento().

Definition at line 472 of file includeLinks/PatchData.hpp.

Constructor & Destructor Documentation

Definition at line 475 of file includeLinks/PatchData.hpp.

References PatchDataVerticesMemento::vertices.

476  { delete[] vertices; }
MsqVertex * vertices
array of vertices
PatchDataVerticesMemento ( )
inlineprivate

Definition at line 475 of file src/Mesh/PatchData.hpp.

References PatchDataVerticesMemento::vertices.

476  { delete[] vertices; }
MsqVertex * vertices
array of vertices
PatchDataVerticesMemento ( )
inlineprivate

Definition at line 480 of file src/Mesh/PatchData.hpp.

Friends And Related Function Documentation

PatchData
friend

Definition at line 479 of file includeLinks/PatchData.hpp.

Member Data Documentation

size_t arraySize
private

The documentation for this class was generated from the following files: