22 THROW( ExcStorageTypeMismatch() << EI_RequestedType(
"int") << EI_StoredType(
typeid(*this).name()) );
31 THROW( ExcStorageTypeMismatch() << EI_RequestedType(
"double") << EI_StoredType(
typeid(*this).name()) );
40 THROW( ExcStorageTypeMismatch() << EI_RequestedType(
"bool") << EI_StoredType(
typeid(*this).name()) );
49 THROW( ExcStorageTypeMismatch() << EI_RequestedType(
"string") << EI_StoredType(
typeid(*this).name()) );
58 THROW( ExcStorageTypeMismatch() << EI_RequestedType(
"array") << EI_StoredType(
typeid(*this).name()) );
71 THROW( ExcStorageTypeMismatch() << EI_RequestedType(
"array") << EI_StoredType(
typeid(*this).name()) );
92 for(
unsigned int i=0; i<
array_.size(); i++)
99 ASSERT( index <
array_.size() ,
"Index %d out of array of size: %d", index,
array_.size());
107 if ( index >=
array_.size() )
109 ASSERT(
array_[index] != NULL,
"Null pointer in storage.");
127 stream << setw(pad) <<
"" <<
"array(" << this->
get_array_size() <<
")" << std::endl;
135 if (*it != NULL)
delete (*it);
165 stream << setw(pad) <<
"" <<
"bool(" <<
value_ <<
")"<<std::endl;
199 stream << setw(pad) <<
"" <<
"int(" <<
value_ <<
")"<<std::endl;
234 stream << setw(pad) <<
"" <<
"double(" <<
value_ <<
")"<<std::endl;
270 stream << setw(pad) <<
"" <<
"string(" <<
value_ <<
")"<<std::endl;
296 stream << setw(pad) <<
"" <<
"null()"<<std::endl;