Flow123d
JS_before_hm-1804-gf2ad740aa
|
Go to the documentation of this file.
30 THROW( ExcStorageTypeMismatch() << EI_RequestedType(
"int") << EI_StoredType(
typeid(*this).name()) );
37 THROW( ExcStorageTypeMismatch() << EI_RequestedType(
"double") << EI_StoredType(
typeid(*this).name()) );
44 THROW( ExcStorageTypeMismatch() << EI_RequestedType(
"bool") << EI_StoredType(
typeid(*this).name()) );
51 THROW( ExcStorageTypeMismatch() << EI_RequestedType(
"string") << EI_StoredType(
typeid(*this).name()) );
52 #pragma GCC diagnostic push
53 #pragma GCC diagnostic ignored "-Wreturn-local-addr"
55 #pragma GCC diagnostic pop
61 THROW( ExcStorageTypeMismatch() << EI_RequestedType(
"array") << EI_StoredType(
typeid(*this).name()) );
67 THROW( ExcStorageTypeMismatch() << EI_RequestedType(
"array") << EI_StoredType(
typeid(*this).name()) );
80 THROW( ExcStorageTypeMismatch() << EI_RequestedType(
"array") << EI_StoredType(
typeid(*this).name()) );
101 for(
unsigned int i=0; i<
array_.size(); i++)
109 ASSERT(
array_[index] == NULL )(index).error(
"Can not replace non NULL pointer.");
143 stream << setw(
pad) <<
"" <<
"array(" << this->
get_array_size() <<
")" << std::endl;
151 if (*
it != NULL)
delete (*it);
181 stream << setw(
pad) <<
"" <<
"bool(" <<
value_ <<
")"<<std::endl;
215 stream << setw(
pad) <<
"" <<
"int(" <<
value_ <<
")"<<std::endl;
250 stream << setw(
pad) <<
"" <<
"double(" <<
value_ <<
")"<<std::endl;
286 stream << setw(
pad) <<
"" <<
"string(" <<
value_ <<
")"<<std::endl;
312 stream << setw(
pad) <<
"" <<
"null()"<<std::endl;
#define ASSERT(expr)
Allow use shorter versions of macro names if these names is not used with external library.
static constexpr bool value
#define THROW(whole_exception_expr)
Wrapper for throw. Saves the throwing point.
#define ASSERT_LT(a, b)
Definition of comparative assert macro (Less Than)
Global macros to enhance readability and debugging, general constants.
#define ASSERT_PTR(ptr)
Definition of assert macro checking non-null pointer (PTR)
IntFormatSpec< int, AlignTypeSpec< TYPE_CODE >, Char > pad(int value, unsigned width, Char fill=' ')