1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 #ifndef COMMONAPI_TESTS_PREDEFINED_TYPE_COLLECTION_H_
5 #define COMMONAPI_TESTS_PREDEFINED_TYPE_COLLECTION_H_
7 #include <CommonAPI/ByteBuffer.h>
8 #include <CommonAPI/types.h>
15 namespace PredefinedTypeCollection {
17 typedef uint8_t TestUInt8;
19 typedef uint16_t TestUInt16;
21 typedef uint32_t TestUInt32;
23 typedef uint64_t TestUInt64;
25 typedef int8_t TestInt8;
27 typedef int16_t TestInt16;
29 typedef int32_t TestInt32;
31 typedef int64_t TestInt64;
33 typedef bool TestBoolean;
35 typedef CommonAPI::ByteBuffer TestByteBuffer;
37 typedef double TestDouble;
39 typedef float TestFloat;
41 typedef std::string TestString;
45 static inline const char* getTypeCollectionName() {
46 return "commonapi.tests.PredefinedTypeCollection";
50 } // namespace PredefinedTypeCollection
53 } // namespace commonapi
64 #endif // COMMONAPI_TESTS_PREDEFINED_TYPE_COLLECTION_H_