getProjectUnitConversionFactor

...

Syntax

//
//   Strong typing definition
//
double          getProjectUnitConversionFactor(
                        SdaiModel               model,
                        const char              * unitType,
                        const char              ** unitPrefix,
                        const char              ** unitName,
                        const char              ** SIUnitName
                    );

static  inline  double  getProjectUnitConversionFactor(
                                SdaiModel               model,
                                char                    * unitType,
                                char                    ** unitPrefix,
                                char                    ** unitName,
                                char                    ** SIUnitName
                            )
{
    return  getProjectUnitConversionFactor(
                    model,
                    (const char*) unitType,
                    (const char**) unitPrefix,
                    (const char**) unitName,
                    (const char**) SIUnitName
                );
}


//
//   Weak typing definition
//
double  __declspec(dllexport) __stdcall getProjectUnitConversionFactor(
                                                int_t                   model,
                                                const char              * unitType,
                                                const char              ** unitPrefix,
                                                const char              ** unitName,
                                                const char              ** SIUnitName
                                            );

static  inline  double  getProjectUnitConversionFactor(
                                int_t                   model,
                                char                    * unitType,
                                char                    ** unitPrefix,
                                char                    ** unitName,
                                char                    ** SIUnitName
                            )
{
    return  getProjectUnitConversionFactor(
                    model,
                    (const char*) unitType,
                    (const char**) unitPrefix,
                    (const char**) unitName,
                    (const char**) SIUnitName
                );
}
    

Property model

Size: 64 bit / 8 byte (value)
The handle to the model. The model handle is static during its existance. Several models can be opened simultaniously within one session. Different models are always independent, threads are allowed to be running on different models simultaniously.

Property unitType

Size: 64 bit / 8 byte (reference)
...

Property unitPrefix

Size: 64 bit / 8 byte (reference)
...

Property unitName

Size: 64 bit / 8 byte (reference)
...

Property SIUnitName

Size: 64 bit / 8 byte (reference)
...