File DlVersion.h¶
↰ Parent directory (DlSystem)
Contents
Definition (DlSystem/DlVersion.h)¶
Includes¶
DlSystem/DlError.h(File DlError.h)DlSystem/SnpeApiExportDefine.h(File SnpeApiExportDefine.h)stdint.h
Included By¶
Functions¶
Typedefs¶
Full File Listing¶
Typedefs
-
typedef void *Snpe_DlVersion_Handle_t¶
A class that contains the different portions of a version number. A typedef to indicate a SNPE DlVersion handle
Functions
-
Snpe_DlVersion_Handle_t Snpe_DlVersion_Create()¶
Construct a DlVersion
- Returns
a handle to the created DlVersion
-
Snpe_ErrorCode_t Snpe_DlVersion_Delete(Snpe_DlVersion_Handle_t handle)¶
Destroys/frees DlVersion
- Parameters
handle – [in] : Handle to access DlVersion
- Returns
SNPE_SUCCESS if Delete operation successful.
-
int32_t Snpe_DlVersion_GetMajor(Snpe_DlVersion_Handle_t handle)¶
Get the major version number.
- Parameters
handle – [in] : Handle to access DlVersion
- Returns
Major version
-
int32_t Snpe_DlVersion_GetMinor(Snpe_DlVersion_Handle_t handle)¶
Get the minor version number.
- Parameters
handle – [in] : Handle to access DlVersion
- Returns
Minor version
-
int32_t Snpe_DlVersion_GetTeeny(Snpe_DlVersion_Handle_t handle)¶
Get the teeny version number.
- Parameters
handle – [in] : Handle to access DlVersion
- Returns
Teeny version
-
const char *Snpe_DlVersion_GetBuild(Snpe_DlVersion_Handle_t handle)¶
Get the string holding information about the build version.
- Parameters
handle – [in] : Handle to access DlVersion
- Returns
Build information
-
const char *Snpe_DlVersion_ToString(Snpe_DlVersion_Handle_t handle)¶
Returns a string in the form Major.Minor.Teeny.Build.
- Parameters
handle – [in] : Handle to access DlVersion
- Returns
A formatted char* holding the version information.
Note
the returned string will be invalidated by subsequent calls to this function
-
Snpe_DlVersion_Handle_t Snpe_DlVersion_FromString(const char *stringValue)¶
Create a DlVersion from a string.
- Parameters
stringValue – The formatted DlVersion string
- Returns
A handle to the created DlVersion