This function opens the model via an array.
Attribute repository will be ignored, they are their because of backward compatibility.
A handle to the model will be returned, or 0 in case something went wrong.
Syntax
//
// Strong typing definition
//
SdaiModel engiOpenModelByArray(
int_t repository,
const unsigned char * content,
int_t size,
const char * schemaName
);
//
// Weak typing definition
//
int_t __declspec(dllexport) __stdcall engiOpenModelByArray(
int_t repository,
const unsigned char * content,
int_t size,
const char * schemaName
);
Property repository
Size: 64 bit / 8 byte (value)
Ignore this attribute, the value will be ignored in the current implementation, present for backwards compatibility.
Property content
Size: 64 bit / 8 byte (reference)
The content of this IO call, the size of the content is defined by attribute size.
Property size
Size: 64 bit / 8 byte (value)
The size of the content as defined in number of bytes.
Property schemaName
Size: 64 bit / 8 byte (reference)
The schema name of the file as available in the file system in ASCII (char *). The given char array will not be adjusted, on each OS the size of a char element is 8 bit / 1 byte.