struct InferenceEngine::Version::ApiVersion¶
Overview¶
An API version reflects the set of supported features. More…
#include <ie_version.hpp>
struct ApiVersion
{
// fields
int major;
int minor;
// construction
ApiVersion();
ApiVersion(const ApiVersion& v);
ApiVersion(int _major, int _minor);
// methods
ApiVersion& operator = (const ApiVersion& other);
};
Detailed Documentation¶
An API version reflects the set of supported features.
Deprecated Use IE_VERSION_[MAJOR|MINOR|PATCH] definitions, buildNumber property
Construction¶
ApiVersion()
A default construtor.
ApiVersion(const ApiVersion& v)
A default construtor.
Parameters:
v |
A version to copy |
ApiVersion(int _major, int _minor)
A default construtor.
Parameters:
_major |
A major version to copy |
_minor |
A minor version to copy |
Methods¶
ApiVersion& operator = (const ApiVersion& other)
A copy operator.
Parameters:
other |
An object to copy |
Returns:
A copy