#include <any.h>
|
std::ostream & | operator<< (std::ostream &out, const any &any_val) |
|
template<typename T >
cvflann::any::any |
( |
const T & |
x | ) |
|
|
inline |
Initializing constructor.
cvflann::any::any |
( |
const char * |
x | ) |
|
|
inline |
Special initializing constructor for string literals.
cvflann::any::any |
( |
const any & |
x | ) |
|
|
inline |
any& cvflann::any::assign |
( |
const any & |
x | ) |
|
|
inline |
Assignment function from another any.
template<typename T >
any& cvflann::any::assign |
( |
const T & |
x | ) |
|
|
inline |
template<typename T >
T& cvflann::any::cast |
( |
| ) |
|
|
inline |
Cast operator. You can only cast to the original type.
template<typename T >
const T& cvflann::any::cast |
( |
| ) |
const |
|
inline |
Cast operator. You can only cast to the original type.
bool cvflann::any::compatible |
( |
const any & |
x | ) |
const |
|
inline |
Returns true if the two types are the same.
bool cvflann::any::empty |
( |
| ) |
const |
|
inline |
Returns true if the any contains no value.
template<typename T >
bool cvflann::any::has_type |
( |
| ) |
|
|
inline |
Returns if the type is compatible with the policy.
template<typename T >
any& cvflann::any::operator= |
( |
const T & |
x | ) |
|
|
inline |
any& cvflann::any::operator= |
( |
const char * |
x | ) |
|
|
inline |
Assignment operator, specialed for literal strings. They have types like const char [6] which don't work as expected.
void cvflann::any::reset |
( |
| ) |
|
|
inline |
Frees any allocated memory, and sets the value to NULL.
any& cvflann::any::swap |
( |
any & |
x | ) |
|
|
inline |
const std::type_info& cvflann::any::type |
( |
| ) |
const |
|
inline |
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const any & |
any_val |
|
) |
| |
|
friend |
The documentation for this struct was generated from the following file: