clanCore Text

Classes

class  clan::Console
 Console access helper class. More...
 
class  clan::ConsoleLogger
 Console logger. More...
 
class  clan::FileLogger
 File logger. More...
 
class  clan::Logger
 Logger interface. More...
 
class  clan::StringFormat
 String formatting class. More...
 
class  clan::StringHelp
 String helper functions. More...
 
class  clan::UTF8_Reader
 UTF8 reader helper functions. More...
 

Enumerations

enum  clan::StringHelp::BOMType {
  clan::StringHelp::bom_none, clan::StringHelp::bom_utf32_be, clan::StringHelp::bom_utf32_le, clan::StringHelp::bom_utf16_be,
  clan::StringHelp::bom_utf16_le, clan::StringHelp::bom_utf8
}
 

Functions

void clan::log_event (const std::string &type, const std::string &text)
 Log text to logger. More...
 
template<class Arg1 >
void clan::log_event (const std::string &type, const std::string &format, Arg1 arg1)
 
template<class Arg1 , class Arg2 >
void clan::log_event (const std::string &type, const std::string &format, Arg1 arg1, Arg2 arg2)
 
template<class Arg1 , class Arg2 , class Arg3 >
void clan::log_event (const std::string &type, const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3)
 
template<class Arg1 , class Arg2 , class Arg3 , class Arg4 >
void clan::log_event (const std::string &type, const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4)
 
template<class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 >
void clan::log_event (const std::string &type, const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5)
 
template<class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 >
void clan::log_event (const std::string &type, const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6)
 
template<class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 , class Arg7 >
void clan::log_event (const std::string &type, const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6, Arg7 arg7)
 
std::string clan::string_format (const std::string &format)
 See clan::StringFormat for details. More...
 
template<class Arg1 >
std::string clan::string_format (const std::string &format, Arg1 arg1)
 See clan::StringFormat for details. More...
 
template<class Arg1 , class Arg2 >
std::string clan::string_format (const std::string &format, Arg1 arg1, Arg2 arg2)
 See clan::StringFormat for details. More...
 
template<class Arg1 , class Arg2 , class Arg3 >
std::string clan::string_format (const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3)
 See clan::StringFormat for details. More...
 
template<class Arg1 , class Arg2 , class Arg3 , class Arg4 >
std::string clan::string_format (const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4)
 See clan::StringFormat for details. More...
 
template<class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 >
std::string clan::string_format (const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5)
 See clan::StringFormat for details. More...
 
template<class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 >
std::string clan::string_format (const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6)
 See clan::StringFormat for details. More...
 
template<class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 , class Arg7 >
std::string clan::string_format (const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6, Arg7 arg7)
 See clan::StringFormat for details. More...
 

Detailed Description

Enumeration Type Documentation

Enumerator
bom_none 
bom_utf32_be 
bom_utf32_le 
bom_utf16_be 
bom_utf16_le 
bom_utf8 

Function Documentation

void clan::log_event ( const std::string &  type,
const std::string &  text 
)

Log text to logger.

Referenced by clan::log_event().

template<class Arg1 >
void clan::log_event ( const std::string &  type,
const std::string &  format,
Arg1  arg1 
)
template<class Arg1 , class Arg2 >
void clan::log_event ( const std::string &  type,
const std::string &  format,
Arg1  arg1,
Arg2  arg2 
)
template<class Arg1 , class Arg2 , class Arg3 >
void clan::log_event ( const std::string &  type,
const std::string &  format,
Arg1  arg1,
Arg2  arg2,
Arg3  arg3 
)
template<class Arg1 , class Arg2 , class Arg3 , class Arg4 >
void clan::log_event ( const std::string &  type,
const std::string &  format,
Arg1  arg1,
Arg2  arg2,
Arg3  arg3,
Arg4  arg4 
)
template<class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 >
void clan::log_event ( const std::string &  type,
const std::string &  format,
Arg1  arg1,
Arg2  arg2,
Arg3  arg3,
Arg4  arg4,
Arg5  arg5 
)
template<class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 >
void clan::log_event ( const std::string &  type,
const std::string &  format,
Arg1  arg1,
Arg2  arg2,
Arg3  arg3,
Arg4  arg4,
Arg5  arg5,
Arg6  arg6 
)
template<class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 , class Arg7 >
void clan::log_event ( const std::string &  type,
const std::string &  format,
Arg1  arg1,
Arg2  arg2,
Arg3  arg3,
Arg4  arg4,
Arg5  arg5,
Arg6  arg6,
Arg7  arg7 
)
std::string clan::string_format ( const std::string &  format)
inline

See clan::StringFormat for details.

Referenced by clan::Style::set(), and clan::Style::to_rgba().

template<class Arg1 >
std::string clan::string_format ( const std::string &  format,
Arg1  arg1 
)
template<class Arg1 , class Arg2 >
std::string clan::string_format ( const std::string &  format,
Arg1  arg1,
Arg2  arg2 
)
template<class Arg1 , class Arg2 , class Arg3 >
std::string clan::string_format ( const std::string &  format,
Arg1  arg1,
Arg2  arg2,
Arg3  arg3 
)
template<class Arg1 , class Arg2 , class Arg3 , class Arg4 >
std::string clan::string_format ( const std::string &  format,
Arg1  arg1,
Arg2  arg2,
Arg3  arg3,
Arg4  arg4 
)
template<class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 >
std::string clan::string_format ( const std::string &  format,
Arg1  arg1,
Arg2  arg2,
Arg3  arg3,
Arg4  arg4,
Arg5  arg5 
)
template<class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 >
std::string clan::string_format ( const std::string &  format,
Arg1  arg1,
Arg2  arg2,
Arg3  arg3,
Arg4  arg4,
Arg5  arg5,
Arg6  arg6 
)
template<class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 , class Arg7 >
std::string clan::string_format ( const std::string &  format,
Arg1  arg1,
Arg2  arg2,
Arg3  arg3,
Arg4  arg4,
Arg5  arg5,
Arg6  arg6,
Arg7  arg7 
)