diff options
Diffstat (limited to 'generator/field.h')
-rw-r--r-- | generator/field.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/generator/field.h b/generator/field.h index 9d6ed9a..836c079 100644 --- a/generator/field.h +++ b/generator/field.h | |||
@@ -32,27 +32,27 @@ namespace cadence { | |||
32 | ~field(); | 32 | ~field(); |
33 | 33 | ||
34 | // Generic accessors | 34 | // Generic accessors |
35 | 35 | ||
36 | type getType() const | 36 | type getType() const |
37 | { | 37 | { |
38 | return type_; | 38 | return type_; |
39 | } | 39 | } |
40 | 40 | ||
41 | std::string getName() const | 41 | std::string getName() const |
42 | { | 42 | { |
43 | return name_; | 43 | return name_; |
44 | } | 44 | } |
45 | 45 | ||
46 | // Integer | 46 | // Integer |
47 | 47 | ||
48 | field(std::string name, int arg); | 48 | field(std::string name, int arg); |
49 | 49 | ||
50 | int getInteger() const; | 50 | int getInteger() const; |
51 | 51 | ||
52 | // String | 52 | // String |
53 | 53 | ||
54 | field(std::string name, std::string arg); | 54 | field(std::string name, std::string arg); |
55 | 55 | ||
56 | std::string getString() const; | 56 | std::string getString() const; |
57 | 57 | ||
58 | private: | 58 | private: |