/usr/include/shogun/base/Version.h is in libshogun-dev 3.2.0-7.5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | /*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* Written (W) 1999-2009 Soeren Sonnenburg
* Copyright (C) 1999-2009 Fraunhofer Institute FIRST and Max Planck Society
*/
#include <shogun/base/init.h>
#include <shogun/lib/common.h>
#include <shogun/io/SGIO.h>
#include <shogun/lib/config.h>
#include <shogun/lib/RefCount.h>
#ifndef VERSION_H__
#define VERSION_H__
namespace shogun
{
class RefCount;
class IO;
/** @brief Class Version provides version information.
*
* It provides information of the version of shogun that is currently used, for
* example the svn revision, time and date of compile and compilation and
* the linkflags used.
*/
class Version
{
public:
/** constructor */
Version();
/** destructor */
virtual ~Version();
/** print version */
static void print_version();
/** get version extra */
static const char* get_version_extra();
/** get version release */
static const char* get_version_release();
/** get version revision */
static int32_t get_version_revision();
/** get version year */
static int32_t get_version_year();
/** get version month */
static int32_t get_version_month();
/** get version day */
static int32_t get_version_day();
/** get version hour */
static int32_t get_version_hour();
/** get version minute */
static int32_t get_version_minute();
/** get parameter serialization version */
static int32_t get_version_parameter();
/** get version in minutes */
static int64_t get_version_in_minutes();
/** ref object
* @return ref count
*/
int32_t ref();
/** ref count
* @return ref count
*/
int32_t ref_count() const;
/** unref object
* @return ref count
*/
int32_t unref();
protected:
/** version release */
static const char version_release[128];
/** version extra */
static const char version_extra[128];
/** version revision */
static const int32_t version_revision;
/** version year */
static const int32_t version_year;
/** version month */
static const int32_t version_month;
/** version day */
static const int32_t version_day;
/** version hour */
static const int32_t version_hour;
/** version minute */
static const int32_t version_minute;
/** version parameter */
static const int32_t version_parameter;
private:
RefCount* m_refcount;
};
}
#endif
|