Source-highlight Library
srchilite::TextStyleBuilder Class Reference

Given TextStyle objects build a new one, adding a starting part, and ending part, and separating them. More...

#include <textstylebuilder.h>

Collaboration diagram for srchilite::TextStyleBuilder:

Public Member Functions

 TextStyleBuilder (const std::string &st="", const std::string &sep="")
 
void start ()
 
void add (const TextStyle &textStyle)
 
TextStyle end ()
 

Private Attributes

std::string start_
 
std::string separator_
 
TextStyle buffer
 where we store intermediate results
 
bool added
 whether we've already added something
 

Detailed Description

Given TextStyle objects build a new one, adding a starting part, and ending part, and separating them.


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