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
§ DataGroupCopier()
SurgSim::DataStructures::DataGroupCopier::DataGroupCopier |
( |
const DataGroup & |
source, |
|
|
DataGroup * |
target |
|
) |
| |
Construct a copier.
- Parameters
-
§ copy()
void SurgSim::DataStructures::DataGroupCopier::copy |
( |
const DataGroup & |
source, |
|
|
DataGroup * |
target |
|
) |
| |
Copies the NamedData entries with the same names.
Resets entries in the target that are reset in the source. The source and target IndexDirectories are assumed to be the same as the source and target used in the constructor.
- Parameters
-
§ findMap()
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.
§ m_map
The map from source to target.
The documentation for this class was generated from the following files: