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

imagedef_reactor.h

Go to the documentation of this file.
00001 
00046 #ifndef LIBDXF_SRC_IMAGEDEF_REACTOR_H
00047 #define LIBDXF_SRC_IMAGEDEF_REACTOR_H
00048 
00049 
00050 #include "global.h"
00051 
00052 
00053 #ifdef __cplusplus
00054 extern "C" {
00055 #endif
00056 
00057 
00062 typedef struct
00063 dxf_imagedef_reactor_struct
00064 {
00065         /* Members common for all DXF group objects. */
00066         int id_code;
00071         char *dictionary_owner_soft;
00074         char *dictionary_owner_hard;
00077         /* Specific members for a DXF imagedef_reactor. */
00078         int32_t class_version;
00082         char *associated_image_object;
00085         int associated_image_object_length;
00087         struct DxfImagedefReactor *next;
00090 } DxfImagedefReactor;
00091 
00092 
00093 DxfImagedefReactor *dxf_imagedef_reactor_new ();
00094 DxfImagedefReactor *dxf_imagedef_reactor_init (DxfImagedefReactor *imagedef_reactor);
00095 DxfImagedefReactor *dxf_imagedef_reactor_read (DxfFile *fp, DxfImagedefReactor *imagedef_reactor);
00096 int dxf_imagedef_reactor_write (DxfFile *fp, DxfImagedefReactor *imagedef_reactor);
00097 int dxf_imagedef_reactor_free (DxfImagedefReactor *imagedef_reactor);
00098 void dxf_imagedef_reactor_free_chain (DxfImagedefReactor *imagedef_reactors);
00099 int dxf_imagedef_reactor_get_id_code (DxfImagedefReactor *imagedef_reactor);
00100 DxfImagedefReactor *dxf_imagedef_reactor_set_id_code (DxfImagedefReactor *imagedef_reactor, int id_code);
00101 char *dxf_imagedef_reactor_get_dictionary_owner_soft (DxfImagedefReactor *imagedef_reactor);
00102 DxfImagedefReactor *dxf_imagedef_reactor_set_dictionary_owner_soft (DxfImagedefReactor *imagedef_reactor, char *dictionary_owner_soft);
00103 char *dxf_imagedef_reactor_get_dictionary_owner_hard (DxfImagedefReactor *imagedef_reactor);
00104 DxfImagedefReactor *dxf_imagedef_reactor_set_dictionary_owner_hard (DxfImagedefReactor *imagedef_reactor, char *dictionary_owner_hard);
00105 int32_t dxf_imagedef_reactor_get_class_version (DxfImagedefReactor *imagedef_reactor);
00106 DxfImagedefReactor *dxf_imagedef_reactor_set_class_version (DxfImagedefReactor *imagedef_reactor, int32_t class_version);
00107 char *dxf_imagedef_reactor_get_associated_image_object (DxfImagedefReactor *imagedef_reactor);
00108 DxfImagedefReactor *dxf_imagedef_reactor_set_associated_image_object (DxfImagedefReactor *imagedef_reactor, char *associated_image_object);
00109 int dxf_imagedef_reactor_get_associated_image_object_length (DxfImagedefReactor *imagedef_reactor);
00110 DxfImagedefReactor *dxf_imagedef_reactor_set_associated_image_object_length (DxfImagedefReactor *imagedef_reactor, int associated_image_object_length);
00111 DxfImagedefReactor *dxf_imagedef_reactor_get_next (DxfImagedefReactor *imagedef_reactor);
00112 DxfImagedefReactor *dxf_imagedef_reactor_set_next (DxfImagedefReactor *imagedef_reactor, DxfImagedefReactor *next);
00113 DxfImagedefReactor *dxf_imagedef_reactor_get_last (DxfImagedefReactor *imagedef_reactor);
00114 
00115 
00116 #ifdef __cplusplus
00117 }
00118 #endif
00119 
00120 
00121 #endif /* LIBDXF_SRC_IMAGEDEF_REACTOR_H */
00122 
00123 
00124 /* EOF */