libLAS API Reference (svn-trunk)
liblas::Error Class Reference

Definition of error notification used on the level of C API. More...

#include <error.hpp>

Collaboration diagram for liblas::Error:
Collaboration graph

Public Member Functions

 Error (int code, std::string const &message, std::string const &method)
 Custom constructor.
 Error (Error const &other)
 Copy constructor.
Error & operator= (Error 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.

Constructor & Destructor Documentation

◆ Error() [1/2]

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.

Referenced by Error(), and operator=().

Here is the caller graph for this function:

◆ Error() [2/2]

liblas::Error::Error ( Error const & other)

Copy constructor.

Error objects are copyable.

References Error().

Here is the call graph for this function:

Member Function Documentation

◆ GetCode()

int liblas::Error::GetCode ( ) const
inline

◆ GetMessage()

std::string liblas::Error::GetMessage ( ) const
inline

◆ GetMethod()

std::string liblas::Error::GetMethod ( ) const
inline

◆ operator=()

Error & liblas::Error::operator= ( Error const & rhs)

Assignment operator.

Error objects are assignable.

References Error().

Here is the call graph for this function:

The documentation for this class was generated from the following file: