# Poco

# template < typename T >

# class DynamicAnyHolderImpl

Library: Foundation
Package: Core
Header: Poco/DynamicAnyHolder.h

## Description

Template based implementation of a DynamicAnyHolder. Conversion work happens in the template specializations of this class.

DynamicAny can be used for any type for which a specialization for DynamicAnyHolderImpl is available.

DynamicAnyHolderImpl throws following exceptions: NotImplementedException (if the specialization for a type does not exist) RangeException (if an attempt is made to assign a numeric value outside of the target min/max limits SyntaxException (if an attempt is made to convert a string containing non-numeric characters to number)

All specializations must additionally implement a public member function:

    const T& value() const

returning a const reference to the actual stored value.

## Inheritance

Direct Base Classes: DynamicAnyHolder

All Base Classes: DynamicAnyHolder

## Member Summary

Member Functions: clone, convert, isArray, isInteger, isNumeric, isSigned, isString, type

Inherited Functions: clone, convert, convertSignedFloatToUnsigned, convertSignedToUnsigned, convertToSmaller, convertToSmallerUnsigned, convertUnsignedToSigned, isArray, isInteger, isNumeric, isSigned, isString, type

## Constructors

### DynamicAnyHolderImpl

DynamicAnyHolderImpl();

## Destructor

### ~DynamicAnyHolderImpl

~DynamicAnyHolderImpl();

## Member Functions

### clone

DynamicAnyHolder * clone() const;

See also: Poco::DynamicAnyHolder::clone()

### convert

void convert(
Int8 & param88
) const;

See also: Poco::DynamicAnyHolder::convert()

### convert

void convert(
Int16 & param89
) const;

See also: Poco::DynamicAnyHolder::convert()

### convert

void convert(
Int32 & param90
) const;

See also: Poco::DynamicAnyHolder::convert()

### convert

void convert(
Int64 & param91
) const;

See also: Poco::DynamicAnyHolder::convert()

### convert

void convert(
UInt8 & param92
) const;

See also: Poco::DynamicAnyHolder::convert()

### convert

void convert(
UInt16 & param93
) const;

See also: Poco::DynamicAnyHolder::convert()

### convert

void convert(
UInt32 & param94
) const;

See also: Poco::DynamicAnyHolder::convert()

### convert

void convert(
UInt64 & param95
) const;

See also: Poco::DynamicAnyHolder::convert()

### convert

void convert(
bool & param96
) const;

See also: Poco::DynamicAnyHolder::convert()

### convert

void convert(
float & param97
) const;

See also: Poco::DynamicAnyHolder::convert()

### convert

void convert(
double & param98
) const;

See also: Poco::DynamicAnyHolder::convert()

### convert

void convert(
char & param99
) const;

See also: Poco::DynamicAnyHolder::convert()

### convert

void convert(
std::string & param100
) const;

See also: Poco::DynamicAnyHolder::convert()

### convert

void convert(
DateTime & param101
) const;

See also: Poco::DynamicAnyHolder::convert()

### convert

void convert(
LocalDateTime & param102
) const;

See also: Poco::DynamicAnyHolder::convert()

### convert

void convert(
Timestamp & param103
) const;

See also: Poco::DynamicAnyHolder::convert()

### isArray

bool isArray() const;

See also: Poco::DynamicAnyHolder::isArray()

### isInteger

bool isInteger() const;

See also: Poco::DynamicAnyHolder::isInteger()

### isNumeric

bool isNumeric() const;

See also: Poco::DynamicAnyHolder::isNumeric()

### isSigned

bool isSigned() const;

See also: Poco::DynamicAnyHolder::isSigned()

### isString

bool isString() const;

See also: Poco::DynamicAnyHolder::isString()

### type

const std::type_info & type() const;

See also: Poco::DynamicAnyHolder::type()