Adobe Source Libraries 1.49.0
A collection of C++ libraries.
Loading...
Searching...
No Matches

"Handle" class used in poly<copyable> implementation. More...

#include <poly_copyable.hpp>

Inheritance diagram for copyable:
poly_base< poly_copyable_interface, poly_copyable_instance > poly< copyable >

Public Types

typedef poly_base< poly_copyable_interface, poly_copyable_instancebase_t
Public Types inherited from poly_base< poly_copyable_interface, poly_copyable_instance >
typedef poly_copyable_interface interface_type

Public Member Functions

template<typename T>
 copyable (const T &s)
 copyable (move_from< copyable > x)
Public Member Functions inherited from poly_base< poly_copyable_interface, poly_copyable_instance >
 poly_base (T x, typename boost::disable_if< std::is_base_of< poly_base, T > >::type *=0)
 poly_base (const poly_base< J, K > &x, typename boost::enable_if< is_base_derived_or_same< poly_copyable_interface, J > >::type *=0)
 poly_base (const poly_base &x)
 poly_base (poly_base &&x)
poly_baseoperator= (poly_base x)
 ~poly_base ()
bool is_dynamic_convertible_to () const
const std::type_info & type_info () const
const T & cast () const
T & cast ()
bool cast (T &x) const
poly_baseassign (const T &x)
boost::enable_if< is_base_derived_or_same< poly_copyable_interface, J > >::type assign (const poly_base< J, K > &x)
const interface_typeoperator-> () const
interface_typeoperator-> ()
interface_typeinterface_ref ()
const interface_typeinterface_ref () const
void * storage ()
const void * storage () const

Additional Inherited Members

Static Public Member Functions inherited from poly_base< poly_copyable_interface, poly_copyable_instance >
static bool is_dynamic_convertible_from (const poly_base< J, K > &x)
Public Attributes inherited from poly_base< poly_copyable_interface, poly_copyable_instance >
implementation::storage_t data_m

Detailed Description

Member Typedef Documentation

◆ base_t

Constructor & Destructor Documentation

◆ copyable() [1/2]

template<typename T>
copyable ( const T & s)
explicit

Construct from concrete copyable

Definition at line 73 of file poly_copyable.hpp.

◆ copyable() [2/2]

copyable ( move_from< copyable > x)

Move constructor

Definition at line 78 of file poly_copyable.hpp.