Changeset 656
- Timestamp:
- 05/03/08 02:03:30 (14 months ago)
- Files:
-
- 1 modified
-
trunk/include/liblas/capi/liblas.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/liblas/capi/liblas.h
r655 r656 104 104 LAS_DLL const char* LAS_GetVersion(); 105 105 106 /// Resets the error stack for the libLAS C API. 106 107 LAS_DLL void LASError_Reset(void); 108 109 /// Pops the top error off of the error stack for the libLAS C API. 107 110 LAS_DLL void LASError_Pop(void); 111 112 /// Returns the error number of the last error on the error stack. 108 113 LAS_DLL LASError LASError_GetLastErrorNum(void); 114 115 /// Returns the error message of the last error on the error stack. 109 116 LAS_DLL char * LASError_GetLastErrorMsg(void); 117 118 /// Returns the name of the method the last error message happened in/ 110 119 LAS_DLL char * LASError_GetLastErrorMethod(void); 120 121 /// Returns the number of error messages on the error stack. 111 122 LAS_DLL int LASError_GetErrorCount(void); 123 124 /// Prints the last error message in the error stack to stderr. If 125 /// there is no error on the error stack, only the @param message is printed. 126 /// The function does not alter the error stack in any way. 127 /// @param message Message to include in the stderr output 112 128 LAS_DLL void LASError_Print(const char* message); 113 129 130 /// Creates a LASReaderH object that can be used to read LASHeaderH and 131 /// LASPointH objects with. The LASReaderH must not be created with a 132 /// filename that is opened for read or write by any other API functions. 133 /// @param filename Filename to open for read 114 134 LAS_DLL LASReaderH LASReader_Create(const char * filename); 135 115 136 LAS_DLL LASPointH LASReader_GetNextPoint(const LASReaderH hReader); 116 137 LAS_DLL LASPointH LASReader_GetPointAt(const LASReaderH hReader, uint32_t position);
