===================================================== Liste_Funktionen_Beginn: Grp_ck_def check if obj is in group Grp_init init obj-list Grp_add add obj to obj-list Grp_del remove obj from group Grp_res resolv list and add all parents to list Grp_exp export (native) alle objects of obj-list --> file Grp_dump Liste_Funktionen_Ende: ===================================================== see also DL_grp1_copy copy all DL-obj with groupBit ON --> GroupList
#include "MS_Def0.h"
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <ctype.h>
#include "../ut/ut_geo.h"
#include "../ut/ut_txt.h"
#include "../ut/ut_txfil.h"
#include "../gr/ut_UI.h"
#include "../gr/ut_DL.h"
#include "../gr/ut_GL.h"
#include "xa.h"
#include "../xa/xa_mem.h"
#include "../xa/ut_ui_TX.h"
Functions | |
int | Grp_init () |
================================================================ | |
int | Grp_dump () |
================================================================ | |
int | Grp_cbuf (char *cBuf, int cSiz) |
================================================================ | |
int | Grp_add (int typ, long ind) |
================================================================ | |
int | Grp_del (int typ, long ind) |
================================================================ | |
int | Grp_res () |
================================================================ | |
int | Grp_ck_def (int typ, long ind) |
================================================================ | |
int | Grp_exp (char *fnam, char *dirNam) |
================================================================ | |
Variables | |
static ObjGrp * | GrpTab |
static int | GrpNr |
static int | GrpMax |
int Grp_init | ( | ) |
================================================================
================================================================ init obj-list
int Grp_dump | ( | ) |
================================================================
================================================================
int Grp_cbuf | ( | char * | cBuf, | |
int | cSiz | |||
) |
================================================================
================================================================
int Grp_add | ( | int | typ, | |
long | ind | |||
) |
================================================================
================================================================ add obj to obj-list
int Grp_del | ( | int | typ, | |
long | ind | |||
) |
================================================================
================================================================ remove obj from group
int Grp_res | ( | ) |
================================================================
================================================================ obj-list Recursiv nach seinen Eltern absuchen und diese zufuegen
GrpTab[].stat = 0: newly added GrpTab[].stat = 1: all parents searched and added ..
int Grp_ck_def | ( | int | typ, | |
long | ind | |||
) |
================================================================
================================================================ check if obj is in group RetCod >= 0: yes, RetCod = index. -1: no.
int Grp_exp | ( | char * | fnam, | |
char * | dirNam | |||
) |
================================================================
================================================================ export (native) alle objects of obj-list --> file Zuerst nach Buffer1 rausschreiben, dann in Datei ausgeben.
int GrpNr [static] |
int GrpMax [static] |