vrecko
virtual reality framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
utils.h
Go to the documentation of this file.
1
#ifndef UTILS_H_
2
#define UTILS_H_
3
4
#include <string>
5
#include <vector>
6
7
namespace
AP_LSystem {
11
class
StringUtils
12
{
13
public
:
17
static
void
uncommentLine
(std::string &);
18
22
static
std::string &
eraseWhiteSpaces
(std::string &);
23
27
static
std::string
processLine
(std::fstream * , std::stringstream & );
28
32
static
int
processVector
( std::string str, std::vector<double> & v );
33
};
34
38
struct
Parameter
39
{
43
enum
Type
44
{
45
LS_BYTE
= 1,
46
LS_UBYTE
,
47
LS_INT
,
48
LS_UINT
,
49
LS_FLOAT
,
50
LS_DOUBLE
51
};
52
53
Parameter
(
void
*
value
,
Type
type
):value(value),type(type){}
54
55
void
*
value
;
56
Type
type
;
57
};
58
}
59
60
#endif
include
vreckoAP
Garden
utils.h
Generated on Tue Feb 19 2013 10:23:43 for vrecko by
1.8.3.1