Files
openvino/inference-engine/include/ie_version.hpp
Ilya Lavrenov 776005749c Documentation fixes (#3418)
* Fixed documentation build when paths contain spaces

* ops math formula fix

* Fixed typo in

* Added more dependencies for openvino_docs

* Improvements

Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
2020-12-01 06:33:36 +03:00

51 lines
1.1 KiB
C++

// Copyright (C) 2018-2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
/**
* @brief A header file that provides versioning information for the inference engine shared library
*
* @file ie_version.hpp
*/
#pragma once
#include "ie_api.h"
/**
* @brief Inference Engine C++ API
*/
namespace InferenceEngine {
/**
* @struct Version
* @brief Represents version information that describes plugins and the inference engine runtime library
*/
#pragma pack(push, 1)
struct Version {
/**
* @brief An API version reflects the set of supported features
*/
struct {
int major; //!< A major version
int minor; //!< A minor version
} apiVersion;
/**
* @brief A null terminated string with build number
*/
const char* buildNumber;
/**
* @brief A null terminated description string
*/
const char* description;
};
#pragma pack(pop)
/**
* @brief Gets the current Inference Engine version
*
* @return The current Inference Engine version
*/
INFERENCE_ENGINE_API(const Version*) GetInferenceEngineVersion() noexcept;
} // namespace InferenceEngine