    

 ## On this page

  

 

 # CffVersion

 Last update: 16.07.2025 

<a id="l00001" name="l00001"></a> 1/\*

<a id="l00002" name="l00002"></a> 2 \* Copyright ANSYS. All Rights Reserved.

<a id="l00003" name="l00003"></a> 3 \*/

<a id="l00004" name="l00004"></a> 4 

<a id="l00005" name="l00005"></a> 5\#ifndef CFFSDK\_CFFINTERFACE\_CFFVERSION\_HPP\_

<a id="l00006" name="l00006"></a> 6\#define CFFSDK\_CFFINTERFACE\_CFFVERSION\_HPP\_

<a id="l00007" name="l00007"></a> 7 

<a id="l00008" name="l00008"></a> 8\#include "LibraryType.hpp"

<a id="l00009" name="l00009"></a> 9 

<a id="l00010" name="l00010"></a> 10\#include &lt;string&gt;

<a id="l00011" name="l00011"></a> 11 

<a id="l00012" name="l00012"></a> 12namespace [ansys](namespaceansys.xhtml) {

<a id="l00013" name="l00013"></a> 13 

<a id="l00014" name="l00014"></a>[ 14](classansys_1_1_cff_version.xhtml) class ANSYS_FLUIDS_CFFINTERFACE_DLL [CffVersion](classansys_1_1_cff_version.xhtml) {

<a id="l00015" name="l00015"></a> 15 public:

<a id="l00016" name="l00016"></a> 16 [CffVersion](classansys_1_1_cff_version.xhtml)() {} 

<a id="l00017" name="l00017"></a> 17 [~CffVersion](classansys_1_1_cff_version.xhtml)() {}

<a id="l00018" name="l00018"></a> 18 

<a id="l00019" name="l00019"></a> 19 public:

<a id="l00020" name="l00020"></a> 20 static unsigned int getMajor();

<a id="l00021" name="l00021"></a> 21 static unsigned int getMinor();

<a id="l00022" name="l00022"></a> 22 static unsigned int getPatch();

<a id="l00023" name="l00023"></a> 23 static bool isBeta();

<a id="l00024" name="l00024"></a> 24 

<a id="l00025" name="l00025"></a> 25 static std::string apiVersionAsString( const std::string&amp; separator="." );

<a id="l00026" name="l00026"></a> 26 

<a id="l00027" name="l00027"></a> 27 static std::string ansysApplicationVersion( const std::string&amp; appName );

<a id="l00028" name="l00028"></a> 28 

<a id="l00029" name="l00029"></a> 29 static std::string copyright( bool allRightsReserved);

<a id="l00030" name="l00030"></a> 30 };

<a id="l00031" name="l00031"></a> 31 

<a id="l00032" name="l00032"></a> 32}

<a id="l00033" name="l00033"></a> 33 

<a id="l00034" name="l00034"></a> 34\#endif // CFFSDK\_CFFINTERFACE\_CFFVERSION\_HPP\_

[ansys::CffVersion](classansys_1_1_cff_version.xhtml)

Provides some basic version extraction and comparison functions.

**Definition:** CffVersion.hpp:14



[ansys](namespaceansys.xhtml)

**Definition:** API.dox:1