| Rhino C++ API
    8.24
    | 
#include <opennurbs_archive.h>
| Public Member Functions | |
| ON_ManifestMap () ON_NOEXCEPT | |
| ON_ManifestMap (const ON_ManifestMap &) | |
| ~ON_ManifestMap () | |
| bool | AddMapItem (const class ON_ManifestMapItem &map_item) | 
| bool | GetAndValidateDestinationId (ON_ModelComponent::Type component_type, const ON_UUID &source_component_id, const ON_ComponentManifest &destination_manifest, ON_UUID *destination_component_id) const | 
| bool | GetAndValidateDestinationIndex (ON_ModelComponent::Type component_type, const ON_UUID &source_component_id, const ON_ComponentManifest &destination_manifest, int *destination_component_index) const | 
| bool | GetAndValidateDestinationIndex (ON_ModelComponent::Type component_type, int source_component_index, const ON_ComponentManifest &destination_manifest, int *destination_component_index) const | 
| bool | IsEmpty () const | 
| bool | IsNotEmpty () const | 
| unsigned int | MapItemCount () const | 
| const class ON_ManifestMapItem & | MapItemFromSourceId (const ON_UUID &source_item_id) const | 
| const class ON_ManifestMapItem & | MapItemFromSourceIndex (ON_ModelComponent::Type component_type, int source_component_index) const | 
| ON_ManifestMap & | operator= (const ON_ManifestMap &) | 
| bool | UpdatetMapItemDestination (const class ON_ManifestMapItem &map_item) | 
| bool | UpdatetMapItemDestination (const class ON_ManifestMapItem &map_item, bool bIgnoreSourceIndex) | 
| Static Public Attributes | |
| static const ON_ManifestMap | Empty | 
Description: ON_ManifestIdentificationMap is used to record a map from a source manifest to a destination manifest when the index or id values change. This is common when reading and writing archives and when merging models.
| ON_ManifestMap::ON_ManifestMap | ( | ) | 
The default constructor would work prfectly, except there is a bug in Apple's CLANG that requires either an explicitly implemented constructor or an explicitly implemented copy constructor together with a hack to initialize the static ON_ComponentManifest::Empty. Apple CLANG BUG ///< ON_ManifestMap() = default;
| ON_ManifestMap::~ON_ManifestMap | ( | ) | 
| ON_ManifestMap::ON_ManifestMap | ( | const ON_ManifestMap & | ) | 
| bool ON_ManifestMap::AddMapItem | ( | const class ON_ManifestMapItem & | map_item | ) | 
| bool ON_ManifestMap::GetAndValidateDestinationId | ( | ON_ModelComponent::Type | component_type, | 
| const ON_UUID & | source_component_id, | ||
| const ON_ComponentManifest & | destination_manifest, | ||
| ON_UUID * | destination_component_id | ||
| ) | const | 
| bool ON_ManifestMap::GetAndValidateDestinationIndex | ( | ON_ModelComponent::Type | component_type, | 
| const ON_UUID & | source_component_id, | ||
| const ON_ComponentManifest & | destination_manifest, | ||
| int * | destination_component_index | ||
| ) | const | 
| bool ON_ManifestMap::GetAndValidateDestinationIndex | ( | ON_ModelComponent::Type | component_type, | 
| int | source_component_index, | ||
| const ON_ComponentManifest & | destination_manifest, | ||
| int * | destination_component_index | ||
| ) | const | 
| bool ON_ManifestMap::IsEmpty | ( | ) | const | 
Returns: True if there are no ON_ManifestMapItem elements.
| bool ON_ManifestMap::IsNotEmpty | ( | ) | const | 
Returns: True if there is at least one ON_ManifestMapItem element.
| unsigned int ON_ManifestMap::MapItemCount | ( | ) | const | 
Returns: Number of map items. Remarks: Some of these items may not change id or index.
| const class ON_ManifestMapItem& ON_ManifestMap::MapItemFromSourceId | ( | const ON_UUID & | source_item_id | ) | const | 
| const class ON_ManifestMapItem& ON_ManifestMap::MapItemFromSourceIndex | ( | ON_ModelComponent::Type | component_type, | 
| int | source_component_index | ||
| ) | const | 
| ON_ManifestMap& ON_ManifestMap::operator= | ( | const ON_ManifestMap & | ) | 
| bool ON_ManifestMap::UpdatetMapItemDestination | ( | const class ON_ManifestMapItem & | map_item | ) | 
Parameters: map_item - [in] The source settings must exactly match source settings of an existing map. The destination settings are the new values to assign. Return: True if a mapping was successfully updated (even when the destation settings did not change).
| bool ON_ManifestMap::UpdatetMapItemDestination | ( | const class ON_ManifestMapItem & | map_item, | 
| bool | bIgnoreSourceIndex | ||
| ) | 
Parameters: map_item - [in] The source settings must exactly match source settings of an existing map. The destination settings are the new values to assign. bIgnoreSourceIndex - [in] If true, the value of map_item.SourceIndex() is ignored. Otherwise, it must exactly match the source index setting of an existing map. Return: True if a mapping was successfully updated (even when the destation settings did not change).
| 
 | static | 
 1.8.17
 1.8.17