diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-21 20:21:03 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-21 20:21:03 (GMT) |
| commit | 644c1307124dffd13268445d0aebaed13a090c78 (patch) | |
| tree | e0d1ba738b7adbb484ba6d1fb3ae094e0c94b610 /src/pim/Generator.h | |
| parent | 939a04d3c77bf9aa8d54e912f5e12817de51756c (diff) | |
| download | powder-644c1307124dffd13268445d0aebaed13a090c78.zip powder-644c1307124dffd13268445d0aebaed13a090c78.tar.gz | |
Set properties with integer.property
Diffstat (limited to 'src/pim/Generator.h')
| -rw-r--r-- | src/pim/Generator.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/pim/Generator.h b/src/pim/Generator.h index 0121c13..0287339 100644 --- a/src/pim/Generator.h +++ b/src/pim/Generator.h @@ -36,10 +36,13 @@ namespace pim } ~SymbolNotFoundException() throw() {}; }; + class Type + { + enum { Integer = Token::IntegerSymbol, Decimal = Token::DecimalSymbol }; + }; class Definition { public: - enum { Integer = Token::IntegerSymbol, Decimal = Token::DecimalSymbol }; std::string Name; int Type; int StackPosition; @@ -145,6 +148,8 @@ namespace pim void GetParticle(); void GetPosition(); void KillParticle(); + void LoadProperty(std::string property); + void StoreProperty(std::string property); void IntegerToDecimal(); void DecimalToInteger(); |
