The Gaudi Framework  master (37c0b60a)
Iterator.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #ifndef JOBOPTIONSVC_ITERATOR_H_
12 #define JOBOPTIONSVC_ITERATOR_H_
13 // ============================================================================
14 // Includes:
15 // ============================================================================
16 // STD & STL
17 // ============================================================================
18 #include <fstream>
19 // ============================================================================
20 // Boost:
21 // ============================================================================
22 
23 #include <boost/spirit/include/classic_position_iterator.hpp>
24 #include <boost/spirit/include/support_multi_pass.hpp>
25 // ============================================================================
26 typedef std::string::const_iterator BaseIterator;
27 typedef boost::spirit::multi_pass<BaseIterator> ForwardIterator;
28 typedef boost::spirit::classic::position_iterator2<ForwardIterator> Iterator;
29 typedef boost::spirit::classic::file_position_base<std::string> IteratorPosition;
30 // ============================================================================
31 #endif
BaseIterator
std::string::const_iterator BaseIterator
Definition: Iterator.h:26
IteratorPosition
boost::spirit::classic::file_position_base< std::string > IteratorPosition
Definition: Iterator.h:29
ForwardIterator
boost::spirit::multi_pass< BaseIterator > ForwardIterator
Definition: Iterator.h:27
Iterator
boost::spirit::classic::position_iterator2< ForwardIterator > Iterator
Definition: Iterator.h:28