Карта сайта Kansoftware
НОВОСТИУСЛУГИРЕШЕНИЯКОНТАКТЫ
Разработка программного обеспечения

Synopsis

Boost , ,

Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Boost Exception

Synopsis

Список документированных определений, деклараций и включает в себя файл заголовка:

#include <boost/exception/exception.hpp>[ORIG_END] -->

namespace
boost
    {
    class
    exception
        {
        protected:
    
        exception();
        exception( exception const & x );    
        ~exception();    
        };    
    
    template <class Tag,class T>
    class error_info;    
    
    typedef error_info<struct throw_function_,char const *> throw_function;
    typedef error_info<struct throw_file_,char const *> throw_file;
    typedef error_info<struct throw_line_,int> throw_line;
    }

& #35;включают<boost/ Exception/error_info.hpp>include <boost/exception/error_info.hpp>[ORIG_END] -->

namespace
boost
    {
    template <class Tag,class T>
    class error_info;
    }

#включают<boost/ Exception/info.hpp>include <boost/exception/info.hpp>[ORIG_END] -->

#include <boost/exception/exception.hpp>
namespace
boost
    {
    template <class Tag,class T>
    class
    error_info
        {
        public:
    
        typedef T value_type;    
    
        error_info( value_type const & v );    
        value_type const & value() const;
        value_type & value();    
        };    
    
    template <class E, class Tag, class T>
    E const & operator<<( E const & x, error_info<Tag,T> const & v );
    }

& #35;включают<boost/ Exception/info_tuple.hpp>include <boost/exception/info_tuple.hpp>[ORIG_END] -->

#include <boost/exception/info.hpp>
#include <boost/tuple/tuple.hpp>
namespace
boost
    {
    template <class E, class Tag1, class T1, ..., class TagN, class TN>
    E const & operator<<( E const & x,
        tuple<
            error_info<Tag1,T1>,
            ...,
            error_info<TagN,TN> > const & v );
    }

& #35;включают<boost/ Exception/enable_error_info.hpp>include <boost/exception/enable_error_info.hpp>[ORIG_END] -->

#include <boost/exception/exception.hpp>
namespace
boost
    {
    template <class T>
    ---unspecified--- enable_error_info( T const & x );
    }

& #35;включают<boost/ Exception/diagnostic_information.hpp>include <boost/exception/diagnostic_information.hpp>[ORIG_END] -->

#include <string>
namespace
boost
    {
    class exception;
    template <class E>
    std::string diagnostic_information( E const & e, bool verbose=true );
    
    std::string diagnostic_information( exception_ptr const & p, bool verbose=true );    
    
    char const * diagnostic_information_what( boost::exception const & e, bool verbose=true ) throw();    
    
    std::string current_exception_diagnostic_information();
    }

& #35;включают<boost/ Exception/current_ Exception_cast.hpp>include <boost/exception/current_exception_cast.hpp>[ORIG_END] -->

namespace
boost
    {
    template <class E>
    E * current_exception_cast();
    }

& #35;включают<boost/ Exception_ptr.hpp>include <boost/exception_ptr.hpp>[ORIG_END] -->

#include <boost/exception/exception.hpp>
namespace
boost
    {
    class
    unknown_exception:
        public std::exception
        public boost::exception
        {
        ---unspecified---
        };    
    
    typedef error_info<struct tag_original_exception_type,std::type_info const *> original_exception_type;    
    
    typedef ---unspecified--- exception_ptr;    
    
    template <class T>
    exception_ptr copy_exception( T const & e );    
    
    exception_ptr current_exception();    
    
    void rethrow_exception( exception_ptr const & ep );
    }

& #35;включают<boost/ Exception/enable_current_ Exception.hpp>include <boost/exception/enable_current_exception.hpp>[ORIG_END] -->

#include <boost/exception/exception.hpp>
namespace
boost
    {
    template <class T>
    ---unspecified--- enable_current_exception( T const & e );
    }

& #35;включают<boost/throw_ Exception.hpp>include <boost/throw_exception.hpp>[ORIG_END] -->

