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
parstoch0lsystem.h
Go to the documentation of this file.
1
#ifndef PARSTOCH0LSYSTEM_H_
2
#define PARSTOCH0LSYSTEM_H_
3
4
#include "
abstract0lsystem.h
"
5
6
namespace
AP_LSystem {
10
class
ParStoch0LSystem
:
public
Abstract0LSystem
11
{
12
private
:
13
17
static
const
unsigned
int
capabilities =
LS_0L
|
LS_DETERMINISTIC
|
LS_STOCHASTIC
|
LS_PARAMETRIC
;
18
public
:
19
ParStoch0LSystem
(
AbstractFile
* );
20
ParStoch0LSystem
(
const
ParStoch0LSystem
& );
21
ParStoch0LSystem
&
operator=
(
const
ParStoch0LSystem
& );
22
36
virtual
multimap<char, Rule>::iterator *
selectRule
(multimap<char, Rule>::iterator & begin,
37
multimap<char, Rule>::iterator & end,
38
LongString
* word,
39
unsigned
int
& pos,
40
double
* parameters);
41
48
static
bool
isCapable
(
unsigned
int
type
)
49
{
50
if
( ( type & capabilities ) == type )
51
return
true
;
52
else
53
return
false
;
54
}
55
59
boost::shared_ptr<AbstractLSystem>
clone
()
const
60
{
61
return
boost::shared_ptr<AbstractLSystem>(
new
ParStoch0LSystem
(*
this
) );
62
}
63
};
64
}
65
66
#endif // PARSTOCH0LSYSTEM_H_
include
vreckoAP
Garden
parstoch0lsystem.h
Generated on Tue Feb 19 2013 10:23:43 for vrecko by
1.8.3.1