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
parseablestring.h
Go to the documentation of this file.
1
#ifndef PARSEABLESTRING_H_
2
#define PARSEABLESTRING_H_
3
4
#include <vector>
5
#include "
utils.h
"
6
#include "
longstring.h
"
7
#include <iostream>
8
9
namespace
AP_LSystem {
10
class
ParseableString
11
{
12
private
:
13
unsigned
m_Pos;
14
bool
m_Eof;
15
protected
:
16
char
*
m_Str
;
17
unsigned
m_Length
;
18
public
:
23
ParseableString
(
LongString
*
string
);
24
30
ParseableString
(
char
*
string
,
unsigned
int
length
);
31
35
ParseableString
(
const
ParseableString
& );
36
40
ParseableString
&
operator=
(
const
ParseableString
& );
41
45
friend
std::basic_ostream<char> & operator<<(std::basic_ostream<char> & os,
const
ParseableString
ps);
46
51
inline
bool
eof
()
52
{
53
return
m_Eof;
54
}
55
59
inline
void
reset
()
60
{
61
m_Pos = 0;
62
m_Eof =
false
;
63
}
64
70
char
next
( std::vector<Parameter> & parameters );
71
};
72
73
std::basic_ostream<char> & operator<<(std::basic_ostream<char> & os,
const
ParseableString ps);
74
}
75
#endif
include
vreckoAP
Garden
parseablestring.h
Generated on Tue Feb 19 2013 10:23:43 for vrecko by
1.8.3.1