VAVersion.h 1.23 KB
Newer Older
1 2 3
/*
 *  --------------------------------------------------------------------------------------------
 *
4 5 6 7 8 9
 *    VVV        VVV A           Virtual Acoustics (VA) | http://www.virtualacoustics.org
 *     VVV      VVV AAA          Licensed under the Apache License, Version 2.0
 *      VVV    VVV   AAA
 *       VVV  VVV     AAA        Copyright 2015-2017
 *        VVVVVV       AAA       Institute of Technical Acoustics (ITA)
 *         VVVV         AAA      RWTH Aachen University
10 11 12 13 14 15
 *
 *  --------------------------------------------------------------------------------------------
 */

#ifndef IW_VABASE_CORE_VERSION
#define IW_VABASE_CORE_VERSION
Jonas Stienen's avatar
Jonas Stienen committed
16 17 18 19

#include <VABaseDefinitions.h>
#include <string>

20
//! Version info data class
Jonas Stienen's avatar
Jonas Stienen committed
21
/**
22 23
  * Class describing version info of VA components
  */
24
class VABASE_API CVAVersionInfo
25
{
Jonas Stienen's avatar
Jonas Stienen committed
26
public:
27 28 29 30
	std::string sVersion;				//!< Version as string (e.g. "1.02")
	std::string sDate;					//!< Date of creation / publiching date
	std::string sFlags;					//!< List of properties (flags) (e.g. "debug", "SSE2")
	std::string sComments;				//!< Additional comments
Jonas Stienen's avatar
Jonas Stienen committed
31

32
	//! Return VA version as formatted string
33 34 35
	/**
	  * @return Version info as formatted string
	  */
Jonas Stienen's avatar
Jonas Stienen committed
36 37 38
	std::string ToString() const;
};

39
#endif // IW_VABASE_CORE_VERSION