ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDTools
SampleHandler
SampleHandler
DiskListLocal.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
#ifndef SAMPLE_HANDLER__DISK_LIST_LOCAL_H
8
#define SAMPLE_HANDLER__DISK_LIST_LOCAL_H
9
10
#include <
SampleHandler/Global.h
>
11
12
#include <string>
13
#include <
SampleHandler/DiskList.h
>
14
15
namespace
SH
16
{
18
class
DiskListLocal
:
public
DiskList
19
{
20
//
21
// public interface
22
//
23
28
public
:
29
void
testInvariant
()
const
;
30
31
39
public
:
40
DiskListLocal
(
const
std::string& val_dir);
41
42
57
public
:
58
DiskListLocal
(
const
std::string& val_dir,
const
std::string& val_prefix);
59
60
65
public
:
66
virtual
~DiskListLocal
();
67
68
69
70
//
71
// inherited interface
72
//
73
75
protected
:
76
virtual
bool
getNext
();
77
78
80
protected
:
81
virtual
std::string
getPath
()
const
;
82
83
85
protected
:
86
virtual
DiskList
*
doOpenDir
()
const
;
87
88
90
protected
:
91
virtual
std::string
getDirname
()
const
;
92
93
94
95
//
96
// private interface
97
//
98
100
private
:
101
std::string
m_dir
;
102
104
private
:
105
std::string
m_prefix
;
106
108
private
:
109
void
*
m_dirp
;
110
112
private
:
113
std::string
m_file
;
114
};
115
}
116
117
#endif
Global.h
DiskList.h
SH::DiskListLocal::m_prefix
std::string m_prefix
the directory from with to read actual files
Definition
DiskListLocal.h:105
SH::DiskListLocal::getDirname
virtual std::string getDirname() const
the base path for the directory listed
Definition
DiskListLocal.cxx:118
SH::DiskListLocal::m_dir
std::string m_dir
the directory we are reading
Definition
DiskListLocal.h:101
SH::DiskListLocal::testInvariant
void testInvariant() const
test the invariant of this object
Definition
DiskListLocal.cxx:25
SH::DiskListLocal::getPath
virtual std::string getPath() const
the path for the current entry.
Definition
DiskListLocal.cxx:94
SH::DiskListLocal::doOpenDir
virtual DiskList * doOpenDir() const
make a new list object for the sub-directory
Definition
DiskListLocal.cxx:103
SH::DiskListLocal::m_dirp
void * m_dirp
the directory pointer used
Definition
DiskListLocal.h:109
SH::DiskListLocal::~DiskListLocal
virtual ~DiskListLocal()
standard destructor
Definition
DiskListLocal.cxx:50
SH::DiskListLocal::DiskListLocal
DiskListLocal(const std::string &val_dir)
make the listing for the given directory
Definition
DiskListLocal.cxx:32
SH::DiskListLocal::m_file
std::string m_file
the file we last fetched
Definition
DiskListLocal.h:113
SH::DiskListLocal::getNext
virtual bool getNext()
get the next list entry
Definition
DiskListLocal.cxx:64
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