MyGUI  3.2.2
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
 
int getValue () 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 15 of file MyGUI_LogLevel.h.

Member Enumeration Documentation

§ Enum

Enumerator
Info 
Warning 
Error 
Critical 
MAX 

Definition at line 17 of file MyGUI_LogLevel.h.

Constructor & Destructor Documentation

§ LogLevel() [1/2]

MyGUI::LogLevel::LogLevel ( )
inline

Definition at line 26 of file MyGUI_LogLevel.h.

§ LogLevel() [2/2]

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

Definition at line 31 of file MyGUI_LogLevel.h.

Member Function Documentation

§ getValue()

int MyGUI::LogLevel::getValue ( ) const
inline

Definition at line 100 of file MyGUI_LogLevel.h.

§ parse()

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

Definition at line 36 of file MyGUI_LogLevel.h.

§ print()

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

Definition at line 95 of file MyGUI_LogLevel.h.

Friends And Related Function Documentation

§ operator!=

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

Definition at line 76 of file MyGUI_LogLevel.h.

§ operator<

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

Definition at line 51 of file MyGUI_LogLevel.h.

§ operator<<

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

Definition at line 81 of file MyGUI_LogLevel.h.

§ operator<=

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

Definition at line 66 of file MyGUI_LogLevel.h.

§ operator==

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

Definition at line 71 of file MyGUI_LogLevel.h.

§ operator>

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

Definition at line 61 of file MyGUI_LogLevel.h.

§ operator>=

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

Definition at line 56 of file MyGUI_LogLevel.h.

§ operator>>

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

Definition at line 87 of file MyGUI_LogLevel.h.


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