
/*This file is generated from Header2Reflection. */
#define protected public  //only active inside this compilation unit
#define private public    //  to enable the access to all elements.
#include "Jc/ReflectionJc.h"
#include "Reflection_Test.h"
/**The seconds after 1970 where the this file and the apprpriated reflection in binfile where created.
 * It is 2010-02-08-10:55:20*/
const int reflectionGenerationTime = 1265622920;

#include "../src/Mystruct.h"

const struct Reflection_Fields_MyStruct2_t
{ ObjectArrayJc head;
  FieldJc data[2];
} reflection_Fields_MyStruct2 =
{ CONST_ObjectArrayJc(FieldJc, 2, OBJTYPE_FieldJc, null, &reflection_Fields_MyStruct2)
, {
    { "m"
    , 0 //nrofArrayElements
    , REFLECTION_int
    , (4<<kBitPrimitiv_Modifier_reflectJc) //bitModifiers
    , (int16)((int32)(&((MyStruct2*)(0x1000))->m) - (int32)(MyStruct2*)0x1000)
    , 0  //offsetToObjectifcBase
    , &reflection_MyStruct2
    }
  , { "n"
    , 0 //nrofArrayElements
    , REFLECTION_int
    , (4<<kBitPrimitiv_Modifier_reflectJc) //bitModifiers
    , (int16)((int32)(&((MyStruct2*)(0x1000))->n) - (int32)(MyStruct2*)0x1000)
    , 0  //offsetToObjectifcBase
    , &reflection_MyStruct2
    }
} };


const ClassJc reflection_MyStruct2 =
{ CONST_ObjectJc(OBJTYPE_ClassJc + sizeof(ClassJc), &reflection_MyStruct2, null)
, "MyStruct2"
, 0
, sizeof(MyStruct2)
, (FieldJcArray const*)&reflection_Fields_MyStruct2  //attributes and associations
, null  //method
, null  //superclass
, null  //interfaces
, 0 
};



extern const ClassJc reflection_MyStruct2;
const struct Reflection_Fields_MyStruct_t
{ ObjectArrayJc head;
  FieldJc data[7];
} reflection_Fields_MyStruct =
{ CONST_ObjectArrayJc(FieldJc, 7, OBJTYPE_FieldJc, null, &reflection_Fields_MyStruct)
, {
    { "a"
    , 0 //nrofArrayElements
    , REFLECTION_int32
    , (4<<kBitPrimitiv_Modifier_reflectJc) //bitModifiers
    , (int16)((int32)(&((MyStruct*)(0x1000))->a) - (int32)(MyStruct*)0x1000)
    , 0  //offsetToObjectifcBase
    , &reflection_MyStruct
    }
  , { "b"
    , 0 //nrofArrayElements
    , REFLECTION_int16
    , (2<<kBitPrimitiv_Modifier_reflectJc) //bitModifiers
    , (int16)((int32)(&((MyStruct*)(0x1000))->b) - (int32)(MyStruct*)0x1000)
    , 0  //offsetToObjectifcBase
    , &reflection_MyStruct
    }
  , { "c"
    , 0 //nrofArrayElements
    , REFLECTION_int16
    , (2<<kBitPrimitiv_Modifier_reflectJc) //bitModifiers
    , (int16)((int32)(&((MyStruct*)(0x1000))->c) - (int32)(MyStruct*)0x1000)
    , 0  //offsetToObjectifcBase
    , &reflection_MyStruct
    }
  , { "x"
    , 10 //nrofArrayElements
    , REFLECTION_int16
    , (2<<kBitPrimitiv_Modifier_reflectJc) |mStaticArray_Modifier_reflectJc //bitModifiers
    , (int16)((int32)(&((MyStruct*)(0x1000))->x) - (int32)(MyStruct*)0x1000)
    , 0  //offsetToObjectifcBase
    , &reflection_MyStruct
    }
  , { "y"
    , 10 //nrofArrayElements
    , REFLECTION_int16
    , (2<<kBitPrimitiv_Modifier_reflectJc) |mStaticArray_Modifier_reflectJc //bitModifiers
    , (int16)((int32)(&((MyStruct*)(0x1000))->y) - (int32)(MyStruct*)0x1000)
    , 0  //offsetToObjectifcBase
    , &reflection_MyStruct
    }
  , { "f"
    , 0 //nrofArrayElements
    , REFLECTION_float
    , (4<<kBitPrimitiv_Modifier_reflectJc) //bitModifiers
    , (int16)((int32)(&((MyStruct*)(0x1000))->f) - (int32)(MyStruct*)0x1000)
    , 0  //offsetToObjectifcBase
    , &reflection_MyStruct
    }
  , { "embeddedStruct"
    , 0 //nrofArrayElements
    , &reflection_MyStruct2
    , 0 //bitModifiers
    , (int16)((int32)(&((MyStruct*)(0x1000))->embeddedStruct) - (int32)(MyStruct*)0x1000)
    , 0  //offsetToObjectifcBase
    , &reflection_MyStruct
    }
} };


const ClassJc reflection_MyStruct =
{ CONST_ObjectJc(OBJTYPE_ClassJc + sizeof(ClassJc), &reflection_MyStruct, null)
, "MyStruct"
, 0
, sizeof(MyStruct)
, (FieldJcArray const*)&reflection_Fields_MyStruct  //attributes and associations
, null  //method
, null  //superclass
, null  //interfaces
, 0 
};


