Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
Revision Class Reference

Helper object for obtaining buid revision info. More...

#include <Revision.hxx>

Static Public Member Functions

static std::string get (unsigned index)
 Get a revision out of the revision string array.
 
static size_t count ()
 Get the total number of valid revision strings.
 

Static Private Attributes

static const char * REVISION []
 

Detailed Description

Helper object for obtaining buid revision info.

Definition at line 34 of file Revision.hxx.

Member Function Documentation

◆ count()

static size_t Revision::count ( )
static

Get the total number of valid revision strings.

Returns
total number of valid revision strings

◆ get()

static std::string Revision::get ( unsigned  index)
inlinestatic

Get a revision out of the revision string array.

Parameters
indexindex within the array to get the string for
Returns
revision string, else empty string if at or beyond array bounds

Definition at line 40 of file Revision.hxx.

Member Data Documentation

◆ REVISION

const char* Revision::REVISION[]
staticprivate

Definition at line 54 of file Revision.hxx.


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