| RDB 2

version.template.hpp
Go to the documentation of this file.
1 /*
2 *******************************************************************************
3 *
4 * Copyright 2026 RIEGL Laser Measurement Systems
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 *
18 * SPDX-License-Identifier: Apache-2.0
19 *
20 *******************************************************************************
21 */
22 /*!
23 *******************************************************************************
24 *
25 * \file version.hpp
26 * \author RIEGL LMS GmbH, Austria
27 * \brief RDB library API version
28 * \version 2020-01-16/AW: Initial version
29 *
30 *******************************************************************************
31 */
32
33 #ifndef RIEGL_RDB_VERSION_HPP
34 #define RIEGL_RDB_VERSION_HPP
35
36 //---< INCLUDES >---------------------------------------------------------------
37
38 #include <string>
39
40 //---< MACROS >-----------------------------------------------------------------
41
42 #define RIEGL_RDB_INTERFACE_MAJOR {{rdb_api_version_major}}
43 #define RIEGL_RDB_INTERFACE_MINOR {{rdb_api_version_minor}}
44 #define RIEGL_RDB_INTERFACE_MICRO {{rdb_api_version_micro}}
45
46 //---< NAMESPACE >--------------------------------------------------------------
47
48 namespace riegl {
49 namespace rdb {
50
51 /*!
52 * \brief Returns library interface name
53 */
54 const std::string& interfaceName();
55
56 /*!
57 * \brief Returns library interface version string
58 */
59 const std::string& interfaceVersion();
60
61 }} // namespace riegl::rdb
62
63 #endif // RIEGL_RDB_VERSION_HPP
riegl
RIEGL Laser Measurement Systems GmbH, Austria.
Definition: context.hpp:48
riegl::rdb::interfaceVersion
const std::string & interfaceVersion()
Returns library interface version string.
riegl::rdb::interfaceName
const std::string & interfaceName()
Returns library interface name.