00001
00002
00003
00004 #ifndef AITOOLS_INVERTEDINDEX_VALUE_TYPES_HPP
00005 #define AITOOLS_INVERTEDINDEX_VALUE_TYPES_HPP
00006
00007 #include "Pair.hpp"
00008 #include "Single.hpp"
00009 #include "Triple.hpp"
00010 #include "Quadruple.hpp"
00011 #include "PairString.hpp"
00012 #include "SingleString.hpp"
00013 #include "StringString.hpp"
00014
00015 namespace aitools {
00016 namespace invertedindex {
00017
00025
00026 typedef Single<int8_t> SingleByte;
00027 typedef Single<int16_t> SingleShort;
00028 typedef Single<int32_t> SingleInt;
00029 typedef Single<int64_t> SingleLong;
00030 typedef Single<float> SingleFloat;
00031
00032 typedef PairString<int8_t> ByteString;
00033 typedef PairString<int16_t> ShortString;
00034 typedef PairString<int32_t> IntString;
00035 typedef PairString<int64_t> LongString;
00036 typedef PairString<float> FloatString;
00037
00038 typedef Pair<int16_t, int32_t> ShortInt;
00039 typedef Pair<int16_t, int64_t> ShortLong;
00040 typedef Pair<int16_t, float> ShortFloat;
00041 typedef Pair<int32_t, int32_t> IntInt;
00042 typedef Pair<int32_t, int64_t> IntLong;
00043 typedef Pair<int32_t, float> IntFloat;
00044 typedef Pair<int64_t, int32_t> LongInt;
00045 typedef Pair<int64_t, int64_t> LongLong;
00046 typedef Pair<int64_t, float> LongFloat;
00047 typedef Pair<float, int32_t> FloatInt;
00048 typedef Pair<float, int64_t> FloatLong;
00049 typedef Pair<float, float> FloatFloat;
00050
00051 typedef Triple<int16_t, int32_t, int32_t> ShortIntInt;
00052 typedef Triple<int16_t, int32_t, float> ShortIntFloat;
00053 typedef Triple<int16_t, float, float> ShortFloatFloat;
00054 typedef Triple<int32_t, int32_t, int32_t> IntIntInt;
00055 typedef Triple<int32_t, int32_t, float> IntIntFloat;
00056 typedef Triple<int32_t, float, float> IntFloatFloat;
00057 typedef Triple<int64_t, int32_t, int32_t> LongIntInt;
00058 typedef Triple<int64_t, int32_t, float> LongIntFloat;
00059 typedef Triple<int64_t, float, float> LongFloatFloat;
00060 typedef Triple<float, int32_t, int32_t> FloatIntInt;
00061 typedef Triple<float, int32_t, float> FloatIntFloat;
00062 typedef Triple<float, float, float> FloatFloatFloat;
00063
00064 typedef Quadruple<int32_t, int32_t, int32_t, int32_t> IntIntIntInt;
00065 typedef Quadruple<int64_t, int64_t, int64_t, int64_t> LongLongLongLong;
00066 typedef Quadruple<int64_t, int64_t, int32_t, int32_t> LongLongIntInt;
00067 typedef Quadruple<int64_t, int64_t, float, float> LongLongFloatFloat;
00068 typedef Quadruple<int64_t, float, int64_t, int32_t> LongFloatLongInt;
00069
00070 }
00071 }
00072
00073 #endif // AITOOLS_INVERTEDINDEX_VALUE_TYPES_HPP