bzscmn/ser_def.h File Reference

This graph shows which files directly or indirectly include this file:


Defines

#define DECLARE_SERIALIZEABLE_STRUC1(strucname, t1, n1)
#define DECLARE_SERIALIZEABLE_STRUC2(strucname, t1, n1, t2, n2)
#define DECLARE_SERIALIZEABLE_STRUC3(strucname, t1, n1, t2, n2, t3, n3)
#define DECLARE_SERIALIZEABLE_STRUC4(strucname, t1, n1, t2, n2, t3, n3, t4, n4)
#define DECLARE_SERIALIZEABLE_STRUC5(strucname, t1, n1, t2, n2, t3, n3, t4, n4, t5, n5)
#define DECLARE_SERIALIZEABLE_STRUC6(strucname, t1, n1, t2, n2, t3, n3, t4, n4, t5, n5, t6, n6)
#define DECLARE_SERIALIZEABLE_STRUC7(strucname, t1, n1, t2, n2, t3, n3, t4, n4, t5, n5, t6, n6, t7, n7)
#define DECLARE_SERIALIZEABLE_STRUC8(strucname, t1, n1, t2, n2, t3, n3, t4, n4, t5, n5, t6, n6, t7, n7, t8, n8)
#define DECLARE_SERIALIZEABLE_STRUC9(strucname, t1, n1, t2, n2, t3, n3, t4, n4, t5, n5, t6, n6, t7, n7, t8, n8, t9, n9)
#define DECLARE_SERIALIZEABLE_STRUC10(strucname, t1, n1, t2, n2, t3, n3, t4, n4, t5, n5, t6, n6, t7, n7, t8, n8, t9, n9, t10, n10)
#define DECLARE_SERIALIZEABLE_STRUC1_I(strucname, t1, n1, i1)
#define DECLARE_SERIALIZEABLE_STRUC2_I(strucname, t1, n1, i1, t2, n2, i2)
#define DECLARE_SERIALIZEABLE_STRUC3_I(strucname, t1, n1, i1, t2, n2, i2, t3, n3, i3)
#define DECLARE_SERIALIZEABLE_STRUC4_I(strucname, t1, n1, i1, t2, n2, i2, t3, n3, i3, t4, n4, i4)
#define DECLARE_SERIALIZEABLE_STRUC5_I(strucname, t1, n1, i1, t2, n2, i2, t3, n3, i3, t4, n4, i4, t5, n5, i5)
#define DECLARE_SERIALIZEABLE_STRUC6_I(strucname, t1, n1, i1, t2, n2, i2, t3, n3, i3, t4, n4, i4, t5, n5, i5, t6, n6, i6)
#define DECLARE_SERIALIZEABLE_STRUC7_I(strucname, t1, n1, i1, t2, n2, i2, t3, n3, i3, t4, n4, i4, t5, n5, i5, t6, n6, i6, t7, n7, i7)
#define DECLARE_SERIALIZEABLE_STRUC8_I(strucname, t1, n1, i1, t2, n2, i2, t3, n3, i3, t4, n4, i4, t5, n5, i5, t6, n6, i6, t7, n7, i7, t8, n8, i8)
#define DECLARE_SERIALIZEABLE_STRUC9_I(strucname, t1, n1, i1, t2, n2, i2, t3, n3, i3, t4, n4, i4, t5, n5, i5, t6, n6, i6, t7, n7, i7, t8, n8, i8, t9, n9, i9)
#define DECLARE_SERIALIZEABLE_STRUC10_I(strucname, t1, n1, i1, t2, n2, i2, t3, n3, i3, t4, n4, i4, t5, n5, i5, t6, n6, i6, t7, n7, i7, t8, n8, i8, t9, n9, i9, t10, n10, i10)

Define Documentation

#define DECLARE_SERIALIZEABLE_STRUC1 ( strucname,
t1,
n1   ) 

Value:

