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.
ExamplesNone
Related ItemsOpalLoadAlias
Library and Header

WINDOWSLINUX
Static LibraryOpalApi.lib-
Dynamic LibraryOpalApi.dlllibOpalApi.so
Header FileOpalApi.hOpalApi.h

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter