about summary refs log tree commit diff stats
path: root/generator/mood.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-03-26 15:33:06 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-03-26 15:33:06 -0400
commit0e6355329f241a3e3c8b38cb4146fda4470e6ed0 (patch)
treedf5853ba6df148e8eeb0082d090dfbcd9f94f651 /generator/mood.h
parent09acb46a9c32257b0003eb152d32c15b43b95dfe (diff)
downloadcadence-0e6355329f241a3e3c8b38cb4146fda4470e6ed0.tar.gz
cadence-0e6355329f241a3e3c8b38cb4146fda4470e6ed0.tar.bz2
cadence-0e6355329f241a3e3c8b38cb4146fda4470e6ed0.zip
Whitespace changes
Diffstat (limited to 'generator/mood.h')
-rw-r--r--generator/mood.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/generator/mood.h b/generator/mood.h index df5d28f..c36e5ee 100644 --- a/generator/mood.h +++ b/generator/mood.h
@@ -5,7 +5,7 @@
5 5
6namespace cadence { 6namespace cadence {
7 namespace generator { 7 namespace generator {
8 8
9 class mood { 9 class mood {
10 public: 10 public:
11 enum class type { 11 enum class type {
@@ -19,41 +19,41 @@ namespace cadence {
19 sad, 19 sad,
20 instrumental 20 instrumental
21 }; 21 };
22 22
23 // Constructor 23 // Constructor
24 24
25 mood(type t, double prob); 25 mood(type t, double prob);
26 26
27 // Accessors 27 // Accessors
28 28
29 type getType() const 29 type getType() const
30 { 30 {
31 return type_; 31 return type_;
32 } 32 }
33 33
34 double getProbability() const 34 double getProbability() const
35 { 35 {
36 return probability_; 36 return probability_;
37 } 37 }
38 38
39 bool getPositive() const 39 bool getPositive() const
40 { 40 {
41 return positive_; 41 return positive_;
42 } 42 }
43 43
44 std::string getCategory() const 44 std::string getCategory() const
45 { 45 {
46 return category_; 46 return category_;
47 } 47 }
48 48
49 private: 49 private:
50 type type_; 50 type type_;
51 double probability_; 51 double probability_;
52 bool positive_; 52 bool positive_;
53 std::string category_; 53 std::string category_;
54 54
55 }; 55 };
56 56
57 }; 57 };
58}; 58};
59 59