PEBL 2.2
Psychology Experiment Building Language - Cross-platform psychological experiment development system
FormatParser.cpp File Reference
#include "FormatParser.h"
#include "../objects/PColor.h"
#include <cctype>
#include <algorithm>

Go to the source code of this file.

Namespaces

namespace  FormatParser
 

Functions

bool FormatParser::ParseColor (const std::string &colorStr, PColor &outColor)
 
std::vector< FormatSegmentFormatParser::ParseFormattedText (const std::string &input, int charWidth)
 Parse formatted text into segments.
 
std::string FormatParser::StripFormatting (const std::string &input)
 Strip all formatting tags from text.