-/* $Id$
-
-This file is part of libmspio
-Copyright © 2008 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
#ifndef MSP_IO_FILTERED_H_
#define MSP_IO_FILTERED_H_
{
Filtered &f;
- Activator(Filtered &f_): f(f_) { f.active=true; }
- ~Activator() { f.active=false; }
+ Activator(Filtered &f_): f(f_) { f.active = true; }
+ ~Activator() { f.active = false; }
};
F filter;
public:
Filtered(): filter(*this), active(false) { }
- ~Filtered() { active=true; }
+ ~Filtered() { active = true; }
template<typename A0>
Filtered(A0 a0): B(a0), filter(*this), active(false) { }