Osmium  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
Osmium::OSMFile::IOError Class Reference

#include <osmfile.hpp>

Inheritance diagram for Osmium::OSMFile::IOError:
Inheritance graph
[legend]
Collaboration diagram for Osmium::OSMFile::IOError:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 IOError (const std::string &whatarg, const std::string &filename, int e)
 ~IOError () throw ()
const std::string & filename () const throw ()
int system_errno () const throw ()

Private Attributes

std::string m_filename
int m_errno

Detailed Description

Low-level I/O Error. This exception if thrown if there is an error in an I/O system call.


Constructor & Destructor Documentation

Osmium::OSMFile::IOError::IOError ( const std::string &  whatarg,
const std::string &  filename,
int  e 
) [inline]
Osmium::OSMFile::IOError::~IOError ( ) throw () [inline]

Member Function Documentation

const std::string& Osmium::OSMFile::IOError::filename ( ) const throw () [inline]

Get the filename that caused this exception.

int Osmium::OSMFile::IOError::system_errno ( ) const throw () [inline]

Get the system errno variable from the system call that caused this exception.


Member Data Documentation

std::string Osmium::OSMFile::IOError::m_filename [private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines