version.h
1 /**************************************************************************************
2 Copyright 2015 Applied Research Associates, Inc.
3 Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4 this file except in compliance with the License. You may obtain a copy of the License
5 at:
6 http://www.apache.org/licenses/LICENSE-2.0
7 Unless required by applicable law or agreed to in writing, software distributed under
8 the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9 CONDITIONS OF ANY KIND, either express or implied. See the License for the
10 specific language governing permissions and limitations under the License.
11 **************************************************************************************/
12 
13 #pragma once
14 #include <string>
15 #include <sstream>
16 #include <iostream>
17 
18 #include <biogears/exports.h>
19 
20 namespace biogears {
21 
22  BIOGEARS_API std::string version_string();
23  BIOGEARS_API char const * version_string_str();
24  BIOGEARS_API std::string full_version_string();
25  BIOGEARS_API char const * full_version_string_str();
26 
27  BIOGEARS_API std::string project_name();
28  BIOGEARS_API char const * project_name_str();
29 
30  BIOGEARS_API std::string rev_hash();
31  BIOGEARS_API char const * rev_hash_str();
32 
33  BIOGEARS_API std::string rev_tag();
34  BIOGEARS_API char const * rev_tag_str();
35 
36  BIOGEARS_API int rev_offset();
37 
38  BIOGEARS_API int biogears_major_version();
39  BIOGEARS_API int biogears_minor_version();
40  BIOGEARS_API int biogears_patch_version();
41 
42  BIOGEARS_API bool biogears_offical_release();
43 
44  BIOGEARS_API std::string rev_commit_date();
45  BIOGEARS_API char const* rev_commit_date_str();
46  BIOGEARS_API std::string biogears_build_date();
47  BIOGEARS_API const char* biogears_build_date_str();\
48 
49  }
BIOGEARS_API char const * project_name_str()
BIOGEARS_API char const * rev_tag_str()
BIOGEARS_API std::string rev_hash()
BIOGEARS_API char const * full_version_string_str()
BIOGEARS_API int biogears_minor_version()
BIOGEARS_API char const * rev_hash_str()
BIOGEARS_API bool biogears_offical_release()
BIOGEARS_API std::string full_version_string()
BIOGEARS_API int biogears_major_version()
BIOGEARS_API std::string biogears_build_date()
BIOGEARS_API int biogears_patch_version()
BIOGEARS_API std::string version_string()
BIOGEARS_API std::string project_name()
BIOGEARS_API std::string rev_tag()
BIOGEARS_API char const * rev_commit_date_str()
BIOGEARS_API std::string rev_commit_date()
BIOGEARS_API const char * biogears_build_date_str()
Definition: SEElectricalCircuit.h:18
BIOGEARS_API char const * version_string_str()
BIOGEARS_API int rev_offset()