ON_ModelComponentReference is a persistent reference to a model component. ON_ModelComponentReference and ON_ModelComponentWeakReference are based on like std::shared_ptr and std::weak_ptr.  
 More...
#include <opennurbs_model_component.h>
ON_ModelComponentReference is a persistent reference to a model component. ON_ModelComponentReference and ON_ModelComponentWeakReference are based on like std::shared_ptr and std::weak_ptr. 
◆ ON_ModelComponentReference() [1/4]
      
        
          | ON_ModelComponentReference::ON_ModelComponentReference | ( |  | ) |  | 
      
 
No = default to insure m_sp is completely managed in the opennurbs DLL. 
No = default to insure m_sp is completely managed in the opennurbs DLL. 
 
 
◆ ~ON_ModelComponentReference()
      
        
          | ON_ModelComponentReference::~ON_ModelComponentReference | ( |  | ) |  | 
      
 
No = default to insure m_sp is completely managed in the opennurbs DLL. 
 
 
◆ ON_ModelComponentReference() [2/4]
No = default to insure m_sp is completely managed in the opennurbs DLL. 
 
 
◆ ON_ModelComponentReference() [3/4]
◆ ON_ModelComponentReference() [4/4]
      
        
          | 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. Remarks: 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. Remarks: The input pointer will be managed and deleted by the returned by ON_ModelComponentReference. 
 
 
◆ Dump()
      
        
          | void ON_ModelComponentReference::Dump | ( | ON_TextLog & | text_log | ) | const | 
      
 
 
◆ ExclusiveModelComponent()
      
        
          | class ON_ModelComponent* ON_ModelComponentReference::ExclusiveModelComponent | ( |  | ) | const | 
      
 
 
◆ IsEmpty()
      
        
          | bool ON_ModelComponentReference::IsEmpty | ( |  | ) | const | 
      
 
 
◆ ModelComponent()
Return: A pointer to the managed model component or nullptr. See Also: ON_ModelComponentRef::ExclusiveModelComponent(); 
 
 
◆ 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/3]
No = default to insure m_sp is completely managed in the opennurbs DLL. 
 
 
◆ operator=() [2/3]
◆ operator=() [3/3]
◆ ReferenceCount()
      
        
          | unsigned int ON_ModelComponentReference::ReferenceCount | ( |  | ) | const | 
      
 
 
◆ ON_ModelComponentWeakReference
◆ Empty