00001 // 00002 // ParseAction.cpp 00003 // ------------------- 00004 // begin : Tue Apr 9 2002 00005 // copyright : (C) 2002 by Rob Renaud 00006 // email : rrenaud@eden.rutgers.edu 00007 // 00008 // This program is free software; you can redistribute it and/or modify 00009 // it under the terms of the GNU General Public License as published by 00010 // the Free Software Foundation; either version 2 of the License, or 00011 // (at your option) any later version. 00012 // 00013 00014 #include "ParseAction.h" 00015 00016 using namespace Parse; 00017 00018 OptionWasRead::OptionWasRead(bool& v) : 00019 trueIfCalled(v) 00020 { } 00021 00022 void OptionWasRead::getValue(std::istream& in) { 00023 trueIfCalled = true; 00024 } 00025 00026
1.2.12 written by Dimitri van Heesch,
© 1997-2001