Data_deduplication_service
Service that will use hashes to deduplicate files
myConcepts Namespace Reference

concepts namespace More...

Typedefs

using clockType = timing::chronoClockTemplate< std::milli >
 
using symbolType = char
 

Enumerations

enum  returnCodes { WarningMessage = -3 , AlreadyExists = -2 , ErrorOccured = -1 , ReturnSucess = 0 }
 
enum  paramType { EmptyParameterValue = -1 }
 

Functions

std::string vformat (const char *zcFormat,...)
 

Variables

clockType gClk {}
 
template<typename T >
concept printable
 

Detailed Description

concepts namespace

Typedef Documentation

◆ clockType

Global clock used for time measurement

◆ symbolType

using myConcepts::symbolType = typedef char

Enumeration Type Documentation

◆ paramType

Parameter type enum

Enumerator
EmptyParameterValue 

◆ returnCodes

Return codes enum

Enumerator
WarningMessage 
AlreadyExists 
ErrorOccured 
ReturnSucess 

Function Documentation

◆ vformat()

std::string myConcepts::vformat ( const char *  zcFormat,
  ... 
)

Print format function

Parameters
zcFormat
...
+ Here is the caller graph for this function:

Variable Documentation

◆ gClk

clockType myConcepts::gClk {}

◆ printable

template<typename T >
concept myConcepts::printable
Initial value:
= requires(const T &elem, std::ofstream &out){
{ out << elem } -> std::same_as<std::ostream &>;
}

Prinatble concept

Template Parameters
T