Scarab  v3.5.3
Project 8 C++ Utility Library
Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
version_wrapper Class Reference

#include <version_wrapper.hh>

Inheritance diagram for version_wrapper:
Inheritance graph

Public Member Functions

void set_imp (version_semantic_ptr_t a_imp)
 
virtual unsigned major_version () const
 
virtual unsigned minor_version () const
 
virtual unsigned patch_version () const
 
virtual const std::string & version_str () const
 
virtual const std::string & package () const
 
virtual const std::string & commit () const
 
virtual const std::string & exe_name () const
 
virtual const std::string & hostname () const
 
virtual const std::string & username () const
 
virtual std::string version_info_string () const
 
- Public Member Functions inherited from version_ifc
 version_ifc ()
 
 version_ifc (const version_ifc &)
 
virtual ~version_ifc ()
 
version_ifcoperator= (const version_ifc &)
 

Protected Member Functions

 version_wrapper ()
 
 ~version_wrapper ()
 
- Protected Member Functions inherited from singleton< version_wrapper >
 singleton ()
 
 ~singleton ()
 

Private Attributes

version_semantic_ptr_t f_imp
 

Friends

class singleton< version_wrapper >
 
class destroyer< version_wrapper >
 

Additional Inherited Members

- Static Public Member Functions inherited from singleton< version_wrapper >
static version_wrapperget_instance ()
 
static void kill_instance ()
 
static version_wrappercreate_instance (x_args... args)
 
- Static Protected Attributes inherited from singleton< version_wrapper >
static std::mutex f_mutex
 

Detailed Description

Definition at line 17 of file version_wrapper.hh.

Constructor & Destructor Documentation

◆ version_wrapper()

version_wrapper ( )
inlineprotected

Definition at line 22 of file version_wrapper.hh.

◆ ~version_wrapper()

~version_wrapper ( )
inlineprotected

Definition at line 23 of file version_wrapper.hh.

Member Function Documentation

◆ commit()

virtual const std::string& commit ( ) const
inlinevirtual

Implements version_ifc.

Definition at line 55 of file version_wrapper.hh.

◆ exe_name()

virtual const std::string& exe_name ( ) const
inlinevirtual

Implements version_ifc.

Definition at line 60 of file version_wrapper.hh.

◆ hostname()

virtual const std::string& hostname ( ) const
inlinevirtual

Implements version_ifc.

Definition at line 64 of file version_wrapper.hh.

◆ major_version()

virtual unsigned major_version ( ) const
inlinevirtual

Implements version_ifc.

Definition at line 33 of file version_wrapper.hh.

◆ minor_version()

virtual unsigned minor_version ( ) const
inlinevirtual

Implements version_ifc.

Definition at line 37 of file version_wrapper.hh.

◆ package()

virtual const std::string& package ( ) const
inlinevirtual

Implements version_ifc.

Definition at line 51 of file version_wrapper.hh.

◆ patch_version()

virtual unsigned patch_version ( ) const
inlinevirtual

Implements version_ifc.

Definition at line 41 of file version_wrapper.hh.

◆ set_imp()

void set_imp ( version_semantic_ptr_t  a_imp)
inline

Definition at line 26 of file version_wrapper.hh.

◆ username()

virtual const std::string& username ( ) const
inlinevirtual

Implements version_ifc.

Definition at line 68 of file version_wrapper.hh.

◆ version_info_string()

virtual std::string version_info_string ( ) const
inlinevirtual

Implements version_ifc.

Definition at line 73 of file version_wrapper.hh.

◆ version_str()

virtual const std::string& version_str ( ) const
inlinevirtual

Implements version_ifc.

Definition at line 46 of file version_wrapper.hh.

Friends And Related Function Documentation

◆ destroyer< version_wrapper >

friend class destroyer< version_wrapper >
friend

Definition at line 21 of file version_wrapper.hh.

◆ singleton< version_wrapper >

friend class singleton< version_wrapper >
friend

Definition at line 20 of file version_wrapper.hh.

Member Data Documentation

◆ f_imp

version_semantic_ptr_t f_imp
private

Definition at line 79 of file version_wrapper.hh.


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