63 int convert(r_Ref<r_GMarray> &src, r_Ref<r_GMarray> &dest);
64
65
66protected:
67
68 void clearData(void);
69
70 wxPanel *panel;
71 wxGroupBox **structures;
72 rviewCheckBox **members;
73 unsigned int *offsets;
74 unsigned char *primtypes;
75 unsigned int numStruct, numMembers, typeDepth;
76 unsigned int baseTypeLength;
77 r_Type *myType;
78 rviewFrame *parent;
79 rviewButton *closeBut, *convertBut;
80 const char **typeNames;
81 DynamicString baseTypeName;
82
83
84private:
85
86 void initShare(rviewFrame *parentWindow);
87 void parseStructType(const r_Structure_Type *tp, unsigned int &nums, unsigned int &numm, unsigned int depth, unsigned int offset=0, wxRect *bbox=NULL);
88 void parsePrimitiveType(const r_Primitive_Type *tp, const char *name, unsigned int &numm, unsigned int offset=0, wxRect *bbox=NULL);
89
90 static const char structName[];
91 static const char marrayName[];
92 static const char typeBool[];
93 static const char typeChar[];
94 static const char typeOctet[];
95 static const char typeShort[];
96 static const char typeUShort[];
97 static const char typeLong[];
98 static const char typeULong[];
99 static const char typeFloat[];
100 static const char typeDouble[];
101
102 // constants
103 static const int tman_width;
104 static const int tman_height;
105 static const int tman_border;
106 static const int tman_basewidth;
107 static const int tman_cheight;
108 static const int tman_bheight;
109 static const int tman_bwidth;
110};
111
112#endif
Generated on Sun Jun 8 2014 16:57:08 for rasdaman complete source by 1.8.6