Adobe Source Libraries
1.49.0
A collection of C++ libraries.
Loading...
Searching...
No Matches
typeinfo.hpp
Go to the documentation of this file.
1
/*
2
Copyright 2013 Adobe
3
Distributed under the Boost Software License, Version 1.0.
4
(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
*/
6
/**************************************************************************************************/
7
8
#ifndef ADOBE_TYPEINFO_HPP
9
#define ADOBE_TYPEINFO_HPP
10
11
/**************************************************************************************************/
12
13
#include <
adobe/config.hpp
>
14
15
#include <string>
16
#include <typeinfo>
17
18
/**************************************************************************************************/
19
20
namespace
adobe
{
21
22
/**************************************************************************************************/
23
33
class
bad_cast
:
public
std::bad_cast {
34
public
:
35
bad_cast
();
36
bad_cast
(
const
std::type_info& from,
const
std::type_info& to);
37
bad_cast
(
const
bad_cast
&);
38
bad_cast
&
operator=
(
const
bad_cast
&);
39
virtual
~bad_cast
() throw();
47
const
char
*
what
() const throw();
48
49
private:
50
std
::
string
what_m;
51
};
52
53
/**************************************************************************************************/
54
55
}
// namespace adobe
56
57
/**************************************************************************************************/
58
59
60
#endif
61
62
/**************************************************************************************************/
adobe::bad_cast::bad_cast
bad_cast(const std::type_info &from, const std::type_info &to)
adobe::bad_cast::bad_cast
bad_cast()
adobe::bad_cast::what
const char * what() const
adobe::bad_cast::bad_cast
bad_cast(const bad_cast &)
adobe::bad_cast::~bad_cast
virtual ~bad_cast()
adobe::bad_cast::operator=
bad_cast & operator=(const bad_cast &)
config.hpp
adobe
Definition
class_template.hpp:7
std
STL namespace.
adobe
typeinfo.hpp
Generated by
1.14.0