Logo Search packages:      
Sourcecode: poco version File versions  Download package

Poco::Any Class Reference

#include <Any.h>

Collaboration diagram for Poco::Any:

List of all members.

Classes

class  Holder
class  Placeholder

Public Member Functions

template<typename ValueType >
 Any (const ValueType &value)
 Any (const Any &other)
bool empty () const
 returns true if the Any is empty
template<typename ValueType >
Anyoperator= (const ValueType &rhs)
Anyoperator= (const Any &rhs)
 Assignment operator for Any.
Anyswap (Any &rhs)
 Swaps the content of the two Anys.
const std::type_info & type () const

Private Attributes

Placeholder_content

Friends

template<typename ValueType >
ValueType * AnyCast (Any *)
template<typename ValueType >
ValueType * UnsafeAnyCast (Any *)

Detailed Description

An Any class represents a general type and is capable of storing any type, supporting type-safe extraction of the internally stored data.

Code taken from the Boost 1.33.1 library. Original copyright by Kevlin Henney. Modified for Poco by Applied Informatics.

Definition at line 49 of file Any.h.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index