debug.cc (8232:b28d06a175be) debug.cc (8269:5a9a639ce16f)
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 87 unchanged lines hidden (view full) ---

96{
97 // should find and remove flag.
98}
99
100void
101CompoundFlag::enable()
102{
103 SimpleFlag::enable();
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 87 unchanged lines hidden (view full) ---

96{
97 // should find and remove flag.
98}
99
100void
101CompoundFlag::enable()
102{
103 SimpleFlag::enable();
104 for_each(flags.begin(), flags.end(), mem_fun(&Flag::enable));
104 for_each(_kids.begin(), _kids.end(), mem_fun(&Flag::enable));
105}
106
107void
108CompoundFlag::disable()
109{
110 SimpleFlag::disable();
105}
106
107void
108CompoundFlag::disable()
109{
110 SimpleFlag::disable();
111 for_each(flags.begin(), flags.end(), mem_fun(&Flag::disable));
111 for_each(_kids.begin(), _kids.end(), mem_fun(&Flag::disable));
112}
113
114struct AllFlags : public Flag
115{
116 AllFlags()
117 : Flag("All", "All Flags")
118 {}
119

--- 66 unchanged lines hidden ---
112}
113
114struct AllFlags : public Flag
115{
116 AllFlags()
117 : Flag("All", "All Flags")
118 {}
119

--- 66 unchanged lines hidden ---