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 int setAndGetA(int newA);
17 int setACAndGetA(string newC, int newA);
18 //void registerCallback(CallBackInterface _cb);
25 //CallBackInterface cb;
30 TestClass::TestClass() {
39 TestClass::TestClass(int _int, float _float, string _string) {
48 void TestClass::setA(int _int) {
54 void TestClass::setB(float _float) {
60 void TestClass::setC(string _string) {
66 string TestClass::sumArray(vector<string> newA) {
69 int len = newA.size();
70 for(int c = 0; c < len; c++) {
77 int TestClass::setAndGetA(int newA) {
84 int TestClass::setACAndGetA(string newC, int newA) {
92 /*void TestClass::registerCallback(CallBackInterface _cb) {
98 int TestClass::callBack() {
100 return cb.printInt();