The Gaudi Framework  v40r0 (475e45c1)
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 #pragma once
12 
13 #include <map>
14 #include <string>
15 #include <string_view>
16 
17 namespace Gaudi {
18  namespace Parsers {
19  class Position;
20  class IncludedFiles {
21  public:
22  typedef std::map<std::string, Position, std::less<>> Container;
23 
24  public:
25  bool AddFile( std::string filename, Position from );
26  bool IsIncluded( std::string_view filename ) const;
27  bool GetPosition( std::string_view filename, const Position** pos ) const;
28 
29  private:
31  };
32  } // namespace Parsers
33 } // namespace Gaudi
Gaudi::Parsers::IncludedFiles::AddFile
bool AddFile(std::string filename, Position from)
Definition: IncludedFiles.cpp:20
Gaudi::Parsers::IncludedFiles::GetPosition
bool GetPosition(std::string_view filename, const Position **pos) const
Definition: IncludedFiles.cpp:23
Gaudi::Parsers::IncludedFiles::container_
Container container_
Definition: IncludedFiles.h:30
Gaudi::Parsers::Position
Definition: Position.h:17
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:20
Gaudi::Parsers::IncludedFiles::Container
std::map< std::string, Position, std::less<> > Container
Definition: IncludedFiles.h:22
Gaudi::Parsers::IncludedFiles::IsIncluded
bool IsIncluded(std::string_view filename) const
Definition: IncludedFiles.cpp:17
graphanalysis.filename
filename
Definition: graphanalysis.py:130