The Gaudi Framework  master (37c0b60a)
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( std::string_view filename ) const;
33  bool GetPosition( std::string_view filename, const Position** pos ) const;
34 
35  private:
37  };
38  // ============================================================================
39  } // namespace Parsers
40 } // namespace Gaudi
41 // ============================================================================
42 #endif // JOBOPTIONSVC_INCLUDED_FILES_H_
std::string
STL class.
Gaudi::Parsers::IncludedFiles::AddFile
bool AddFile(std::string filename, Position from)
Definition: IncludedFiles.cpp:25
Gaudi::Parsers::IncludedFiles::GetPosition
bool GetPosition(std::string_view filename, const Position **pos) const
Definition: IncludedFiles.cpp:29
Gaudi::Parsers::IncludedFiles::container_
Container container_
Definition: IncludedFiles.h:36
Gaudi::Parsers::Position
Definition: Position.h:23
std::map
STL class.
Gaudi
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition: __init__.py:1
Gaudi::Parsers::IncludedFiles
Definition: IncludedFiles.h:26
Gaudi::Parsers::IncludedFiles::Container
std::map< std::string, Position, std::less<> > Container
Definition: IncludedFiles.h:28
Gaudi::Parsers::IncludedFiles::IsIncluded
bool IsIncluded(std::string_view filename) const
Definition: IncludedFiles.cpp:21
graphanalysis.filename
filename
Definition: graphanalysis.py:130