-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtestClass.cpp
More file actions
48 lines (37 loc) · 920 Bytes
/
testClass.cpp
File metadata and controls
48 lines (37 loc) · 920 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//Source file auto-generated using CPP-Getter-Setter-Generator
//Includes
#include <testClass.h>
//Constructor and Destructor
testClass::testClass(){}
testClass::~testClass(){}
//Overloaded constructors
testClass::testClass(float _x){
x = _x;
}
testClass::testClass(float _x, float _y){
x = _x;
y = _y;
}
testClass::testClass(float _x, float _y, float _z){
x = _x;
y = _y;
z = _z;
}
//Getters and Setters
float testClass::getX(){ return x; }
float testClass::getY(){ return y; }
float testClass::getZ(){ return z; }
void testClass::setX( float _x ){ x = _x; }
void testClass::setY( float _y ){ y = _y; }
void testClass::setZ( float _z ){ z = _z; }
//Other methods
void testClass::doSomething(){
}
float testClass::doSomethingElse(){
}
void testClass::voidTestMethod(float testInput){
}
float testClass::testMethod(float testInput){
}
float testClass::testMethod(float testInput, int testInput2){
}