gCAD3D 2.40
ut_dump.c File Reference

dump structs, objects More...

#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include "../ut/ut_geo.h"
#include "../ut/ut_gtypes.h"
#include "../ut/ut_memTab.h"
#include "../ut/ut_itmsh.h"
#include "../ut/ut_txt.h"
#include "../ut/ut_txTab.h"
#include "../ut/ut_cast.h"
#include "../ut/ut_err.h"
#include "../ut/func_types.h"
#include "../db/ut_DB.h"
#include "../xa/xa_ico.h"

Functions

int UT3D_nstru_dump (int form, int oNr, void *obj, char *txt)
 
int UT3D_dump_txt (char *txt,...)
 
int UT3D_dump_dbo (int typ, long dbi, char *txx)
 
int UT3D_stru_dump (int typ, void *data, char *txt,...)
 
int UT3D_dump_n (TxtTab *sTab, int form, void *obj, int oNr, char *txt, int ipar, int mode)
 
int UT3D_dump__ (TxtTab *sTab, int typ, void *data, char *txt, int ipar, int mode)
 
int UT3D_dump_add (TxtTab *sTab, char *cbuf, int ipar, int ico)
 

Detailed Description

dump structs, objects

=====================================================
List_functions_start:
UT3D_stru_dump dump object
UT3D_nstru_dump dump n object's
UT3D_dump_n dump n object's
UT3D_dump__ dump object
UT3D_dump_dbo dump DB-object
OVR_dump_add
List_functions_end:
=====================================================
see also

Function Documentation

int UT3D_nstru_dump ( int  form,
int  oNr,
void *  obj,
char *  txt 
)

UT3D_dump_n dump n object's

int UT3D_dump_txt ( char *  txt,
  ... 
)

formatiertes Rausschreiben; wie bei printf. Beispiel: TX_Print("Value d1 = %f string =|%s|",d1,cBuf);

int UT3D_dump_dbo ( int  typ,
long  dbi,
char *  txx 
)

UT3D_dump_dbo dump DB-object

int UT3D_stru_dump ( int  typ,
void *  data,
char *  txt,
  ... 
)
* UT3D_stru_dump Testausgabe Geom.Element.
* typ = TYP_FuncInit: ab nun Ausgabe -> Datei "txt" (Open File)
* typ = TYP_FuncEnd: ab nun wiederAusgabe -> term. (Close File)
* typ = TYP_FuncInit1: ab nun Ausgabe -> FILE "txt" (File must be open)
* typ = TYP_FuncExit: ab nun wiederAusgabe -> term. (does not close File)
*
* resolv ObjGX: see UTO_dump__
*
int UT3D_dump_n ( TxtTab sTab,
int  form,
void *  obj,
int  oNr,
char *  txt,
int  ipar,
int  mode 
)
* create info-textstrings describing binary object form/obj (structured)
* Input:
* obj struct of type <form>
* oNr nr of obj's in <obj> of type <form>
* txt obj.description (should be objName)
* ipar parentRecordNr
* mode 0=normal object; create info-textstrings
* 1=internal object; do not create info-textstrings
* Output:
* characters 0-3 = level (ParentRecordNr)
* characters 4-5 = IconNr
*
int UT3D_dump__ ( TxtTab sTab,
int  typ,
void *  data,
char *  txt,
int  ipar,
int  mode 
)
int UT3D_dump_add ( TxtTab sTab,
char *  cbuf,
int  ipar,
int  ico 
)