2 #include "TestClassInterface.hpp"
6 class TestClass : public TestClassInterface {
9 TestClass(int _int, float _float, string _string);
13 void setB(float _float);
14 void setC(string _string);
15 //string sumArray(vector<string> newA);
16 int64_t sumArray(vector<int> newA);
17 int setAndGetA(int newA);
18 int setACAndGetA(string newC, int newA);
19 //void registerCallback(CallBackInterface _cb);
26 //CallBackInterface cb;
31 TestClass::TestClass() {
40 TestClass::TestClass(int _int, float _float, string _string) {
49 void TestClass::setA(int _int) {
55 void TestClass::setB(float _float) {
61 void TestClass::setC(string _string) {
67 /*string TestClass::sumArray(vector<string> newA) {
70 int len = newA.size();
71 for(int c = 0; c < len; c++) {
78 int64_t TestClass::sumArray(vector<int> newA) {
81 int len = newA.size();
82 for(int c = 0; c < len; c++) {
89 int TestClass::setAndGetA(int newA) {
96 int TestClass::setACAndGetA(string newC, int newA) {
104 /*void TestClass::registerCallback(CallBackInterface _cb) {
110 int TestClass::callBack() {
112 return cb.printInt();