ie_version.hpp
Go to the documentation of this file.
1 // Copyright (C) 2018-2019 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 //
4 
5 /**
6  * @brief A header file that provides versioning information for the inference engine shared library
7  * @file ie_version.hpp
8  */
9 #pragma once
10 
11 #include "ie_api.h"
12 
13 namespace InferenceEngine {
14 
15 /**
16  * @struct Version
17  * @brief Represents version information that describes plugins and the inference engine runtime library
18  */
19 #pragma pack(push, 1)
20 struct Version {
21  /**
22  * @brief An API version reflects the set of supported features
23  */
24  struct {
25  int major;
26  int minor;
27  } apiVersion;
28  /**
29  * @brief A null terminated string with build number
30  */
31  const char * buildNumber;
32  /**
33  * @brief A null terminated description string
34  */
35  const char * description;
36 };
37 #pragma pack(pop)
38 
39 /**
40  * @brief Gets the current Inference Engine version
41  * @return The current Inference Engine version
42  */
43 INFERENCE_ENGINE_API(const Version*) GetInferenceEngineVersion() noexcept;
44 
45 } // namespace InferenceEngine
const char * description
A null terminated description string.
Definition: ie_version.hpp:35
Definition: ie_argmax_layer.hpp:11
Represents version information that describes plugins and the inference engine runtime library...
Definition: ie_version.hpp:20
struct InferenceEngine::Version::@0 apiVersion
An API version reflects the set of supported features.
const char * buildNumber
A null terminated string with build number.
Definition: ie_version.hpp:31
The macro defines a symbol import/export mechanism essential for Microsoft Windows(R) OS...