Public Member Functions | Private Attributes
Typelib::ImportError Class Reference

#include <importer.hh>

Inheritance diagram for Typelib::ImportError:
Inheritance graph
[legend]

List of all members.

Public Member Functions

int getColumn () const
std::string getFile () const
int getLine () const
 ImportError (const std::string &file, const std::string &what_="", int line=0, int column=0)
void setFile (const std::string &path)
 ~ImportError () throw ()

Private Attributes

char * m_buffer
int m_column
std::string m_file
int m_line
std::string m_what

Detailed Description

Base class for exception thrown during import

Definition at line 14 of file importer.hh.


Constructor & Destructor Documentation

ImportError::ImportError ( const std::string &  file,
const std::string &  what_ = "",
int  line = 0,
int  column = 0 
)

Definition at line 24 of file importer.cc.

Definition at line 27 of file importer.cc.


Member Function Documentation

int ImportError::getColumn ( ) const

Column of error

Definition at line 32 of file importer.cc.

std::string ImportError::getFile ( ) const

The file in which the exception occured

Definition at line 30 of file importer.cc.

int ImportError::getLine ( ) const

Line of error

Definition at line 31 of file importer.cc.

void ImportError::setFile ( const std::string &  path)

Definition at line 29 of file importer.cc.


Member Data Documentation

Definition at line 19 of file importer.hh.

Definition at line 17 of file importer.hh.

std::string Typelib::ImportError::m_file [private]

Definition at line 16 of file importer.hh.

Definition at line 17 of file importer.hh.

std::string Typelib::ImportError::m_what [private]

Definition at line 18 of file importer.hh.


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


typelib
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Mon Sep 14 2015 15:08:18