GME
13
|
00001 #ifndef MGACOMPLEXOPS_H_1093481093485091384 00002 #define MGACOMPLEXOPS_H_1093481093485091384 00003 00004 class PointerFixup; 00005 00006 void CheckConflict(CoreObj &b, CoreObj &root); 00007 int GetRealSubtypeDist(CoreObj oldobj); 00008 00009 void ObjTreeCopy(CMgaProject *mgaproject, CoreObj self, CoreObj &nobj, coreobjpairhash &crealist); 00010 void ObjTreeCopyFoldersToo(CMgaProject *mgaproject, CoreObj self, CoreObj &nobj, coreobjpairhash &crealist); 00011 00012 void ObjTreeCopyFromExt(CMgaProject *mgaproject, const CoreObj &orig, CoreObj &nobj, PointerFixup &fixup); 00013 00014 void ObjTreeCollect(CMgaProject *mgaproject, CoreObj &self, coreobjhash &crealist, int code ); 00015 void ObjTreeCollectFoldersToo(CMgaProject *mgaproject, CoreObj &self, coreobjhash &crealist, int code ); 00016 00017 void ObjTreeDist(CoreObj self, int derdist); 00018 void ReDeriveNewObjs(CMgaProject *mgaproject, std::vector<CoreObj> &orignobjs, int cnt, int targetlevel); 00019 void shiftlist(coreobjpairhash &list1, coreobjhash &list2); 00020 00021 void ObjTreeCheckRelations(CMgaProject *mgaproject, CoreObj &self, coreobjhash &internals); 00022 void ObjTreeCheckRelationsFoldersToo(CMgaProject *mgaproject, CoreObj &self, coreobjhash &internals); 00023 00024 void ObjTreeCheckINTORelations(CMgaProject *mgaproject, CoreObj &self, coreobjhash &internals); 00025 void ObjTreeCheckINTORelationsFoldersToo(CMgaProject *mgaproject, CoreObj &self, coreobjhash &internals); 00026 00027 // the counterpart of this is declared in the MgaFCO.h 00028 bool ObjTreeReconnectFoldersToo(CoreObj self, coreobjpairhash &crealist, CoreObj const &derivtgt = NULLCOREOBJ); 00029 00030 void DeriveMoveds(CMgaProject *mgaproject, std::vector<CoreObj> &orignobjs, std::vector<int> &extmoved, int cnt, int targetlevel); 00031 00032 void SingleObjTreeDelete(CoreObj &self, bool deleteself = true); 00033 void assignGuid( CMgaProject *mgaproject, CoreObj& ss); 00034 void getMeAGuid( long *p_l1, long *p_l2, long *p_l3, long *p_l4); 00035 00036 #endif //MGACOMPLEXOPS_H_1093481093485091384 00037 // created by ZolMol