ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDTools
SampleHandler
SampleHandler
DiskListXRD.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
#ifndef SAMPLE_HANDLER__DISK_LIST_XRD_H
8
#define SAMPLE_HANDLER__DISK_LIST_XRD_H
9
10
#include <
SampleHandler/Global.h
>
11
12
#include <
SampleHandler/DiskList.h
>
13
14
namespace
SH
15
{
17
class
DiskListXRD
:
public
DiskList
18
{
19
//
20
// public interface
21
//
22
27
public
:
28
void
testInvariant
()
const
;
29
30
47
public
:
48
DiskListXRD
(
const
std::string& val_server,
const
std::string& val_dir,
49
bool
val_laxParsing =
false
);
50
51
52
53
//
54
// inherited interface
55
//
56
58
protected
:
59
virtual
bool
getNext
();
60
61
63
protected
:
64
virtual
std::string
getPath
()
const
;
65
66
68
protected
:
69
virtual
DiskList
*
doOpenDir
()
const
;
70
71
73
protected
:
74
virtual
std::string
getDirname
()
const
;
75
76
77
78
//
79
// private interface
80
//
81
83
private
:
84
std::string
m_server
;
85
87
private
:
88
std::string
m_directory
;
89
91
private
:
92
bool
m_laxParser
;
93
95
private
:
96
std::string
m_context
;
97
99
private
:
100
std::string
m_list
;
101
103
private
:
104
std::string
m_file
;
105
107
private
:
108
bool
m_isDir
=
false
;
109
111
private
:
112
bool
m_isRead
;
113
};
114
}
115
116
#endif
Global.h
DiskList.h
SH::DiskListXRD::getPath
virtual std::string getPath() const
the path for the current entry.
Definition
DiskListXRD.cxx:98
SH::DiskListXRD::doOpenDir
virtual DiskList * doOpenDir() const
make a new list object for the sub-directory
Definition
DiskListXRD.cxx:107
SH::DiskListXRD::m_server
std::string m_server
the server from which we are reading
Definition
DiskListXRD.h:84
SH::DiskListXRD::m_context
std::string m_context
the context (for error reporting)
Definition
DiskListXRD.h:96
SH::DiskListXRD::getNext
virtual bool getNext()
get the next list entry
Definition
DiskListXRD.cxx:47
SH::DiskListXRD::testInvariant
void testInvariant() const
test the invariant of this object
Definition
DiskListXRD.cxx:29
SH::DiskListXRD::m_laxParser
bool m_laxParser
whether we employ lax parsing
Definition
DiskListXRD.h:92
SH::DiskListXRD::getDirname
virtual std::string getDirname() const
the base path for the directory listed
Definition
DiskListXRD.cxx:120
SH::DiskListXRD::m_directory
std::string m_directory
the directory we are reading
Definition
DiskListXRD.h:88
SH::DiskListXRD::m_list
std::string m_list
the result of the directory listing
Definition
DiskListXRD.h:100
SH::DiskListXRD::m_isRead
bool m_isRead
whether the directory has been read
Definition
DiskListXRD.h:112
SH::DiskListXRD::DiskListXRD
DiskListXRD(const std::string &val_server, const std::string &val_dir, bool val_laxParsing=false)
make the listing for the given directory, but replacing the directory with prefix for the path
Definition
DiskListXRD.cxx:36
SH::DiskListXRD::m_isDir
bool m_isDir
whether this is a directory
Definition
DiskListXRD.h:108
SH::DiskListXRD::m_file
std::string m_file
the last file we read
Definition
DiskListXRD.h:104
SH::DiskList::DiskList
DiskList()
standard constructor
Definition
DiskList.cxx:38
SH
This module provides a lot of global definitions, forward declarations and includes that are used by ...
Definition
PrunDriver.h:15
Generated on
for ATLAS Offline Software by
1.17.0