PCL
pcl::Version Class Reference

Provides PCL version numbers. More...

#include <Version.h>

Public Member Functions

 Version ()=delete
 
 Version (const Version &)=delete
 
 ~Version ()=delete
 
Versionoperator= (const Version &)=delete
 

Static Public Member Functions

static String AsString ()
 
static int BetaRelease ()
 
static int Build ()
 
static String LanguageCode ()
 
static int Major ()
 
static int Minor ()
 
static int Number ()
 
static int Release ()
 

Detailed Description

The Version class reads PCL version data stored in static read-only variables. It provides version information for the PCL libraries that have been linked to the current module.

Definition at line 75 of file Version.h.

Constructor & Destructor Documentation

◆ Version() [1/2]

pcl::Version::Version ( )
delete

Default constructor. This constructor is disabled because Version is not an instantiable class.

◆ Version() [2/2]

pcl::Version::Version ( const Version )
delete

Copy constructor. This constructor is disabled because Version is not an instantiable class.

◆ ~Version()

pcl::Version::~Version ( )
delete

Destructor. This destructor is disabled because Version is not an instantiable class.

Member Function Documentation

◆ AsString()

static String pcl::Version::AsString ( )
static

Returns a human-readable representation of the current PCL version.

◆ BetaRelease()

static int pcl::Version::BetaRelease ( )
static

Returns the beta version number of PCL, or zero if the current PCL framework is a release (non-beta) version.

◆ Build()

static int pcl::Version::Build ( )
static

Returns the current PCL build number.

Note
Since core version 1.8.7 build numbers have been deprecated. They are maintained exclusively for compatibility with previous versions and existing code.

◆ LanguageCode()

static String pcl::Version::LanguageCode ( )
static

Returns an ISO 639.2 language code that identifies the primary language of the current PCL framework.

◆ Major()

static int pcl::Version::Major ( )
static

Returns the current PCL major version number.

◆ Minor()

static int pcl::Version::Minor ( )
static

Returns the current PCL minor version number.

◆ Number()

static int pcl::Version::Number ( )
inlinestatic

Returns an integer that corresponds to the full PCL version.

The returned value is equal to:

Major()*1000000 + Minor()*1000 + Release();

Definition at line 146 of file Version.h.

◆ operator=()

Version& pcl::Version::operator= ( const Version )
delete

Copy assignment. This operator is disabled because Version is not an instantiable class.

◆ Release()

static int pcl::Version::Release ( )
static

Returns the current PCL release version number.


The documentation for this class was generated from the following file:
pcl::Version::Release
static int Release()
pcl::Version::Minor
static int Minor()
pcl::Version::Major
static int Major()