block_if_data->addLine("ARMARX_CHECK_AND_THROW("+cppAccessor+nextEl()+"rows() == "+dims+".at(0) and "+cppAccessor+nextEl()+"cols() == "+dims+".at(1), ::armarx::aron::error::AronException(__PRETTY_FUNCTION__, \"Received wrong dimensions for member '"+cppAccessor+"'.\"));");
block_if_data->addLine("ARMARX_CHECK_AND_THROW("+type+" == \""+std::get<0>(ElementType2Cpp.at(this->type.getElementType()))+"\", ::armarx::aron::error::AronException(__PRETTY_FUNCTION__, \"Received wrong type for member '"+cppAccessor+"'.\"));");