liblas::LASError Class Reference
Definition of error notification used on the level of C API. More...
#include <laserror.hpp>
Public Member Functions | |
| LASError (int code, std::string const &message, std::string const &method) | |
| Custom constructor. | |
| LASError (LASError const &other) | |
| Copy constructor. | |
| LASError & | operator= (LASError const &rhs) |
| Assignment operator. | |
| int | GetCode () const |
| std::string | GetMessage () const |
| std::string | GetMethod () const |
Detailed Description
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.
Definition at line 57 of file laserror.hpp.
Constructor & Destructor Documentation
| liblas::LASError::LASError | ( | int | code, | |
| std::string const & | message, | |||
| std::string const & | method | |||
| ) |
Custom constructor.
This is the main and the only tool to initialize error instance.
| liblas::LASError::LASError | ( | LASError const & | other | ) |
Copy constructor.
Error objects are copyable.
Member Function Documentation
Assignment operator.
Error objects are assignable.
| int liblas::LASError::GetCode | ( | ) | const [inline] |
Definition at line 76 of file laserror.hpp.
| std::string liblas::LASError::GetMessage | ( | ) | const [inline] |
Definition at line 77 of file laserror.hpp.
| std::string liblas::LASError::GetMethod | ( | ) | const [inline] |
Definition at line 78 of file laserror.hpp.
The documentation for this class was generated from the following file:
