    

 ## On this page

  

 

 # ansys::CffVersion Class Reference

 Last update: 19.05.2025 

Provides some basic version extraction and comparison functions. [More...](classansys_1_1_cff_version.xhtml#details)

`#include "CffInterface/CffVersion.hpp"`

Inheritance diagram for ansys::CffVersion:

 ![](/sites/default/files/migrate-content/common_fluids_format_2025_r1_2/classansys_1_1_cff_version.png)



## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

 [CffVersion](classansys_1_1_cff_version.xhtml#a9274e8b4fd14afdc71d46fb66dc405cd) ()  [~CffVersion](classansys_1_1_cff_version.xhtml#a3ee0c0a7f11906983671c5b693860430) () ## <a id="pub-static-methods" name="pub-static-methods"></a>Static Public Member Functions

static unsigned int [getMajor](classansys_1_1_cff_version.xhtml#a6eac2194e4845de8b13fc6654a6061db) () static unsigned int [getMinor](classansys_1_1_cff_version.xhtml#ae580f388b6c6dd9e68db8433749da81e) () static unsigned int [getPatch](classansys_1_1_cff_version.xhtml#ad1139980443eb9200c7c37e1a48433ac) () static std::string [getSHA](classansys_1_1_cff_version.xhtml#a054bb0e156cf7a084145cd536399fcf1) () static bool [isBeta](classansys_1_1_cff_version.xhtml#a49bba0b8a37276210f7e51c425ee4788) () static std::string [apiVersionAsString](classansys_1_1_cff_version.xhtml#aba256dcc082e509be94d1c332a88f1dc) (const std::string &amp;separator=".") static std::string [ansysApplicationVersion](classansys_1_1_cff_version.xhtml#a839a336d8430485ed81d1bafdc6671cc) (const std::string &amp;appName) static std::string [copyright](classansys_1_1_cff_version.xhtml#a36112f9aea74b547d2d238c447ab89a9) (bool allRightsReserved) <a id="details" name="details"></a>## Detailed Description

Provides some basic version extraction and comparison functions.



## Constructor &amp; Destructor Documentation

<a id="a9274e8b4fd14afdc71d46fb66dc405cd" name="a9274e8b4fd14afdc71d46fb66dc405cd"></a>## [◆ ](#a9274e8b4fd14afdc71d46fb66dc405cd)CffVersion()

 ansys::CffVersion::CffVersion  ( )   inline 





<a id="a3ee0c0a7f11906983671c5b693860430" name="a3ee0c0a7f11906983671c5b693860430"></a>## [◆ ](#a3ee0c0a7f11906983671c5b693860430)~CffVersion()

 ansys::CffVersion::~CffVersion  ( )   inline 





## Member Function Documentation

<a id="a839a336d8430485ed81d1bafdc6671cc" name="a839a336d8430485ed81d1bafdc6671cc"></a>## [◆ ](#a839a336d8430485ed81d1bafdc6671cc)ansysApplicationVersion()

 std::string ansys::CffVersion::ansysApplicationVersion  ( const std::string &amp;  *appName*)   static 

Returns the version of the API including an application name Primarily this is for use when writing release information to a file





<a id="aba256dcc082e509be94d1c332a88f1dc" name="aba256dcc082e509be94d1c332a88f1dc"></a>## [◆ ](#aba256dcc082e509be94d1c332a88f1dc)apiVersionAsString()

 std::string ansys::CffVersion::apiVersionAsString  ( const std::string &amp;  *separator* = `"."`)   static 

Returns the version of the API as string in the form: &lt;MAJOR&gt;&lt;separator&gt;&lt;MINOR&gt;\[&lt;separator&gt;&lt;PATCH&gt;\]





<a id="a36112f9aea74b547d2d238c447ab89a9" name="a36112f9aea74b547d2d238c447ab89a9"></a>## [◆ ](#a36112f9aea74b547d2d238c447ab89a9)copyright()

 std::string ansys::CffVersion::copyright  ( bool  *allRightsReserved*)   static 

Returns a copyright string containing the ANSYS copyright information





<a id="a6eac2194e4845de8b13fc6654a6061db" name="a6eac2194e4845de8b13fc6654a6061db"></a>## [◆ ](#a6eac2194e4845de8b13fc6654a6061db)getMajor()

 unsigned int ansys::CffVersion::getMajor  ( )   static 

Returns the major release version of the API





<a id="ae580f388b6c6dd9e68db8433749da81e" name="ae580f388b6c6dd9e68db8433749da81e"></a>## [◆ ](#ae580f388b6c6dd9e68db8433749da81e)getMinor()

 unsigned int ansys::CffVersion::getMinor  ( )   static 

Returns the minor release version of the API





<a id="ad1139980443eb9200c7c37e1a48433ac" name="ad1139980443eb9200c7c37e1a48433ac"></a>## [◆ ](#ad1139980443eb9200c7c37e1a48433ac)getPatch()

 unsigned int ansys::CffVersion::getPatch  ( )   static 

Returns the path release version of the API





<a id="a054bb0e156cf7a084145cd536399fcf1" name="a054bb0e156cf7a084145cd536399fcf1"></a>## [◆ ](#a054bb0e156cf7a084145cd536399fcf1)getSHA()

 std::string ansys::CffVersion::getSHA  ( )   static 

Returns the unique SHA index of the API





<a id="a49bba0b8a37276210f7e51c425ee4788" name="a49bba0b8a37276210f7e51c425ee4788"></a>## [◆ ](#a49bba0b8a37276210f7e51c425ee4788)isBeta()

 bool ansys::CffVersion::isBeta  ( )   static 

Returns whether this version of the API is at Beta release level