NCFS-Pack
A generic (astro)particle physics analysis framework
 
Loading...
Searching...
No Matches
NcVersion Class Reference

Facility to provide version information. More...

#include "NcVersion.h"

Inheritance diagram for NcVersion:

Detailed Description

Facility to provide version information.


Copyright(c) 2009 NCFS/IIHE, All Rights Reserved. *
*
Authors: The Netherlands Center for Fundamental Studies (NCFS). *
The Inter-university Institute for High Energies (IIHE). *
Website : http://www.iihe.ac.be *
Contact : Nick van Eijndhoven (nickve.nl@gmail.com) *
*
Contributors are mentioned in the code where appropriate. *
*
No part of this software may be used, copied, modified or distributed *
by any means nor transmitted or translated into machine language for *
commercial purposes without written permission by the IIHE representative. *
Permission to use the software strictly for non-commercial purposes *
is hereby granted without fee, provided that the above copyright notice *
appears in all copies and that both the copyright notice and this *
permission notice appear in the supporting documentation. *
This software is provided "as is" without express or implied warranty. *
The authors make no claims that this software is free of error, or is *
consistent with any particular standard of merchantability, or that it *
will meet your requirements for any particular application, other than *
indicated in the corresponding documentation. *
This software should not be relied on for solving a problem whose *
incorrect solution could result in injury to a person or loss of property. *
If you do use this software in such a manner, it is at your own risk. *
The authors disclaim all liability for direct or consequential damage *
resulting from your use of this software. *

// Class NcVersion
// Facility to provide version information of the current release.
// Instead of using separate branches and tags for the various related
// sub-packages like e.g. IcePack, which may complicate the management
// of the complete NCFS framework, the GIT revision tag identifier of
// the Master branch of the total repository is used as a reference instead.
// Invokation of NcVersion::Data() will always indicate a.o. the version of
// a specific release. In case one wants a previous release, just select
// the desired version (as provided by NcVersion::Data()), check what the
// corresponding GIT revision tag is, and "pull" that specific revision tag
// from the GIT repository for all packages.
// This will always provide you with an integral working environment.
//
// The current version in the master branch may not yet have a GIT revision tag,
// since development may still be going on before a version is frozen and released.
// However, the master branch will always provide an integral working environment.
//
// As usual the version number consists of a major and minor version indicator.
// Major version updates indicate changes that may have impact on the actual
// coding of other (sub)packages, whereas minor version updates only indicate
// improvements or extensions that are fully backward compatible.
//
//--- Author: Nick van Eijndhoven 24-sep-2009 NCFS
//- Modified: Nick van Eijndhoven, IIHE-VUB Brussel, October 1, 2025 11:05Z

Definition at line 11 of file NcVersion.h.

Public Member Functions

 NcVersion ()
 
 NcVersion (const NcVersion &v)
 
virtual ~NcVersion ()
 
virtual void Data () const
 
TString GetVersion () const
 
NcVersionoperator= (const NcVersion &q)
 

Protected Attributes

TString fDate
 
TString fRev
 
TString fVersion
 

Constructor & Destructor Documentation

◆ NcVersion() [1/2]

NcVersion::NcVersion ( )
// Default constructor to initialise all parameters.

Definition at line 69 of file NcVersion.cxx.

◆ ~NcVersion()

NcVersion::~NcVersion ( )
virtual
// Default destructor.

Definition at line 82 of file NcVersion.cxx.

◆ NcVersion() [2/2]

NcVersion::NcVersion ( const NcVersion & v)
// Copy constructor.

Definition at line 91 of file NcVersion.cxx.

Member Function Documentation

◆ Data()

void NcVersion::Data ( ) const
virtual
// Provide the version information for this release.

Definition at line 119 of file NcVersion.cxx.

◆ GetVersion()

TString NcVersion::GetVersion ( ) const
// Provide the version string.

Definition at line 134 of file NcVersion.cxx.

◆ operator=()

NcVersion & NcVersion::operator= ( const NcVersion & q)
// Set the current version attributes equal to version instance q.

Definition at line 104 of file NcVersion.cxx.

Member Data Documentation

◆ fDate

TString NcVersion::fDate
protected

Definition at line 24 of file NcVersion.h.

◆ fRev

TString NcVersion::fRev
protected

Definition at line 23 of file NcVersion.h.

◆ fVersion

TString NcVersion::fVersion
protected

Definition at line 22 of file NcVersion.h.


The documentation for this class was generated from the following files: