Crombie Tools
crombie::FileConfig::FileInfo Class Reference

Hold the necessary information for running over a single file. More...

#include <FileConfig.h>

Public Member Functions

 FileInfo ()
 Default constructor. More...
 
 FileInfo (const Type type, const std::string &dirname, const std::string &filename, const Types::strings &cuts={"1.0"})
 Set values for everything in the structure. More...
 

Public Attributes

Types::strings cuts {}
 Cuts that split this file into different processes or legend entries. More...
 
std::string dirname {}
 Directory this file is in. More...
 
std::string name {}
 The full path to the file. More...
 
unsigned long size {}
 The size of the file. Used for priority. More...
 
Type type {}
 Type of process this file is. More...
 

Detailed Description

Hold the necessary information for running over a single file.

Definition at line 55 of file FileConfig.h.

Constructor & Destructor Documentation

§ FileInfo() [1/2]

crombie::FileConfig::FileInfo::FileInfo ( )
inline

Default constructor.

Definition at line 57 of file FileConfig.h.

§ FileInfo() [2/2]

crombie::FileConfig::FileInfo::FileInfo ( const Type  type,
const std::string &  dirname,
const std::string &  filename,
const Types::strings cuts = {"1.0"} 
)
inline

Set values for everything in the structure.

Definition at line 59 of file FileConfig.h.

References CrombieTools.LoadConfig::cuts, Debug::Debug(), and crombie::FileSystem::get_size().

Member Data Documentation

§ cuts

Types::strings crombie::FileConfig::FileInfo::cuts {}

Cuts that split this file into different processes or legend entries.

Definition at line 67 of file FileConfig.h.

§ dirname

std::string crombie::FileConfig::FileInfo::dirname {}

Directory this file is in.

Definition at line 64 of file FileConfig.h.

Referenced by crombie::FileConfig::FileConfig::runfiles().

§ name

std::string crombie::FileConfig::FileInfo::name {}

The full path to the file.

Definition at line 65 of file FileConfig.h.

Referenced by crombie::FileConfig::FileConfig::runfiles(), and crombie::Lumi::SingleRunner().

§ size

unsigned long crombie::FileConfig::FileInfo::size {}

The size of the file. Used for priority.

Definition at line 66 of file FileConfig.h.

Referenced by crombie::FileConfig::operator<().

§ type

Type crombie::FileConfig::FileInfo::type {}

Type of process this file is.

Definition at line 63 of file FileConfig.h.


The documentation for this class was generated from the following file: