ONE - On-device Neural Engine
Loading...
Searching...
No Matches
vconone.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef __VCON_ONE_H__
18#define __VCON_ONE_H__
19
20#include <cstdint>
21#include <string>
22
23namespace vconone
24{
25
26struct four
27{
28 uint16_t major;
29 uint16_t minor;
30 uint16_t patch;
31 uint16_t build; // build is not used for now
32};
33
34union version {
35 uint64_t v;
37};
38
43
47std::string get_string(void);
48
52std::string get_string4(void);
53
57std::string get_copyright(void);
58
59} // namespace vconone
60
61#endif // __VCON_ONE_H__
std::string get_string4(void)
get_string4 will return string of major.minor.patch.build
Definition version.cpp:33
std::string get_copyright(void)
get_copyright will return copyright string
Definition version.cpp:54
version get_number(void)
get_number will return version union structure
Definition version.cpp:26
std::string get_string(void)
get_string will return string of major.minor.patch (without build)
Definition version.cpp:44
uint16_t major
Definition vconone.h:28
uint16_t build
Definition vconone.h:31
uint16_t patch
Definition vconone.h:30
uint16_t minor
Definition vconone.h:29
uint64_t v
Definition vconone.h:35