C-API | OP_LOAD_FILE_OPTION

Documentation Home Page RT-LAB Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

C-API | OP_LOAD_FILE_OPTION

Description

When loading a file of parameters, signals or aliases, this enum specifies how to resolve the conflict of the load operation. Conflict can occur when the current model has changed since the file was saved.

Usage

typedef enum{

OP_LOADF_IF_NO_CONFLICT,

OP_LOADF_IF_ALL_RESOLVED,

OP_LOADF_DROP_UNRESOLVED

}OP_LOAD_FILE_OPTION;

Elements

  • OP_LOADF_IF_NO_CONFLICT (0): If you try to load a file of parameters, signals or aliases and there are conflicts between objects of the file and of the current model, no change will be applied.

  • OP_LOADF_IF_ALL_RESOLVED (1): If you try to load a file of parameters, signals or aliases and there are only resolved conflicts between objects of the file and of the current model, all new object will be loaded.

  • OP_LOADF_DROP_UNRESOLVED (2): If you try to load a file of parameters, signals or aliases and some conflicts have been found between the object of the file and of the current model, all objects with resolved conflicts will be loaded. Objects with unresolved conflicts will just be dropped.

Examples

None

Related Items

OpalLoadAlias

Library and Header



WINDOWS

LINUX

Static Library

OpalApi.lib

-

Dynamic Library

OpalApi.dll

libOpalApi.so

Header File

OpalApi.h

OpalApi.h