Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Code Block
languagecpp
themeConfluence
EdmiError edmiImportBinaryPackage (	SdaiString      binPackageLocation, 
                                    SdaiString      newRepositoryName,   /* optional */
                                    SdaiString      newModelName,        /* optional */
                                    SdaiString      binPackageName,
                                    EdmiPackedDate  filesNewerThan,
                                    EdmiPackedDate  filesOlderThan,
                                    SdaiInteger     newModelIndex,
                                    SdaiOptions     options);

EdmiError edmiRemoteImportBinaryPackage (	SdaiServerContext          serverContextId,  
                                            SdaiString                 newRepositoryName,  /* optional. Default is source repository name */
                                            SdaiString                 newModelName,       /* optional. Default is source model name */
                                            SdaiString                 binaryPackageLocation,
                                            SdaiString                 binaryPackageName,    /* optional; default name: "EDM.dbName.MmodelIndex.RepName.ModelName.Bin" */  
                                            EdmiPackedDate             fileObjectsNewerThan, /* optional */
                                            EdmiPackedDate             fileObjectsOlderThan, /* optional */
                                            SdaiInteger                newModelIndex,
                                            SdaiOptions                options,           
                                            SdaiInvocationId          *edmiInvocationId);


Export an EDMbinaryPackage

Arguments

...

modelId

...

The ...

...

binPackageLocation

...

The ...

...

binPackageName 

...

The ...

...

filesNewerThan

...

The ...

...

filesOlderThan

...

The ...

...

options

...

All option names are defined in the header file sdai.h.

Return Value

...

Options

...

DELETING_EXISTING_MODEL

...

ALL_FILE_OBJECTS

...

NO_FILE_OBJECTS

...

BINARY_PACKAGE_ON_SERVER_FILE_SYSTEM

...

RENAME_IMPORTED_MODEL

...

FILE_OBJECTS_NEWER_THAN

...

FILE_OBJECTS_OLDER_THAN

...

Example

Code Block
languagecpp
 EdmiError rstat;

See also

...

The function is described together with edmiRemoteImportBinaryPackage.