7e008b4e023b600bea822b3e3eeb045deca05770
1 /* Header file for reading dxf information and basic parsing. Interprting information is found in other files
2 */
4 #ifndef READ_DXF_H
5 #define READ_DXF_H
7 #include<vector>
11 class dxfpair{
12 public:
13 dxfpair(int gcode, char val[10000]);
14 virtual ~dxfpair();
16 char * value_char(char *string);
18 // Leave this data public
19 int group_code;
20 std::vector< char > value;
21 };
26 int section(char* value); // Convert the section titles into integers
28 std::vector< std::vector< dxfpair > > dxf_get_sections(char* filename);
30 std::vector< std::vector< dxfpair > > separate_parts( std::vector< dxfpair > section ); // Find where the major sections are and break into smaller parts
32 #endif