Public Types | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
TextStyle Class Reference

Utility for scanning text segments. More...

#include <TextStyle.h>

Inheritance diagram for TextStyle:
Inheritance graph
[legend]

Public Types

enum  Colour {
  DEFAULT_COLOR =0 , BLACK , GRAY , RED ,
  GREEN , YELLOW , BLUE , PURPLE ,
  CYAN , WHITE
}
 
enum  Style {
  NO_STYLE =0 , ITALIC =1 , BOLD =2 , DIM =4 ,
  REVERSE =8
}
 
enum  Line { NO_LINE =0 , UNDERLINE =1 , DOUBLE_UNDERLINE =2 , OVERLINE =4 }
 

Public Member Functions

template<typename ... T>
void set (const T &... args)
 
template<typename T , typename ... TT>
void add (const T &arg, const TT &... args)
 

Public Attributes

Colour colour
 
std::set< Style > style
 
Line line
 

Protected Member Functions

void reset ()
 
void set ()
 
void add ()
 
void _add (const Colour &c)
 
void _add (const Line &l)
 
void _add (const Style &s)
 

Detailed Description

Utility for scanning text segments.


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