TnEHProvider
Public Member Functions | Private Attributes | List of all members
tn::ehp::APIVersion Class Referencefinal

APIVersion The API versioning class. The API version is consisted by major, minor, patch and the commit id. Example: More...

#include <tn_api_version.h>

Public Member Functions

 APIVersion (const std::string &major, const std::string &minor, const std::string patch)
 
 ~APIVersion ()
 
 APIVersion (const APIVersion &&)=delete
 
 APIVersion (APIVersion &)=delete
 
std::string getVersion () const
 

Private Attributes

std::string m_major
 
std::string m_minor
 
std::string m_patch
 

Detailed Description

APIVersion The API versioning class. The API version is consisted by major, minor, patch and the commit id. Example:

Definition at line 35 of file tn_api_version.h.

Constructor & Destructor Documentation

◆ APIVersion() [1/3]

tn::ehp::APIVersion::APIVersion ( const std::string &  major,
const std::string &  minor,
const std::string  patch 
)
inline

Definition at line 38 of file tn_api_version.h.

◆ ~APIVersion()

tn::ehp::APIVersion::~APIVersion ( )
inline

Definition at line 44 of file tn_api_version.h.

◆ APIVersion() [2/3]

tn::ehp::APIVersion::APIVersion ( const APIVersion &&  )
delete

◆ APIVersion() [3/3]

tn::ehp::APIVersion::APIVersion ( APIVersion )
delete

Member Function Documentation

◆ getVersion()

std::string tn::ehp::APIVersion::getVersion ( ) const
inline

Definition at line 51 of file tn_api_version.h.

Member Data Documentation

◆ m_major

std::string tn::ehp::APIVersion::m_major
private

Definition at line 61 of file tn_api_version.h.

◆ m_minor

std::string tn::ehp::APIVersion::m_minor
private

Definition at line 62 of file tn_api_version.h.

◆ m_patch

std::string tn::ehp::APIVersion::m_patch
private

Definition at line 63 of file tn_api_version.h.


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