#include <opennurbs_model_component.h>
◆ ON_ModelComponentReference() [1/3]
ON_ModelComponentReference::ON_ModelComponentReference |
( |
| ) |
|
No = default to insure m_sp is completely managed in the openurbs DLL.
◆ ~ON_ModelComponentReference()
ON_ModelComponentReference::~ON_ModelComponentReference |
( |
| ) |
|
◆ ON_ModelComponentReference() [2/3]
◆ ON_ModelComponentReference() [3/3]
ON_ModelComponentReference::ON_ModelComponentReference |
( |
std::shared_ptr< ON_ModelComponent > & |
sp | ) |
|
◆ CreateConstantSystemComponentReference()
- Parameters
-
constant_system_component | [in] A constant system component that exists for the duration of the application. |
See ON_ModelComponent::CreateConstantSystemComponentReference() for more information about constant system components.
◆ CreateForExperts()
- Parameters
-
model_component | [in] |
bManagedComponentReference | [in] true model_component will be deleted by the last ON_ModelComponentReference and must have been created by call to operator new() with heap allocation. false model_component must remain in scope until the last ON_ModelComponentReference is destroyed. |
The input pointer will be managed and deleted by the returned by ON_ModelComponentReference.
◆ Dump()
void ON_ModelComponentReference::Dump |
( |
ON_TextLog & |
text_log | ) |
const |
◆ IsEmpty()
bool ON_ModelComponentReference::IsEmpty |
( |
| ) |
const |
◆ ModelComponent()
◆ ModelComponentId()
const ON_UUID ON_ModelComponentReference::ModelComponentId |
( |
| ) |
const |
◆ ModelComponentIndex()
int ON_ModelComponentReference::ModelComponentIndex |
( |
| ) |
const |
◆ ModelComponentNameHash()
const ON_NameHash ON_ModelComponentReference::ModelComponentNameHash |
( |
| ) |
const |
◆ ModelComponentRuntimeSerialNumber()
ON__UINT64 ON_ModelComponentReference::ModelComponentRuntimeSerialNumber |
( |
| ) |
const |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ ReferenceCount()
unsigned int ON_ModelComponentReference::ReferenceCount |
( |
| ) |
const |
◆ Empty