DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Classes | Public Types | Public Member Functions | List of all members
dd4hep::cond::ConditionsTextRepository Class Reference

Forward declarations. More...

#include <ConditionsTextRepository.h>

Classes

class  Entry
 Definition of a single Entry in the conditions repository. More...
 

Public Types

typedef std::vector< EntryData
 Definition of the entry collection. More...
 

Public Member Functions

 ConditionsTextRepository ()
 Default constructor. More...
 
virtual ~ConditionsTextRepository ()
 Default destructor. More...
 
int save (ConditionsManager m, const std::string &output) const
 Save the textrepository to file. More...
 
int load (const std::string &input, Data &data) const
 Load the textrepository from file and fill user passed data structory. More...
 

Detailed Description

Forward declarations.

Base class to be implemented by objects to listen on condition callbacks

Author
M.Frank
Version
1.0

Definition at line 40 of file ConditionsTextRepository.h.

Member Typedef Documentation

◆ Data

Definition of the entry collection.

Definition at line 59 of file ConditionsTextRepository.h.

Constructor & Destructor Documentation

◆ ConditionsTextRepository()

ConditionsTextRepository::ConditionsTextRepository ( )

Default constructor.

Default constructor. Allocates resources.

Definition at line 40 of file ConditionsTextRepository.cpp.

◆ ~ConditionsTextRepository()

ConditionsTextRepository::~ConditionsTextRepository ( )
virtual

Default destructor.

Definition at line 44 of file ConditionsTextRepository.cpp.

Member Function Documentation

◆ load()

int ConditionsTextRepository::load ( const std::string &  input,
Data data 
) const

Load the textrepository from file and fill user passed data structory.

Load the repository from file and fill user passed data structory.

Definition at line 241 of file ConditionsTextRepository.cpp.

◆ save()

int ConditionsTextRepository::save ( ConditionsManager  m,
const std::string &  output 
) const

Save the textrepository to file.

Save the repository to file.

Write XML file with conditions addresses

Write fixed records with conditions addresses

Write fixed records with conditions addresses

Write records separated by ';' with conditions addresses

Definition at line 204 of file ConditionsTextRepository.cpp.


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