Changeset 656

Show
Ignore:
Timestamp:
05/03/08 02:03:30 (14 months ago)
Author:
hobu
Message:

doc updates

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/include/liblas/capi/liblas.h

    r655 r656  
    104104LAS_DLL const char* LAS_GetVersion(); 
    105105 
     106/// Resets the error stack for the libLAS C API.   
    106107LAS_DLL void LASError_Reset(void); 
     108 
     109/// Pops the top error off of the error stack for the libLAS C API. 
    107110LAS_DLL void LASError_Pop(void); 
     111 
     112/// Returns the error number of the last error on the error stack. 
    108113LAS_DLL LASError LASError_GetLastErrorNum(void); 
     114 
     115/// Returns the error message of the last error on the error stack. 
    109116LAS_DLL char * LASError_GetLastErrorMsg(void); 
     117 
     118/// Returns the name of the method the last error message happened in/ 
    110119LAS_DLL char * LASError_GetLastErrorMethod(void); 
     120 
     121/// Returns the number of error messages on the error stack. 
    111122LAS_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 
    112128LAS_DLL void LASError_Print(const char* message); 
    113129 
     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  
    114134LAS_DLL LASReaderH LASReader_Create(const char * filename); 
     135 
    115136LAS_DLL LASPointH LASReader_GetNextPoint(const LASReaderH hReader); 
    116137LAS_DLL LASPointH LASReader_GetPointAt(const LASReaderH hReader, uint32_t position);