Reverting type resolution in C++ to Java types, e.g. byte and char instead of just...
[iot2.git] / iotjava / iotrmi / C++ / basics / TestClass.hpp
index 91f7e5c66c301de1a4f02558197f8a21bc580375..d39960b651b3dbda67a52e6a35232ced9c262f2c 100644 (file)
@@ -13,6 +13,14 @@ class TestClass : public TestClassInterface {
                TestClass();
                TestClass(int _int, float _float, string _string);
 
+               char                            getByte(char in);
+               short                           getShort(short in);
+               int64_t                         getLong(int64_t in);
+               float                           getFloat(float in);
+               double                          getDouble(double in);
+               bool                            getBoolean(bool in);
+               char                            getChar(char in);
+               int                                     getA();
                void                            setA(int _int);
                void                            setB(float _float);
                void                            setC(string _string);
@@ -45,6 +53,54 @@ TestClass::TestClass(int _int, float _float, string _string) {
 }
 
 
+char TestClass::getByte(char in) {
+
+       return in;
+}
+
+
+short TestClass::getShort(short in) {
+
+       return in;
+}
+
+
+int64_t TestClass::getLong(int64_t in) {
+
+       return in;
+}
+
+
+float TestClass::getFloat(float in) {
+
+       return in;
+}
+
+
+double TestClass::getDouble(double in) {
+
+       return in;
+}
+
+
+bool TestClass::getBoolean(bool in) {
+
+       return in;
+}
+
+
+char TestClass::getChar(char in) {
+
+       return in;
+}
+
+
+int TestClass::getA() {
+
+       return intA;
+}
+
+
 void TestClass::setA(int _int) {
 
        intA = _int;