Public Member Functions | |
| HRESULT | SaveHistory ([in] BSTR bstrFileName,[in] RtBool fClearDirty) |
| HRESULT | LoadNode ([in] BSTR bszFileName,[out] IRsNode **ppNode) |
| HRESULT | SaveNode ([in] BSTR bszFileName,[in] IRsNode *pNode) |
| HRESULT | LoadNodeListFromStream ([in] IStream *pStream,[out] IRsObjectList **ppNodeList) |
| HRESULT | SaveNodeListToStream ([in] IStream *pStream,[in] IRsObjectList *pNodeList) |
| HRESULT | LoadNodeList ([in] BSTR bszFileName,[out] IRsObjectList **ppNodeList) |
| HRESULT | SaveNodeList ([in] BSTR bszFileName,[in] IRsObjectList *pNodeList) |
| HRESULT | LoadNodeFromResource ([in] HINSTANCE hInstance,[in]RtUlong dwResourceId,[out] IRsNode **ppNode) |
| HRESULT | LoadSystem ([in] BSTR bszFileName) |
| HRESULT | FindFileIOTypeIIDByObsoleteExt ([in] BSTR bstrExt,[out, retval] IID *piidFileType) |
| HRESULT | SpecifyPhysicsObject ([in] BSTR bstrFilePath,[out, retval] IID *piidFileType) |
| HRESULT IRfObsFileIO::SaveHistory | ( | [in] BSTR | bstrFileName, | |
| [in] RtBool | fClearDirty | |||
| ) |
Save history into file.
| bstrFileName | [in] File name or file path where to serialize the history. | |
| fClearDirty | [in] Set to TRUE if the flag should be cleared. |
| HRESULT IRfObsFileIO::LoadNode | ( | [in] BSTR | bszFileName, | |
| [out] IRsNode ** | ppNode | |||
| ) |
Load a node from file.
| bszFileName | [in] File name or file path of the node. | |
| ppNode | [out] Returns de-serialized node. |
| HRESULT IRfObsFileIO::SaveNode | ( | [in] BSTR | bszFileName, | |
| [in] IRsNode * | pNode | |||
| ) |
Save a node into a file.
| bszFileName | [in] File name or file path. | |
| pNode | [in] Node pointer you want to serialize. |
| HRESULT IRfObsFileIO::LoadNodeListFromStream | ( | [in] IStream * | pStream, | |
| [out] IRsObjectList ** | ppNodeList | |||
| ) |
Load nodes list from a stream.
| pStream | [in] Specify stream from which you want to read. | |
| ppNode | [out] Returns loaded objects list. |
| HRESULT IRfObsFileIO::SaveNodeListToStream | ( | [in] IStream * | pStream, | |
| [in] IRsObjectList * | pNodeList | |||
| ) |
Save list of nodes into stream in one node session.
| pStream | [in] Specify stream to which the object list 'll be saved. | |
| pNodeList | [in] The list of nodes that will be saved into the stream. |
| HRESULT IRfObsFileIO::LoadNodeList | ( | [in] BSTR | bszFileName, | |
| [out] IRsObjectList ** | ppNodeList | |||
| ) |
Load nodes list from a file.
| pStream | [in] Specify file from which you want to read. | |
| ppNode | [out] Returns loaded objects list. |
| HRESULT IRfObsFileIO::SaveNodeList | ( | [in] BSTR | bszFileName, | |
| [in] IRsObjectList * | pNodeList | |||
| ) |
Save list of nodes into file in one node session.
| bszFileName | [in] Specify file name to which the object list 'll be saved. | |
| pNodeList | [in] The list of nodes that will be saved into the stream. |
| HRESULT IRfObsFileIO::LoadNodeFromResource | ( | [in] HINSTANCE | hInstance, | |
| [in] RtUlong | dwResourceId, | |||
| [out] IRsNode ** | ppNode | |||
| ) |
Load node from a resource.
| hInstance | [in] Module handle instance containing resource. | |
| dwResourceId | [in] Integer resource ID. | |
| ppNode | [out] Returns loaded node. |
| HRESULT IRfObsFileIO::LoadSystem | ( | [in] BSTR | bszFileName | ) |
Load and apply the system settings.
| bszFileName | [in] File name or file path of the system configuration. |
| HRESULT IRfObsFileIO::FindFileIOTypeIIDByObsoleteExt | ( | [in] BSTR | bstrExt, | |
| [out, retval] IID * | piidFileType | |||
| ) |
Get RsFileIOType IID for obsolete file extensions (libraries1).
| bstrExt | [in] Specify the file type extension used in library1. |
S_OK, if the adequate file type was found, S_FALSE if it wasn't
| HRESULT IRfObsFileIO::SpecifyPhysicsObject | ( | [in] BSTR | bstrFilePath, | |
| [out, retval] IID * | piidFileType | |||
| ) |
Use this method to decide what type of the physics object it is.
| bstrFilePath | [in] Full file path of the physics object. |
Standard HRESULT processing can be applied to the result.
1.5.5