output.hh (4085:4df21265d806) | output.hh (7460:41550bb10e08) |
---|---|
1/* 2 * Copyright (c) 2004-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; --- 28 unchanged lines hidden (view full) --- 37 38namespace Stats { 39 40struct Output : public Visit 41{ 42 inline void operator()() { output(); } 43 virtual void output() = 0; 44 virtual bool valid() const = 0; | 1/* 2 * Copyright (c) 2004-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; --- 28 unchanged lines hidden (view full) --- 37 38namespace Stats { 39 40struct Output : public Visit 41{ 42 inline void operator()() { output(); } 43 virtual void output() = 0; 44 virtual bool valid() const = 0; |
45 virtual void event(const std::string &event) = 0; | |
46}; 47 48/* namespace Stats */ } 49 50#endif // __BASE_STATS_OUTPUT_HH__ | 45}; 46 47/* namespace Stats */ } 48 49#endif // __BASE_STATS_OUTPUT_HH__ |