Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
EventFilter
Utilities
interface
DirManager.h
Go to the documentation of this file.
1
#ifndef EVFUTILITIESDIRMANAGER_H
2
#define EVFUTILITIESDIRMANAGER_H
3
4
#include <sys/types.h>
5
#include <dirent.h>
6
7
#include <string>
8
9
#include <stdlib.h>
10
11
namespace
evf{
12
13
class
DirManager
{
14
15
public
:
16
DirManager
(
std::string
&
d
) :
dir_
(d) {}
17
virtual
~DirManager
(){}
18
unsigned
int
findHighestRun
();
19
std::string
findHighestRunDir
();
20
std::string
findRunDir
(
unsigned
int
);
21
bool
checkDirEmpty
(
std::string
&);
22
private
:
23
std::string
dir_
;
// this is the base dir with all runs in it
24
};
25
26
}
27
#endif
evf::DirManager::checkDirEmpty
bool checkDirEmpty(std::string &)
Definition:
DirManager.cc:53
evf::DirManager::findHighestRun
unsigned int findHighestRun()
Definition:
DirManager.cc:7
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
ztail.d
tuple d
Definition:
ztail.py:151
evf::DirManager
Definition:
DirManager.h:13
evf::DirManager::dir_
std::string dir_
Definition:
DirManager.h:23
evf::DirManager::findHighestRunDir
std::string findHighestRunDir()
Definition:
DirManager.cc:20
evf::DirManager::findRunDir
std::string findRunDir(unsigned int)
Definition:
DirManager.cc:37
evf::DirManager::~DirManager
virtual ~DirManager()
Definition:
DirManager.h:17
evf::DirManager::DirManager
DirManager(std::string &d)
Definition:
DirManager.h:16
Generated for CMSSW Reference Manual by
1.8.5