libDXF 0.0.1
A library with DXF related functions written in C.

tables.h

Go to the documentation of this file.
00001 
00054 #ifndef LIBDXF_SRC_TABLES_H
00055 #define LIBDXF_SRC_TABLES_H
00056 
00057 
00058 #include "global.h"
00059 
00060 
00061 #ifdef __cplusplus
00062 extern "C" {
00063 #endif
00064 
00065 
00069 typedef struct
00070 dxf_tables
00071 {
00072         int max_table_entries;
00075         struct DxfAppid *appids;
00077         struct DxfBlockRecord *block_records;
00079         struct DxfDimStyle *dimstyles;
00081         struct DxfLayer *layers;
00083         struct DxfLType *ltypes;
00085         struct DxfStyle *styles;
00087         struct DxfUcs *ucss;
00089         struct DxfView *views;
00091         struct DxfVPort *vports;
00093 } DxfTables;
00094 
00095 
00096 DxfTables *dxf_tables_new ();
00097 DxfTables *dxf_tables_init (DxfTables *tables);
00098 int dxf_tables_write (DxfFile *fp, DxfTables *tables);
00099 int dxf_tables_free (DxfTables *tables);
00100 
00101 
00102 #ifdef __cplusplus
00103 }
00104 #endif
00105 
00106 
00107 #endif /* LIBDXF_SRC_TABLES_H */
00108 
00109 
00110 /* EOF */