Mark Olesen
8eddcc072a
ENH: avoid readScalar, readLabel etc from dictionary ( #762 , #1033 )
...
- use the dictionary 'get' methods instead of readScalar for
additional checking
Unchecked: readScalar(dict.lookup("key"));
Checked: dict.get<scalar>("key");
- In templated classes that also inherit from a dictionary, an additional
'template' keyword will be required. Eg,
this->coeffsDict().template get<scalar>("key");
For this common use case, the predefined getXXX shortcuts may be
useful. Eg,
this->coeffsDict().getScalar("key");
2018-10-12 08:14:47 +02:00
..
2016-11-19 21:48:48 +00:00
2018-09-21 16:01:16 +01:00
2016-12-18 21:44:25 +00:00
2018-09-21 16:01:16 +01:00
2018-08-04 00:23:18 +02:00
2017-11-05 10:58:07 +00:00
2018-10-07 17:28:11 +02:00
2018-09-21 16:01:16 +01:00
2016-12-18 21:44:25 +00:00
2016-05-28 18:58:48 +01:00
2016-06-28 19:26:23 +01:00
2018-08-04 00:23:18 +02:00
2018-08-04 00:23:18 +02:00
2018-08-04 00:23:18 +02:00
2018-10-01 13:54:10 +02:00
2018-08-04 00:23:18 +02:00
2018-10-03 13:06:31 +01:00
2018-08-04 00:23:18 +02:00
2018-08-04 00:23:18 +02:00
2016-11-03 12:11:20 +00:00
2016-12-20 23:07:16 +00:00
2018-09-21 16:01:16 +01:00
2016-12-18 21:44:25 +00:00
2018-08-04 00:23:18 +02:00
2018-08-04 00:23:18 +02:00
2016-06-28 19:26:23 +01:00
2016-11-25 12:20:07 +00:00
2016-12-18 21:44:25 +00:00
2016-12-18 21:44:25 +00:00
2017-11-05 10:58:07 +00:00
2018-09-21 16:01:16 +01:00
2018-10-12 08:14:47 +02:00
2018-08-04 00:23:18 +02:00
2018-09-21 16:01:16 +01:00
2018-08-04 00:23:18 +02:00
2018-08-04 00:23:18 +02:00
2018-09-11 12:13:19 +01:00
2018-08-04 00:23:18 +02:00
2018-08-04 00:23:18 +02:00
2018-08-04 00:23:18 +02:00
2018-09-11 12:13:19 +01:00
2018-10-01 13:54:10 +02:00
2018-08-04 00:23:18 +02:00
2018-09-21 16:01:16 +01:00
2018-08-04 00:23:18 +02:00
2018-08-04 00:23:18 +02:00
2016-11-19 21:48:48 +00:00
2018-08-04 00:23:18 +02:00
2018-08-04 00:23:18 +02:00
2018-10-12 08:14:47 +02:00
2016-12-16 20:45:13 +00:00
2018-08-10 15:43:06 +02:00
2018-05-31 17:34:16 +01:00
2018-05-30 12:03:17 +02:00
2018-05-30 12:03:17 +02:00
2018-05-30 12:03:17 +02:00
2018-05-30 12:03:17 +02:00
2018-08-04 00:23:18 +02:00
2018-10-07 17:28:11 +02:00