A class that assists in copying from one DataGroup to another, when assignment is not possible.
More...
#include <SurgSim/DataStructures/DataGroupCopier.h>
A class that assists in copying from one DataGroup to another, when assignment is not possible.
- See also
- SurgSim::DataStructures::DataGroup
SurgSim::DataStructures::DataGroupCopier::DataGroupCopier |
( |
const DataGroup & |
source, |
|
|
DataGroup & |
target |
|
) |
| |
Construct a copier.
- Parameters
-
void SurgSim::DataStructures::DataGroupCopier::copy |
( |
| ) |
|
Copies the NamedData entries with the same names. Resets entries in the target that are reset in the source.
void SurgSim::DataStructures::DataGroupCopier::findMap |
( |
| ) |
|
|
private |
Find the entries (by name) from the source to target DataGroups.
Find the entries (by name) from the source to target IndexDirectories, and return the matching entries.
- Parameters
-
- Returns
- The map from source to target indices.
The map from source to target.
const DataGroup& SurgSim::DataStructures::DataGroupCopier::m_source |
|
private |
DataGroup& SurgSim::DataStructures::DataGroupCopier::m_target |
|
private |
The documentation for this class was generated from the following files: