stlab.adobe.com Adobe Systems Incorporated

Classes

struct  copyable
 
struct  optimized_storage_type< ConcreteType, Interface >
 
class  poly< F >
 
struct  poly_base< I, Instance >
 
struct  poly_copyable_instance< T >
 
struct  poly_copyable_interface
 
struct  poly_regular_instance< T >
 
struct  poly_regular_interface
 
struct  regular
 

Functions

template<class T >
bool operator!= (const poly< T > &x, const poly< T > &y)
 
template<class J , template< typename > class K>
boost::enable_if< implementation::has_equals< J >, bool >::type operator== (const poly_base< J, K > &x, const poly_base< J, K > &y)
 
template<typename T , typename U >
poly_cast (poly< U > &x)
 
template<typename T , typename U >
poly_cast (const poly< U > &x)
 
template<typename T , typename U >
poly_cast (poly< U > *x)
 
template<typename T , typename U >
poly_cast (const poly< U > *x)
 

Detailed Description

Function Documentation

◆ operator!=()

bool adobe::operator!= ( const poly< T > &  x,
const poly< T > &  y 
)

inequality comparison

Definition at line 534 of file poly.hpp.

◆ operator==()

boost::enable_if<implementation::has_equals<J>, bool>::type adobe::operator== ( const poly_base< J, K > &  x,
const poly_base< J, K > &  y 
)

Definition at line 397 of file poly.hpp.

◆ poly_cast() [1/4]

T adobe::poly_cast ( poly< U > &  x)

Polymorphic cast from poly <U> & to T&, where T is another poly instance. Throws adobe::bad_cast if x does not dynamically model T's Concept requirement. For example,

poly<base_concept> x(....);
//...
poly<refined_concept> & y = poly_cast<poly<refined_concept&>>(x);

Definition at line 449 of file poly.hpp.

◆ poly_cast() [2/4]

T adobe::poly_cast ( const poly< U > &  x)
See also
poly_cast(poly <U>& x);

Definition at line 468 of file poly.hpp.

◆ poly_cast() [3/4]

T adobe::poly_cast ( poly< U > *  x)

Polymorphic cast from poly <U> * to T *, where T is another poly instance. Returns NULL if x does not dynamically model T's Concept requirement. For example,

poly<base_concept> *x;
//...
poly<refined_concept> * y = poly_cast<poly<refined_concept *>>(x);

Definition at line 495 of file poly.hpp.

◆ poly_cast() [4/4]

T adobe::poly_cast ( const poly< U > *  x)
See also
poly_cast(poly <U>* x);

Definition at line 515 of file poly.hpp.

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google