PLearn 0.1
|
Go to the source code of this file.
Namespaces | |
namespace | PLearn |
< for swap | |
Typedefs | |
typedef boost::is_convertible < int, int >::type | PLearn::boost_true_type |
typedef boost::is_convertible < void, int >::type | PLearn::boost_false_type |
Functions | |
template<class T > | |
bool | PLearn::isConvertibleToObjectPtr (const T &) |
Return true if toObjectPtr() or toIndexedObjectPtr would succeed. | |
template<class T > | |
bool | PLearn::isConvertibleToObjectPtr (const PP< T > &x) |
template<class T > | |
bool | PLearn::isConvertibleToObjectPtr (const Array< T > &x) |
template<class T > | |
bool | PLearn::isConvertibleToObjectPtr (const TVec< T > &x) |
template<class T > | |
bool | PLearn::isConvertibleToObjectPtr (const Array< PP< T > > &x) |
template<class T > | |
bool | PLearn::isConvertibleToObjectPtr (const TVec< PP< T > > &x) |
template<class T > | |
int | PLearn::indexableObjectSize (const T &x) |
Return 0 if the object is not indexable; otherwise, return one more than the maximum index allowed by toIndexedObjectPtr() ; in other words, return the equivalent of the size() accessor on a vector. | |
template<class T > | |
int | PLearn::indexableObjectSize (const Array< T > &x) |
template<class T > | |
int | PLearn::indexableObjectSize (const TVec< T > &x) |
template<class T > | |
Object * | PLearn::toObjectPtrImpl (const T &, const boost_false_type &) |
template<class T > | |
Object * | PLearn::toObjectPtrImpl (const T &x, const boost_true_type &) |
template<class T > | |
Object * | PLearn::toObjectPtr (const T &x) |
Attempt to return a pointer to Object (or an error if the passed argument cannot be considered an Object subclass) | |
template<class T > | |
Object * | PLearn::toObjectPtr (const PP< T > &x) |
template<class T > | |
Object * | PLearn::toIndexedObjectPtr (const Array< T > &x, int i) |
Return the Object* at index i of an Array or TVec . | |
template<class T > | |
Object * | PLearn::toIndexedObjectPtr (const TVec< T > &x, int i) |
template<class T > | |
Object * | PLearn::toIndexedObjectPtr (const T &, int) |
Definition in file ObjectConversions.h.