NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::PDM::SmartSaveContext Class Reference

Represents smart save context
To create a new instance of this class, use NXOpen::PDM::PdmSession::CreateSmartSaveContext

Created in NX11.0.1. More...

Inheritance diagram for NXOpen::PDM::SmartSaveContext:
NXOpen::TransientObject

Public Member Functions

NXOpen::PDM::SmartSaveBuilder::SaveType GetSaveType ()
 Returns the save operation type. More...
 
void GetWorkObjectToRootObjectMap (std::vector< NXOpen::TaggedObject * > &workObjects, std::vector< NXOpen::TaggedObject * > &rootObjects)
 Returns the set of work object to root object pairs from the context
Created in NX11.0.1. More...
 
void SetWorkObjectToRootObjectMap (const std::vector< NXOpen::TaggedObject * > &workObjects, const std::vector< NXOpen::TaggedObject * > &rootObjects)
 Adds the given set of work object to root object pairs to the context
Created in NX11.0.1. More...
 
virtual ~SmartSaveContext ()
 Frees the object from memory. More...
 
- Public Member Functions inherited from NXOpen::TransientObject
void * GetHandle ()
 Handle of the internal object represented by this object. More...
 

Detailed Description

Represents smart save context
To create a new instance of this class, use NXOpen::PDM::PdmSession::CreateSmartSaveContext

Created in NX11.0.1.


Constructor & Destructor Documentation

virtual NXOpen::PDM::SmartSaveContext::~SmartSaveContext ( )
virtual

Frees the object from memory.

After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Created in NX11.0.1.

License requirements : None

Member Function Documentation

NXOpen::PDM::SmartSaveBuilder::SaveType NXOpen::PDM::SmartSaveContext::GetSaveType ( )

Returns the save operation type.

Returns

Created in NX11.0.1.

License requirements : None
void NXOpen::PDM::SmartSaveContext::GetWorkObjectToRootObjectMap ( std::vector< NXOpen::TaggedObject * > &  workObjects,
std::vector< NXOpen::TaggedObject * > &  rootObjects 
)

Returns the set of work object to root object pairs from the context
Created in NX11.0.1.



License requirements : None

Parameters
workObjectsarray of work objects to be saved
rootObjectsarray of root objects
void NXOpen::PDM::SmartSaveContext::SetWorkObjectToRootObjectMap ( const std::vector< NXOpen::TaggedObject * > &  workObjects,
const std::vector< NXOpen::TaggedObject * > &  rootObjects 
)

Adds the given set of work object to root object pairs to the context
Created in NX11.0.1.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
workObjectsarray of work objects to be saved
rootObjectsarray of root objects

The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.