3 #include "DM/config.hpp"
4 #include "DM/AutoLink.hpp"
6 #include "DM/IControlObject.hpp"
7 #include "DM/IFilter.hpp"
8 #include "DM/IAddInfoLayout.hpp"
10 #include "DM/IO/IFileHeader.hpp"
13 #include "DM/IO/DataFormat.hpp"
31 DM_API
const char* toString(ImportError error);
39 class DM_API IDatamanager;
78 bool collectHdrContents =
false,
unsigned maxBulkPoints = 1000 );
81 bool collectHdrContents =
false,
unsigned maxBulkPoints = 1000 );
84 bool collectHdrContents =
false,
unsigned maxBulkPoints = 1000,
85 unsigned bandNumber = 1,
const char *driver = 0 );
87 static IImport* NewWinput(
const char *file,
bool binary,
ColumnSemantic structIdAddInfoCol = ColumnSemantic::null,
90 bool collectHdrContents =
false,
unsigned maxBulkPoints = 1000,
103 virtual unsigned serialize(
char *representation = 0 )
const = 0;
106 static IImport* unserialize(
const char *representation,
unsigned repSize );
125 virtual const char* getFilename()
const = 0;
131 virtual void logTo( LogFn logFn ) = 0;
134 virtual bool readHeaderSeparately() = 0;
140 virtual InvalidObjectStatistic getInvalidGeometries()
const = 0;
143 typedef Handle<IImport> ImportHandle;
ColumnSemantic
Pre-defined attributes (attributes with semantic)
Definition: ColumnTypes.hpp:38
@ importStreamNotAccessible
import stream is not accessible
long long polygonsSelfIntersecting
number of polygons that are self intersecting
Definition: M/c++_api/inc/DM/IO/IImport.hpp:96
base class for importing original geometry data file
Definition: M/c++_api/inc/DM/IO/IImport.hpp:42
ImportError
Definition: M/c++_api/inc/DM/IO/IImport.hpp:17
long long polygonsInvalidOrientation
number of polygons that are orientated incorrectly
Definition: M/c++_api/inc/DM/IO/IImport.hpp:95
Definition: Handle.hpp:454
DataFormat
list of known data formats
Definition: DataFormat.hpp:9
@ unknownFormat
unknown import file format
@ importStreamClosed
import stream was already closed
Definition: M/c++_api/inc/DM/IO/IImport.hpp:94
@ readingData
general error while reading data
@ demoLimitExceeded
demo limit of the DM exceeded
@ endOfStreamReached
end of input stream is reached
@ headerContentsErroneous
the file header content is erroneous
PolygonMerging
Definition: M/c++_api/inc/DM/IO/IImport.hpp:33
Interface to an Datamanager (ODM) object.
Definition: IDatamanager.hpp:56
@ memoryOverflow
memory overflow occurred
Definition: M/c++_api/inc/DM/ObjectBase.hpp:8
@ interrupted
export was interrupted
@ successful
no error occurred