SHOGUN
3.2.1
首页
相关页面
模块
类
文件
文件列表
文件成员
全部
类
命名空间
文件
函数
变量
类型定义
枚举
枚举值
友元
宏定义
组
页
src
shogun
base
Version.h
浏览该文件的文档.
1
/*
2
* This program is free software; you can redistribute it and/or modify
3
* it under the terms of the GNU General Public License as published by
4
* the Free Software Foundation; either version 3 of the License, or
5
* (at your option) any later version.
6
*
7
* Written (W) 1999-2009 Soeren Sonnenburg
8
* Copyright (C) 1999-2009 Fraunhofer Institute FIRST and Max Planck Society
9
*/
10
11
#include <
shogun/base/init.h
>
12
13
#include <
shogun/lib/common.h
>
14
#include <
shogun/io/SGIO.h
>
15
#include <
shogun/lib/config.h
>
16
#include <
shogun/lib/RefCount.h
>
17
18
#ifndef VERSION_H__
19
#define VERSION_H__
20
21
namespace
shogun
22
{
23
class
RefCount;
24
class
IO;
25
32
class
Version
33
{
34
public
:
36
Version
();
38
virtual
~Version
();
39
41
static
void
print_version
();
42
44
static
const
char
*
get_version_extra
();
45
47
static
const
char
*
get_version_release
();
48
50
static
int32_t
get_version_revision
();
51
53
static
int32_t
get_version_year
();
54
56
static
int32_t
get_version_month
();
57
59
static
int32_t
get_version_day
();
60
62
static
int32_t
get_version_hour
();
63
65
static
int32_t
get_version_minute
();
66
68
static
int32_t
get_version_parameter
();
69
71
static
int64_t
get_version_in_minutes
();
72
76
int32_t
ref
();
77
81
int32_t
ref_count
()
const
;
82
86
int32_t
unref
();
87
88
protected
:
90
static
const
char
version_release
[128];
92
static
const
char
version_extra
[128];
93
95
static
const
int32_t
version_revision
;
97
static
const
int32_t
version_year
;
99
static
const
int32_t
version_month
;
101
static
const
int32_t
version_day
;
103
static
const
int32_t
version_hour
;
105
static
const
int32_t
version_minute
;
107
static
const
int32_t
version_parameter
;
108
109
private
:
110
RefCount
* m_refcount;
111
};
112
}
113
#endif
SHOGUN
机器学习工具包 - 项目文档