File indexing completed on 2025-01-18 09:54:08
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef CATCH_VERSION_HPP_INCLUDED
0009 #define CATCH_VERSION_HPP_INCLUDED
0010
0011 #include <iosfwd>
0012
0013 namespace Catch {
0014
0015
0016 struct Version {
0017 Version( Version const& ) = delete;
0018 Version& operator=( Version const& ) = delete;
0019 Version( unsigned int _majorVersion,
0020 unsigned int _minorVersion,
0021 unsigned int _patchNumber,
0022 char const * const _branchName,
0023 unsigned int _buildNumber );
0024
0025 unsigned int const majorVersion;
0026 unsigned int const minorVersion;
0027 unsigned int const patchNumber;
0028
0029
0030 char const * const branchName;
0031 unsigned int const buildNumber;
0032
0033 friend std::ostream& operator << ( std::ostream& os, Version const& version );
0034 };
0035
0036 Version const& libraryVersion();
0037 }
0038
0039 #endif