# IRsPackageFileIOReg.h File Reference

## Classes
interface | IRsFileIOAsyncNotify
interface | IRsFileIOType
interface | IRsFileIORepository
interface | IRsFileIOGeneric
interface | IRsPackageFileIOReg
## Enumerations
enum | RePckFileIOCaps { RS_PCK_FILEIO_CAP_NONE = 0x00000000, RS_PCK_FILEIO_CAP_SAVE = 0x00000001, RS_PCK_FILEIO_CAP_SAVE_ASYNC = 0x00000002, RS_PCK_FILEIO_CAP_LOAD = 0x00000004, RS_PCK_FILEIO_CAP_LOAD_ASYNC = 0x00000008, RS_PCK_FILEIO_CAP_APPLY = 0x00000010 }
| FileType capabilities for given object and/or file type. See IRsFileIOType::GetCaps method. More...
enum | RePckFileTypeIOCaps { RS_PCK_FILETYPEIO_CAP_NONE = 0x00000000, RS_PCK_FILETYPEIO_CAP_LOAD = 0x00000001, RS_PCK_FILETYPEIO_CAP_SAVE = 0x00000002, RS_PCK_FILETYPEIO_CAP_EXTERNAL = 0x00000004 }
| FileType capabilities. See IRsFileIOType::GetFileTypeCaps method. More...
enum | RePckFileIOOperation { , RS_PCK_FILEIO_OPERATION_INSERT = 2, RS_PCK_FILEIO_OPERATION_INSERT_AS = 3, RS_PCK_FILEIO_OPERATION_SAVE = 4, RS_PCK_FILEIO_OPERATION_LOAD = 5, RS_PCK_FILEIO_OPERATION_APPLY = 6 }
| Serialization operation capabilities. See IRsFileIOType::GetCaps method. More...
enum | RePckFileIOGenLoadFlags { FIO_GEN_LOAD_SYNC = 1, FIO_GEN_LOAD_ASYNC = 2, FIO_GEN_LOAD_PREFER_ASYNC_LOAD = 4, FIO_GEN_LOAD_FORCE_APPLY = 8 }
| Generic load flags. See IRsFileIOGeneric::GenericLoad method. More...
enum | RePckFileIOGenSaveFlags { FIO_GEN_SAVE_SYNC = 1, FIO_GEN_SAVE_ASYNC = 2, FIO_GEN_SAVE_PREFER_ASYNC_SAVE = 4 }
| Generic save capabilities. See IRsFileIOGeneric::GenericSave method. More...

## Detailed Description

## Enumeration Type Documentation

enum RePckFileIOCaps

FileType capabilities for given object and/or file type.
See IRsFileIOType::GetCaps method.

Enumerator:

  RS_PCK_FILEIO_CAP_NONE | None:.
  RS_PCK_FILEIO_CAP_SAVE | Object can be saved immediately after calling Save method:.
  RS_PCK_FILEIO_CAP_SAVE_ASYNC | Object can be saved asynchronously:.
  RS_PCK_FILEIO_CAP_LOAD | Load method can load the object immediately:.
  RS_PCK_FILEIO_CAP_LOAD_ASYNC | Load method can load asynchronously:.
  RS_PCK_FILEIO_CAP_APPLY | Object can be applied to target immediately by Apply method calling:.

enum RePckFileTypeIOCaps

FileType capabilities.
See IRsFileIOType::GetFileTypeCaps method.

Enumerator:

  RS_PCK_FILETYPEIO_CAP_NONE | File type none:.
  RS_PCK_FILETYPEIO_CAP_LOAD | File type supports Load operation:.
  RS_PCK_FILETYPEIO_CAP_SAVE | File type supports Save operation:.
  RS_PCK_FILETYPEIO_CAP_EXTERNAL | File type represents a support for external file types:.

enum RePckFileIOOperation

Serialization operation capabilities.
See IRsFileIOType::GetCaps method.

Enumerator:

  RS_PCK_FILEIO_OPERATION_INSERT | Unknown.
  RS_PCK_FILEIO_OPERATION_INSERT_AS | Save operation among objects with the same type.
  RS_PCK_FILEIO_OPERATION_SAVE | Save operation among objects with different type.
  RS_PCK_FILEIO_OPERATION_LOAD | Generic Save operation.
  RS_PCK_FILEIO_OPERATION_APPLY | Load operation.

enum RePckFileIOGenLoadFlags

Generic load flags.
See IRsFileIOGeneric::GenericLoad method.

Enumerator:

  FIO_GEN_LOAD_SYNC | Allow synchronous load:.
  FIO_GEN_LOAD_ASYNC | Allow asynchronous load:.
  FIO_GEN_LOAD_PREFER_ASYNC_LOAD | If set, then asynchronous load will be preferred. This flag has sense only with FIO_GEN_LOAD_ASYNC and FIO_GEN_LOAD_SYNC flags.
  FIO_GEN_LOAD_FORCE_APPLY | If set, the object will be applied rather than only loaded.

enum RePckFileIOGenSaveFlags

Generic save capabilities. See IRsFileIOGeneric::GenericSave method.

Enumerator:

  FIO_GEN_SAVE_SYNC | Allow synchronous save:.
  FIO_GEN_SAVE_ASYNC | Allow asynchronous save:.
  FIO_GEN_SAVE_PREFER_ASYNC_SAVE | If set, then asynchronous load will be preferred. This flag has sense only with FIO_GEN_SAVE_ASYNC and FIO_GEN_SAVE_SYNC flags.