Rcpp Version 0.9.10
exceptions.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Rcpp::exception
class  Rcpp::no_such_env

Namespaces

namespace  Rcpp
 

Rcpp API.


Defines

#define RCPP_EXCEPTION_CLASS(__CLASS__, __WHAT__)
#define RCPP_SIMPLE_EXCEPTION_CLASS(__CLASS__, __MESSAGE__)

Functions

static std::string Rcpp::toString (const int i)

Define Documentation

#define RCPP_EXCEPTION_CLASS (   __CLASS__,
  __WHAT__ 
)
Value:
class __CLASS__ : public std::exception{                                       \
public:                                                                        \
        __CLASS__( const std::string& message ) throw() : message( __WHAT__ ){} ;  \
        virtual ~__CLASS__() throw(){} ;                                           \
        virtual const char* what() const throw() ;                                 \
private:                                                                       \
        std::string message ;                                                      \
} ;

Definition at line 54 of file exceptions.h.

#define RCPP_SIMPLE_EXCEPTION_CLASS (   __CLASS__,
  __MESSAGE__ 
)
Value:
class __CLASS__ : public std::exception{                                       \
public:                                                                        \
        __CLASS__() throw() {} ;                                                   \
        virtual ~__CLASS__() throw(){} ;                                           \
        virtual const char* what() const throw() ;                                 \
} ;

Definition at line 64 of file exceptions.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines