vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AP_LSystem::StringUtils Class Reference

#include <utils.h>

Static Public Member Functions

static void uncommentLine (std::string &)
 
static std::string & eraseWhiteSpaces (std::string &)
 
static std::string processLine (std::fstream *, std::stringstream &)
 
static int processVector (std::string str, std::vector< double > &v)
 

Detailed Description

Library class with some utility functions for strings

Member Function Documentation

std::string & StringUtils::eraseWhiteSpaces ( std::string &  str)
static

Erases all white spaces in string

std::string StringUtils::processLine ( std::fstream *  pFile,
std::stringstream &  pLine 
)
static

Get one line from file and extract first word

int StringUtils::processVector ( std::string  str,
std::vector< double > &  v 
)
static

Convert vector in string format ( double, double, ... , double ) to std::vector

void StringUtils::uncommentLine ( std::string &  line)
static

Erases every char behind '//' including this sign


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