#if !defined( BOOST_EXCEPTION_DISABLE ) #include <boost/exception/exception.hpp> #include <boost/current_function.hpp> #define BOOST_THROW_EXCEPTION(x)\ ::boost::throw_exception( ::boost::enable_error_info(x) <<\ ::boost::throw_function(BOOST_THROW_EXCEPTION_CURRENT_FUNCTION) <<\ ::boost::throw_file(__FILE__) <<\ ::boost::throw_line((int)__LINE__) ) #else #define BOOST_THROW_EXCEPTION(x) ::boost::throw_exception(x) #endif namespace boost { #ifdef BOOST_NO_EXCEPTIONS void throw_exception( std::exception const & e ); // user defined #else template <class E> void throw_exception( E const & e ); #endif }

& #35;включают<boost/ Exception/errinfo_api_function.hpp>include <boost/exception/errinfo_api_function.hpp>[ORIG_END] -->

#include <boost/exception/error_info.hpp>
namespace
boost
    {
    typedef error_info<struct errinfo_api_function_,char const *> errinfo_api_function;
    }

& #35;включают<boost/ Exception/errinfo_at_line.hpp>include <boost/exception/errinfo_at_line.hpp>[ORIG_END] -->

#include <boost/exception/error_info.hpp>
namespace
boost
    {
    typedef error_info<struct errinfo_at_line_,int> errinfo_at_line;
    }

& #35;включают<boost/ Exception/errinfo_errno.hpp>include <boost/exception/errinfo_errno.hpp>[ORIG_END] -->

#include <boost/exception/error_info.hpp>
#include <errno.h>
namespace
boost
    {
    typedef error_info<struct errinfo_errno_,int> errinfo_errno;
    }

& #35;включают<boost/ Exception/errinfo_file_handle.hpp>include <boost/exception/errinfo_file_handle.hpp>[ORIG_END] -->

#include <boost/exception/error_info.hpp>
namespace
boost
    {
    template <class> class weak_ptr;
    typedef error_info<struct errinfo_file_handle_,weak_ptr<FILE> > errinfo_file_handle;
    }

& #35;включают<boost/ Exception/errinfo_file_name.hpp>include <boost/exception/errinfo_file_name.hpp>[ORIG_END] -->

#include <boost/exception/error_info.hpp>
#include <string>
namespace
boost
    {
    typedef error_info<struct errinfo_file_name_,std::string> errinfo_file_name;
    }

& #35;включают<boost/ Exception/errinfo_file_open_mode.hpp>include <boost/exception/errinfo_file_open_mode.hpp>[ORIG_END] -->

#include <boost/exception/error_info.hpp>
#include <string>
namespace
boost
    {
    typedef error_info<struct errinfo_file_open_mode_,std::string> errinfo_file_open_mode;
    }

& #35;включают<boost/ Exception/errinfo_nested_ Exception.hpp>include <boost/exception/errinfo_nested_exception.hpp>[ORIG_END] -->

#include <boost/exception/error_info.hpp>
namespace
boost
    {
    typedef ---unspecified--- exception_ptr;
    typedef error_info<struct errinfo_nested_exception_,exception_ptr> errinfo_nested_exception;
    }

& #35;включают<boost/ Exception/errinfo_type_info_name.hpp>include <boost/exception/errinfo_type_info_name.hpp>[ORIG_END] -->

#include <boost/exception/error_info.hpp>
#include <string>
namespace
boost
    {
    typedef error_info<struct errinfo_type_info_name_,std::string> errinfo_type_info_name;
    }

#включают<boost/ Exception/all.hpp>include <boost/exception/all.hpp>[ORIG_END] -->


See also: Boost Exception

Статья Synopsis раздела может быть полезна для разработчиков на c++ и boost.




Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.



:: Главная :: ::


реклама


©KANSoftWare (разработка программного обеспечения, создание программ, создание интерактивных сайтов), 2007
Top.Mail.Ru

Время компиляции файла: 2024-08-30 11:47:00
2025-05-20 01:14:57/0.02804708480835/1