Overview / Foundation

version

Stores and returns the application name and version as a C string, <code>std::string</code> or <code>CAString</code>.

Always compiled: part of the core build.Include #include <ethereal/cpp/version/version_inc.hpp>C layer

version_inc.hpp

#include <ethereal/cpp/version/version_inc.hpp>

version.hpp

#include <ethereal/cpp/version/version.hpp>
function

SetAppVersion

Ethereal::Version#
void SetAppVersion( const char * sProjectName, const char * sVersion );

Sets the version of the application/project.

sProjectName
Name of the project or application.
sVersion
Version of the project or application.
function

GetAppVersion

Ethereal::Version#
const char * GetAppVersion( void );

Gets the version of the application.

Character pointer to the application version.
function

GetAppSVersion

Ethereal::Version#
std::string GetAppSVersion( void );

Gets the version of the application.

std::string with the application version.
function

GetAppAVersion

Ethereal::Version#
String::CAString GetAppAVersion( void );

Gets the version of the application.

Copy of the String::CAString with the application version.