flags: Provide an object for managing boolean flags for an object.
authorNathan Binkert <nate@binkert.org>
Mon, 10 Nov 2008 19:51:17 +0000 (11:51 -0800)
committerNathan Binkert <nate@binkert.org>
Mon, 10 Nov 2008 19:51:17 +0000 (11:51 -0800)
commit2dd699ed3d31b5aee8fbb88948c4ea6083b1c8b0
treea38576d57239e66b18f9079bbe1387e05f9fee19
parent194f0310d3bad34f94f66289946f9d34f00d33e4
flags: Provide an object for managing boolean flags for an object.
In many cases it might be preferable to use bitset, but this object
allows the user more easily manipulate groups of flags because the
underlying type (e.g. uint64_t) is exposed.
src/base/flags.hh [new file with mode: 0644]