![]() |
VR-Link API Documentation for HLA 1.3
|
00001 00002 /****************************************************************************** 00003 * 00004 * file: IgnoreRestVisitor.h 00005 * 00006 * Copyright (c) 2003, Michael E. Smoot . 00007 * All rights reverved. 00008 * 00009 * See the file COPYING in the top directory of this distribution for 00010 * more information. 00011 * 00012 * THE SOFTWARE IS PROVIDED _AS IS_, WITHOUT WARRANTY OF ANY KIND, EXPRESS 00013 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00014 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 00015 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 00016 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 00017 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 00018 * DEALINGS IN THE SOFTWARE. 00019 * 00020 *****************************************************************************/ 00021 00022 00023 #ifndef DtCmdLine_IGNORE_REST_VISITOR_H 00024 #define DtCmdLine_IGNORE_REST_VISITOR_H 00025 00029 00030 #include "cmdVisitor.h" 00031 #include "cmdArg.h" 00032 00033 #ifdef DtUSE_UTILITIES_NAMESPACE 00034 namespace DtUSE_UTILITIES_NAMESPACE 00035 { 00036 #endif 00037 00038 namespace DtCmdLine { 00039 00044 00045 class IgnoreRestVisitor: public Visitor 00046 { 00047 public: 00048 00052 IgnoreRestVisitor() : Visitor() {} 00053 virtual ~IgnoreRestVisitor() { } 00054 00058 void visit() { Arg::beginIgnoring(); } 00059 }; 00060 00061 } 00062 00063 #ifdef DtUSE_UTILITIES_NAMESPACE 00064 } 00065 #endif 00066 00067 #endif