Points&Forces (core)
Software tools facilitating the task of surveying architecture
include
a_dxf_entity.h
Go to the documentation of this file.
1
/*
2
Copyright 2010-2011 Pierre SMARS (smars@yuntech.edu.tw)
3
This program is free software: you can redistribute it and/or modify
4
it under the terms of the GNU General Public License as published by
5
the Free Software Foundation, either version 2 of the License, or
6
(at your option) any later version.
7
8
This program is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
GNU General Public License for more details.
12
13
You should have received a copy of the GNU General Public License
14
along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*/
16
#ifndef _VE_DXF_ENTITY_H_
17
#define _VE_DXF_ENTITY_H_
18
19
#include <string>
20
28
class
a_dxf_entity
29
{
30
public
:
31
a_dxf_entity
(std::istream * file) {
file_
= file;}
32
bool
read
();
33
std::string
layer
() {
return
layer_
;}
35
class
file_error
{};
36
protected
:
37
std::istream *
file_
;
38
std::string
layer_
;
39
};
40
41
#endif
a_dxf_entity::file_error
Definition:
a_dxf_entity.h:35
a_dxf_entity
a generic dxf entity
Definition:
a_dxf_entity.h:29
a_dxf_entity::layer_
std::string layer_
Definition:
a_dxf_entity.h:38
a_dxf_entity::a_dxf_entity
a_dxf_entity(std::istream *file)
Definition:
a_dxf_entity.h:31
a_dxf_entity::file_
std::istream * file_
Definition:
a_dxf_entity.h:37
a_dxf_entity::read
bool read()
Definition:
a_dxf_entity.cxx:19
a_dxf_entity::layer
std::string layer()
Definition:
a_dxf_entity.h:33
Generated on Tue Sep 6 2022 18:50:16 for Points&Forces (core) by
1.9.1