The Gaudi Framework  master (f31105fd)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
IncludedFiles.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2025 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 #include <string_view>
21 // ============================================================================
22 namespace Gaudi {
23  namespace Parsers {
24  // ============================================================================
25  class Position;
26  // ============================================================================
27  class IncludedFiles {
28  public:
30 
31  public:
32  bool AddFile( std::string filename, Position from );
33  bool IsIncluded( std::string_view filename ) const;
34  bool GetPosition( std::string_view filename, const Position** pos ) const;
35 
36  private:
38  };
39  // ============================================================================
40  } // namespace Parsers
41 } // namespace Gaudi
42 // ============================================================================
43 #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:37
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:27
Gaudi::Parsers::IncludedFiles::Container
std::map< std::string, Position, std::less<> > Container
Definition: IncludedFiles.h:29
Gaudi::Parsers::IncludedFiles::IsIncluded
bool IsIncluded(std::string_view filename) const
Definition: IncludedFiles.cpp:21
graphanalysis.filename
filename
Definition: graphanalysis.py:130