11 #ifndef __BITSETTING_H__
12 #define __BITSETTING_H__
34 std::ostream&
operator<<(std::ostream& os,
const std::vector<BitSetting>& bits);
43 template<
typename INTEGRAL>
44 std::vector<BitSetting>&
push_back_int(std::vector<BitSetting>& v,
const INTEGRAL& value,
int num_bits) {
45 for (
int ibit = num_bits; ibit != 0; --ibit) {
51 template<
typename INTEGRAL>
53 std::vector<BitSetting> result;
63 void add(std::vector<BitSetting> bitsetting,
int cycle) {
75 const std::vector<BitSetting>&
operator[](
int cycle)
const {