The Gaudi Framework  v33r1 (b1225454)
IncludedFiles.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_INCLUDED_FILES_H_
12 #define JOBOPTIONSVC_INCLUDED_FILES_H_
13 // ============================================================================
14 // Includes:
15 // ============================================================================
16 // STD & STL:
17 // ============================================================================
18 #include <map>
19 #include <string>
20 // ============================================================================
21 namespace Gaudi {
22  namespace Parsers {
23  // ============================================================================
24  class Position;
25  // ============================================================================
26  class IncludedFiles {
27  public:
29 
30  public:
31  bool AddFile( std::string filename, Position from );
32  bool IsIncluded( const std::string& filename ) const;
33  bool GetPosition( const std::string& filename, const Position** pos ) const;
34 
35  private:
37  };
38  // ============================================================================
39  } // namespace Parsers
40 } // namespace Gaudi
41 // ============================================================================
42 #endif // JOBOPTIONSVC_INCLUDED_FILES_H_
bool GetPosition(const std::string &filename, const Position **pos) const
bool IsIncluded(const std::string &filename) const
std::map< std::string, Position > Container
Definition: IncludedFiles.h:28
STL class.
bool AddFile(std::string filename, Position from)
Header file for std:chrono::duration-based Counters.
Definition: __init__.py:1