Skip to main content

Common Fluids Format 2024 R1

CffVersion

Last update: 16.07.2025
1/*
2 * Copyright ANSYS. All Rights Reserved.
3 */
4
5#ifndef CFFSDK_CFFINTERFACE_CFFVERSION_HPP_
6#define CFFSDK_CFFINTERFACE_CFFVERSION_HPP_
7
8#include "LibraryType.hpp"
9
10#include <string>
11
12namespace ansys {
13
14 class ANSYS_FLUIDS_CFFINTERFACE_DLL CffVersion {
15 public:
16 CffVersion() {}
17 ~CffVersion() {}
18
19 public:
20 static unsigned int getMajor();
21 static unsigned int getMinor();
22 static unsigned int getPatch();
23 static bool isBeta();
24
25 static std::string apiVersionAsString( const std::string& separator="." );
26
27 static std::string ansysApplicationVersion( const std::string& appName );
28
29 static std::string copyright( bool allRightsReserved);
30 };
31
32}
33
34#endif // CFFSDK_CFFINTERFACE_CFFVERSION_HPP_
Provides some basic version extraction and comparison functions.
Definition: CffVersion.hpp:14
Definition: API.dox:1

Connect with Ansys