|
Gaudi Framework, version v21r7 |
| Home | Generated: 22 Jan 2010 |
00001 // $Id: ParseVectorsBool.cpp,v 1.4 2008/10/28 14:02:18 marcocle Exp $ 00002 // ============================================================================ 00003 // CVS tag $Name: $, version $Revision: 1.4 $ 00004 // ============================================================================ 00005 // Include files 00006 // ============================================================================ 00007 // Local 00008 // ============================================================================ 00009 #include "GaudiKernel/Parsers.icpp" 00010 // ============================================================================ 00011 00012 // ============================================================================ 00029 // ============================================================================ 00030 namespace Gaudi 00031 { 00032 namespace Parsers 00033 { 00034 // ======================================================================== 00035 StatusCode parse ( vector<bool>& result , 00036 const string& input ) 00037 { 00038 VectorGrammar<BoolGrammar> g; 00039 return parse( 00040 createIterator(input), 00041 IteratorT(), 00042 g[var(result)=arg1], 00043 SkipperGrammar()).full; 00044 } 00045 // ======================================================================== 00046 00047 } // end of namespace Parsers 00048 } // end of namespace Gaudi 00049 00050 // ============================================================================ 00051 // The END 00052 // ============================================================================ 00053 00054