struct strucname \
                { \
            t1 n1; \
        \
                    strucname(t1 n1 ## _) : \
                n1(n1 ## _)\
            {\
                    } \
                \
                    strucname() : \
                        n1(__SERIALIZER_DEFAULT_ ## t1)\
                { \
                        } \
        \
                template <class _Ty>  inline bool __SERIALIZER_ITERATION_THUNK(_Ty &ref, bool Save) \
                { \
                if (!ref._SerializerEntry(_T(#n1), &n1, Save)) return false; \
                return true; \
                }\
};\
static inline const TCHAR * __SERIALIZER_GET_TYPE_NAME(strucname *ptr) {return _T(# strucname);}

#define DECLARE_SERIALIZEABLE_STRUC10 ( strucname,
t1,
n1,
t2,
n2,
t3,
n3,
t4,
n4,
t5,
n5,
t6,
n6,
t7,
n7,
t8,
n8,
t9,
n9,
t10,
n10   ) 

#define DECLARE_SERIALIZEABLE_STRUC10_I ( strucname,
t1,
n1,
i1,
t2,
n2,
i2,
t3,
n3,
i3,
t4,
n4,
i4,
t5,
n5,
i5,
t6,
n6,
i6,
t7,
n7,
i7,
t8,
n8,
i8,
t9,
n9,
i9,
t10,
n10,
i10   ) 

#define DECLARE_SERIALIZEABLE_STRUC1_I ( strucname,
t1,
n1,
i1   ) 

Value:

struct strucname \
                { \
            t1 n1; \
        \
                    strucname(t1 n1 ## _) : \
                n1(n1 ## _)\
            {\
                    } \
                \
                    strucname() : \
                        n1(i1)\
                { \
                        } \
        \
                template <class _Ty>  inline bool __SERIALIZER_ITERATION_THUNK(_Ty &ref, bool Save) \
                { \
                if (!ref._SerializerEntry(_T(#n1), &n1, Save)) return false; \
                return true; \
                }\
};\
static inline const TCHAR * __SERIALIZER_GET_TYPE_NAME(strucname *ptr) {return _T(# strucname);}

#define DECLARE_SERIALIZEABLE_STRUC2 ( strucname,
t1,
n1,
t2,
n2   ) 

Value:

struct strucname \
                { \
            t1 n1; \
            t2 n2; \
        \
                    strucname(t1 n1 ## _, t2 n2 ## _) : \
                n1(n1 ## _), \
                n2(n2 ## _)\
            {\
                    } \
                \
                    strucname() : \
                        n1(__SERIALIZER_DEFAULT_ ## t1), \
                        n2(__SERIALIZER_DEFAULT_ ## t2)\
                { \
                        } \
        \
                template <class _Ty>  inline bool __SERIALIZER_ITERATION_THUNK(_Ty &ref, bool Save) \
                { \
                if (!ref._SerializerEntry(_T(#n1), &n1, Save)) return false; \
                if (!ref._SerializerEntry(_T(#n2), &n2, Save)) return false; \
                return true; \
                }\
};\
static inline const TCHAR * __SERIALIZER_GET_TYPE_NAME(strucname *ptr) {return _T(# strucname);}

#define DECLARE_SERIALIZEABLE_STRUC2_I ( strucname,
t1,
n1,
i1,
t2,
n2,
i2   ) 

Value:

struct strucname \
                { \
            t1 n1; \
            t2 n2; \
        \
                    strucname(t1 n1 ## _, t2 n2 ## _) : \
                n1(n1 ## _), \
                n2(n2 ## _)\
            {\
                    } \
                \
                    strucname() : \
                        n1(i1), \
                        n2(i2)\
                { \
                        } \
        \
                template <class _Ty>  inline bool __SERIALIZER_ITERATION_THUNK(_Ty &ref, bool Save) \
                { \
                if (!ref._SerializerEntry(_T(#n1), &n1, Save)) return false; \
                if (!ref._SerializerEntry(_T(#n2), &n2, Save)) return false; \
                return true; \
                }\
};\
static inline const TCHAR * __SERIALIZER_GET_TYPE_NAME(strucname *ptr) {return _T(# strucname);}

#define DECLARE_SERIALIZEABLE_STRUC3 ( strucname,
t1,
n1,
t2,
n2,
t3,
n3   ) 

Value:

struct strucname \
                { \
            t1 n1; \
            t2 n2; \
            t3 n3; \
        \
                    strucname(t1 n1 ## _, t2 n2 ## _, t3 n3 ## _) : \
                n1(n1 ## _), \
                n2(n2 ## _), \
                n3(n3 ## _)\
            {\
                    } \
                \
                    strucname() : \
                        n1(__SERIALIZER_DEFAULT_ ## t1), \
                        n2(__SERIALIZER_DEFAULT_ ## t2), \
                        n3(__SERIALIZER_DEFAULT_ ## t3)\
                { \
                        } \
        \
                template <class _Ty>  inline bool __SERIALIZER_ITERATION_THUNK(_Ty &ref, bool Save) \
                { \
                if (!ref._SerializerEntry(_T(#n1), &n1, Save)) return false; \
                if (!ref._SerializerEntry(_T(#n2), &n2, Save)) return false; \
                if (!ref._SerializerEntry(_T(#n3), &n3, Save)) return false; \
                return true; \
                }\
};\
static inline const TCHAR * __SERIALIZER_GET_TYPE_NAME(strucname *ptr) {return _T(# strucname);}

#define DECLARE_SERIALIZEABLE_STRUC3_I ( strucname,
t1,
n1,
i1,
t2,
n2,
i2,
t3,
n3,
i3   ) 

Value:

struct strucname \
                { \
            t1 n1; \
            t2 n2; \
            t3 n3; \
        \
                    strucname(t1 n1 ## _, t2 n2 ## _, t3 n3 ## _) : \
                n1(n1 ## _), \
                n2(n2 ## _), \
                n3(n3 ## _)\
            {\
                    } \
                \
                    strucname() : \
                        n1(i1), \
                        n2(i2), \
                        n3(i3)\
                { \
                        } \
        \
                template <class _Ty>  inline bool __SERIALIZER_ITERATION_THUNK(_Ty &ref, bool Save) \
                { \
                if (!ref._SerializerEntry(_T(#n1), &n1, Save)) return false; \
                if (!ref._SerializerEntry(_T(#n2), &n2, Save)) return false; \
                if (!ref._SerializerEntry(_T(#n3), &n3, Save)) return false; \
                return true; \
                }\
};\
static inline const TCHAR * __SERIALIZER_GET_TYPE_NAME(strucname *ptr) {return _T(# strucname);}

#define DECLARE_SERIALIZEABLE_STRUC4 ( strucname,
t1,
n1,
t2,
n2,
t3,
n3,
t4,
n4   ) 

#define DECLARE_SERIALIZEABLE_STRUC4_I ( strucname,
t1,
n1,
i1,
t2,
n2,
i2,
t3,
n3,
i3,
t4,
n4,
i4   ) 

#define DECLARE_SERIALIZEABLE_STRUC5 ( strucname,
t1,
n1,
t2,
n2,
t3,
n3,
t4,
n4,
t5,
n5   ) 

#define DECLARE_SERIALIZEABLE_STRUC5_I ( strucname,
t1,
n1,
i1,
t2,
n2,
i2,
t3,
n3,
i3,
t4,
n4,
i4,
t5,
n5,
i5   ) 

#define DECLARE_SERIALIZEABLE_STRUC6 ( strucname,
t1,
n1,
t2,
n2,
t3,
n3,
t4,
n4,
t5,
n5,
t6,
n6   ) 

#define DECLARE_SERIALIZEABLE_STRUC6_I ( strucname,
t1,
n1,
i1,
t2,
n2,
i2,
t3,
n3,
i3,
t4,
n4,
i4,
t5,
n5,
i5,
t6,
n6,
i6   ) 

#define DECLARE_SERIALIZEABLE_STRUC7 ( strucname,
t1,
n1,
t2,
n2,
t3,
n3,
t4,
n4,
t5,
n5,
t6,
n6,
t7,
n7   ) 

#define DECLARE_SERIALIZEABLE_STRUC7_I ( strucname,
t1,
n1,
i1,
t2,
n2,
i2,
t3,
n3,
i3,
t4,
n4,
i4,
t5,
n5,
i5,
t6,
n6,
i6,
t7,
n7,
i7   ) 

#define DECLARE_SERIALIZEABLE_STRUC8 ( strucname,
t1,
n1,
t2,
n2,
t3,
n3,
t4,
n4,
t5,
n5,
t6,
n6,
t7,
n7,
t8,
n8   ) 

#define DECLARE_SERIALIZEABLE_STRUC8_I ( strucname,
t1,
n1,
i1,
t2,
n2,
i2,
t3,
n3,
i3,
t4,
n4,
i4,
t5,
n5,
i5,
t6,
n6,
i6,
t7,
n7,
i7,
t8,
n8,
i8   ) 

#define DECLARE_SERIALIZEABLE_STRUC9 ( strucname,
t1,
n1,
t2,
n2,
t3,
n3,
t4,
n4,
t5,
n5,
t6,
n6,
t7,
n7,
t8,
n8,
t9,
n9   ) 

#define DECLARE_SERIALIZEABLE_STRUC9_I ( strucname,
t1,
n1,
i1,
t2,
n2,
i2,
t3,
n3,
i3,
t4,
n4,
i4,
t5,
n5,
i5,
t6,
n6,
i6,
t7,
n7,
i7,
t8,
n8,
i8,
t9,
n9,
i9   ) 

SourceForge.net Logo