List of all members | Public Member Functions | Private Attributes
utl::Deprecator::DeprecationInfo Class Reference

Information about the deprecated interface. More...

Public Member Functions

 DeprecationInfo (const std::string &theHint, const std::string &theVersion)
 
std::size_t GetCount () const
 
const std::string & GetHint () const
 
const std::string & GetVersion () const
 
void IncrementUsage ()
 

Private Attributes

std::size_t fCount
 Count of uses of deprecated interface. More...
 
std::string fHint
 Hint what to do to avoid deprecated interface. More...
 
std::string fVersion
 Version since when this interface is deprecated. More...
 

Detailed Description

Information about the deprecated interface.

Definition at line 85 of file Deprecator.h.

Constructor & Destructor Documentation

utl::Deprecator::DeprecationInfo::DeprecationInfo ( const std::string &  theHint,
const std::string &  theVersion 
)
inline

Definition at line 87 of file Deprecator.h.

Member Function Documentation

std::size_t utl::Deprecator::DeprecationInfo::GetCount ( ) const
inline

Definition at line 97 of file Deprecator.h.

References fCount.

const std::string& utl::Deprecator::DeprecationInfo::GetHint ( ) const
inline

Definition at line 93 of file Deprecator.h.

References fHint.

const std::string& utl::Deprecator::DeprecationInfo::GetVersion ( ) const
inline

Definition at line 95 of file Deprecator.h.

References fVersion.

void utl::Deprecator::DeprecationInfo::IncrementUsage ( )
inline

Definition at line 91 of file Deprecator.h.

References fCount.

Member Data Documentation

std::size_t utl::Deprecator::DeprecationInfo::fCount
private

Count of uses of deprecated interface.

Definition at line 104 of file Deprecator.h.

Referenced by GetCount(), and IncrementUsage().

std::string utl::Deprecator::DeprecationInfo::fHint
private

Hint what to do to avoid deprecated interface.

Definition at line 100 of file Deprecator.h.

Referenced by GetHint().

std::string utl::Deprecator::DeprecationInfo::fVersion
private

Version since when this interface is deprecated.

Definition at line 102 of file Deprecator.h.

Referenced by GetVersion().


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

, generated on Tue Sep 26 2023.