PARTONS/ElementaryUtils  
Basic utility softwares (Logger, threads, etc)
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
ElemUtils::LoggerPrintMode Struct Reference

Public Types

enum  Type { COUT , FILE , BOTH , DEFAULT }
 

Public Member Functions

 LoggerPrintMode (Type type)
 
std::string toString ()
 
LoggerPrintMode::Type getType () const
 
void setType (Type type)
 

Static Public Member Functions

static LoggerPrintMode fromString (std::string printMode)
 

Private Attributes

LoggerPrintMode::Type m_type
 

Member Enumeration Documentation

◆ Type

Enumerator
COUT 
FILE 
BOTH 
DEFAULT 

Constructor & Destructor Documentation

◆ LoggerPrintMode()

ElemUtils::LoggerPrintMode::LoggerPrintMode ( Type  type)
inline

Member Function Documentation

◆ fromString()

static LoggerPrintMode ElemUtils::LoggerPrintMode::fromString ( std::string  printMode)
inlinestatic

◆ getType()

LoggerPrintMode::Type ElemUtils::LoggerPrintMode::getType ( ) const
inline

◆ setType()

void ElemUtils::LoggerPrintMode::setType ( Type  type)
inline

◆ toString()

std::string ElemUtils::LoggerPrintMode::toString ( )
inline

Member Data Documentation

◆ m_type

LoggerPrintMode::Type ElemUtils::LoggerPrintMode::m_type
private

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