libLAS API Reference
1.8.1
|
Definition of error notification used on the level of C API. More...
#include <error.hpp>
Public Member Functions | |
Error (int code, std::string const &message, std::string const &method) | |
Custom constructor. More... | |
Error (Error const &other) | |
Copy constructor. More... | |
Error & | operator= (Error const &rhs) |
Assignment operator. More... | |
int | GetCode () const |
std::string | GetMessage () const |
std::string | GetMethod () const |
Definition of error notification used on the level of C API.
This class describes details of error condition occured in libLAS core. All errors are stacked by C API layer, so it's possible to track problem down to its source.
liblas::Error::Error | ( | int | code, |
std::string const & | message, | ||
std::string const & | method | ||
) |
Custom constructor.
This is the main and the only tool to initialize error instance.
|
inline |
|
inline |
|
inline |
Assignment operator.
Error objects are assignable.