30 Commits

Author SHA1 Message Date
Anton Bachin
3ac5e84cf9 Purged out-of-date documentation. 2015-05-05 17:49:02 -04:00
Anton Bachin
216f026fe1 Converted to traits interface. 2015-05-05 17:42:20 -04:00
Anton Bachin
2895867224 Added sample with default_ trait. 2015-05-05 15:33:52 -04:00
Anton Bachin
a444bf349d Added samples. 2015-05-05 14:58:05 -04:00
Anton Bachin
b887363abd Renamed to/from_int to *_integral. 2015-05-05 14:52:57 -04:00
Anton Bachin
0a2ca77369 Simplified pp_map_gen.py and some internals. 2015-05-05 13:44:35 -04:00
Anton Bachin
8fdaa54e08 Restored separate compilation support. 2015-05-03 20:18:06 -04:00
Anton Bachin
5e9026c615 Factored out common iterator code. 2015-05-03 15:24:44 -04:00
Anton Bachin
4035284a0a Completed rename and combined former Enum.h/EnumInternal.h. 2015-05-03 15:04:04 -04:00
Anton Bachin
8d7021975c Renamed files with lowercase naming convention. 2015-05-03 15:00:28 -04:00
Anton Bachin
0a45b5c968 Slightly reorganized internal code and removed old TODOs. 2015-05-03 14:53:37 -04:00
Anton Bachin
8fcf28a5fe Made comparison operators constexpr. 2015-05-03 05:45:52 -04:00
Anton Bachin
571f1419c7 Flattened class hierarchy. 2015-05-03 05:43:29 -04:00
Anton Bachin
b0d3d3ac53 Added type name. 2015-05-03 05:11:01 -04:00
Anton Bachin
bc0bbb65d8 Added constexpr range information. 2015-05-03 05:07:24 -04:00
Anton Bachin
2992a7f45d Replaced _names() and _values() with constexpr iterables. 2015-05-02 22:52:24 -04:00
Anton Bachin
f55d2b56dc Made basic interface constexpr and made default cast checked. 2015-04-29 05:53:46 -04:00
Anton Bachin
2127b89dd4 Changed internal representation to enum instead of integer. 2015-04-29 04:01:41 -04:00
Anton Bachin
a006577374 Interface simplification - collapsed _Internal and Enum and reduced number of names in class scope. 2015-04-29 03:32:18 -04:00
Anton Bachin
c3bc7c535a Simplified iterables. 2015-04-28 06:42:26 -04:00
Anton Bachin
48e4fd73bf Added missing stdexcept include to EnumInternal.h. 2015-04-27 11:16:25 -04:00
Anton Bachin
ba380d34f3 Improved naming in public interface. 2015-04-27 11:09:36 -04:00
Anton Bachin
aab5d8c668 Explicitly deleted default constructor. 2015-04-27 10:29:04 -04:00
Anton Bachin
6aa19e9b4a Removed notions of default and bad values and all special value names (e.g. _bad). 2015-04-25 12:15:00 -04:00
Anton Bachin
91e5cb945c Additional changes (mostly std:: prefixes) to make code compile outside of HRT context. 2015-04-22 20:43:47 -04:00
Anton Bachin
4d7aea0bbd Fixed warnings related to dropping of implicit const in C++14. 2015-04-22 20:25:38 -04:00
Anton Bachin
bdd7efe48d Switched to relative paths for header files. 2015-04-22 20:24:14 -04:00
Anton Bachin
214fe36e7f Generated macros for enums with up to 256 members. 2015-04-22 20:21:38 -04:00
Anton Bachin
d0be0beff1 Initial version. 2015-04-22 20:21:07 -04:00
Anton Bachin
f54960590a .gitignore 2015-04-22 15:59:50 -04:00