#include <opennurbs_archive.h>
◆ ON_ManifestMapItem() [1/2]
ON_ManifestMapItem::ON_ManifestMapItem |
( |
| ) |
|
|
default |
◆ ~ON_ManifestMapItem()
ON_ManifestMapItem::~ON_ManifestMapItem |
( |
| ) |
|
|
default |
◆ ON_ManifestMapItem() [2/2]
◆ ClearDestinationIdentification()
bool ON_ManifestMapItem::ClearDestinationIdentification |
( |
| ) |
|
◆ ClearSourceIdentification()
bool ON_ManifestMapItem::ClearSourceIdentification |
( |
| ) |
|
◆ Compare()
Compares type, indices and ids.
◆ CompareTypeAndDestinationIdAndIndex()
◆ CompareTypeAndDestinationIndex()
◆ CompareTypeAndSourceIdAndIndex()
◆ CompareTypeAndSourceIndex()
◆ ComponentType()
◆ DestinationId()
const ON_UUID& ON_ManifestMapItem::DestinationId |
( |
| ) |
const |
◆ DestinationIndex()
int ON_ManifestMapItem::DestinationIndex |
( |
| ) |
const |
◆ DestinationInManifest()
bool ON_ManifestMapItem::DestinationInManifest |
( |
const ON_ComponentManifest & |
destination_manifest | ) |
const |
- Returns
- True if destination_manifest contains a manifest item that matches m_component_type, m_destination_component_id, and m_destination_component_index.
◆ DestinationIsSet()
bool ON_ManifestMapItem::DestinationIsSet |
( |
| ) |
const |
- Returns
- True if m_component_type is not ON_ModelComponent::Type::Unset and m_destination_component_id is not nil and no index is required or m_destination_component_index is not ON_UNSET_INT_INDEX.
◆ DestinationIsUnset()
bool ON_ManifestMapItem::DestinationIsUnset |
( |
| ) |
const |
◆ operator=()
◆ SetDestinationIdentification() [1/4]
Set type and destination identification.
- Parameters
-
component_type | [in] |
source_id | [in] |
source_index | [in] |
- Returns
- True if set. False destination type is set and different from component_type.
◆ SetDestinationIdentification() [2/4]
bool ON_ManifestMapItem::SetDestinationIdentification |
( |
const class ON_ModelComponent * |
model_component | ) |
|
Set type and destination identification to model_component identification.
- Parameters
-
- Returns
- True if set. False source type is set and different from model_component->ComponentType().
◆ SetDestinationIdentification() [3/4]
Set type and destination identification to manifest_item identification.
- Parameters
-
- Returns
- True if set. False source type is set and different from manifest_item->ComponentType().
◆ SetDestinationIdentification() [4/4]
bool ON_ManifestMapItem::SetDestinationIdentification |
( |
const class ON_ManifestMapItem * |
map_item | ) |
|
Copy type and destination identification from map_item.
- Parameters
-
- Returns
- True if set. False source type is set and different from map_item->ComponentType().
◆ SetSourceIdentification() [1/4]
Set type and source identification.
- Parameters
-
component_type | [in] |
source_id | [in] |
source_index | [in] |
- Returns
- True if set. False destination type is set and different from component_type.
◆ SetSourceIdentification() [2/4]
bool ON_ManifestMapItem::SetSourceIdentification |
( |
const class ON_ModelComponent * |
model_component | ) |
|
Set type and source identification to model_component identification.
- Parameters
-
- Returns
- True if set. False destination type is set and different from model_component->ComponentType().
◆ SetSourceIdentification() [3/4]
Set type and source identification to manifest_item identification.
- Parameters
-
- Returns
- True if set. False destination type is set and different from manifest_item->ComponentType().
◆ SetSourceIdentification() [4/4]
bool ON_ManifestMapItem::SetSourceIdentification |
( |
const class ON_ManifestMapItem * |
map_item | ) |
|
Copy type and source identification from map_item.
- Parameters
-
- Returns
- True if set. False destination type is set and different from map_item->ComponentType().
◆ SourceAndDestinationAreSet()
bool ON_ManifestMapItem::SourceAndDestinationAreSet |
( |
| ) |
const |
- Returns
- True if m_component_type is not ON_ModelComponent::Type::Unset and m_source_component_id is not nil and m_destination_component_id is not nil and no index is required or m_source_component_index and m_destination_component_index are not ON_UNSET_INT_INDEX.
◆ SourceId()
const ON_UUID& ON_ManifestMapItem::SourceId |
( |
| ) |
const |
◆ SourceIdHash32()
static ON__UINT32 ON_ManifestMapItem::SourceIdHash32 |
( |
const ON_UUID & |
source_component_id | ) |
|
|
static |
32-bit hash for use in source id hash tables
◆ SourceIndex()
int ON_ManifestMapItem::SourceIndex |
( |
| ) |
const |
◆ SourceIndexHash32()
static ON__UINT32 ON_ManifestMapItem::SourceIndexHash32 |
( |
ON_ModelComponent::Type |
component_type, |
|
|
int |
source_component_index |
|
) |
| |
|
static |
32-bit hash for use in source index hash tables
◆ SourceInManifest()
- Returns
- True if destination_manifest contains a manifest item that matches m_component_type, m_source_component_id, and m_source_component_index.
◆ SourceIsSet()
bool ON_ManifestMapItem::SourceIsSet |
( |
| ) |
const |
- Returns
- True if m_component_type is not ON_ModelComponent::Type::Unset and m_source_component_id is not nil and no index is required or m_source_component_index is not ON_UNSET_INT_INDEX.
◆ SourceIsUnset()
bool ON_ManifestMapItem::SourceIsUnset |
( |
| ) |
const |
◆ SourceOrDestinationIsUnset()
bool ON_ManifestMapItem::SourceOrDestinationIsUnset |
( |
| ) |
const |
◆ SwapSourceAndDestiation()
◆ Unset