MyGUI  3.2.0
Public Types | Public Member Functions | Static Public Member Functions | Friends
MyGUI::LogLevel Struct Reference

#include <MyGUI_LogLevel.h>

Public Types

enum  Enum {
  Info, Warning, Error, Critical,
  MAX
}

Public Member Functions

 LogLevel ()
 LogLevel (Enum _value)
std::string print () const

Static Public Member Functions

static LogLevel parse (const std::string &_value)

Friends

bool operator< (LogLevel const &a, LogLevel const &b)
bool operator>= (LogLevel const &a, LogLevel const &b)
bool operator> (LogLevel const &a, LogLevel const &b)
bool operator<= (LogLevel const &a, LogLevel const &b)
bool operator== (LogLevel const &a, LogLevel const &b)
bool operator!= (LogLevel const &a, LogLevel const &b)
std::ostream & operator<< (std::ostream &_stream, const LogLevel &_value)
std::istream & operator>> (std::istream &_stream, LogLevel &_value)

Detailed Description

Definition at line 30 of file MyGUI_LogLevel.h.

Member Enumeration Documentation

Enumerator:
Info 
Warning 
Error 
Critical 
MAX 

Definition at line 32 of file MyGUI_LogLevel.h.

Constructor & Destructor Documentation

MyGUI::LogLevel::LogLevel ( )
inline

Definition at line 41 of file MyGUI_LogLevel.h.

MyGUI::LogLevel::LogLevel ( Enum  _value)
inline

Definition at line 46 of file MyGUI_LogLevel.h.

Member Function Documentation

static LogLevel MyGUI::LogLevel::parse ( const std::string &  _value)
inlinestatic

Definition at line 51 of file MyGUI_LogLevel.h.

std::string MyGUI::LogLevel::print ( ) const
inline

Definition at line 110 of file MyGUI_LogLevel.h.

Friends And Related Function Documentation

bool operator!= ( LogLevel const &  a,
LogLevel const &  b 
)
friend

Definition at line 91 of file MyGUI_LogLevel.h.

bool operator< ( LogLevel const &  a,
LogLevel const &  b 
)
friend

Definition at line 66 of file MyGUI_LogLevel.h.

std::ostream& operator<< ( std::ostream &  _stream,
const LogLevel _value 
)
friend

Definition at line 96 of file MyGUI_LogLevel.h.

bool operator<= ( LogLevel const &  a,
LogLevel const &  b 
)
friend

Definition at line 81 of file MyGUI_LogLevel.h.

bool operator== ( LogLevel const &  a,
LogLevel const &  b 
)
friend

Definition at line 86 of file MyGUI_LogLevel.h.

bool operator> ( LogLevel const &  a,
LogLevel const &  b 
)
friend

Definition at line 76 of file MyGUI_LogLevel.h.

bool operator>= ( LogLevel const &  a,
LogLevel const &  b 
)
friend

Definition at line 71 of file MyGUI_LogLevel.h.

std::istream& operator>> ( std::istream &  _stream,
LogLevel _value 
)
friend

Definition at line 102 of file MyGUI_LogLevel.h.


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