ATLAS Offline Software
Public Member Functions | Public Attributes | Private Attributes | List of all members
pool::TestDriver Class Reference

#include <TestDriver.h>

Collaboration diagram for pool::TestDriver:

Public Member Functions

 TestDriver (const std::string &catname="FCO.catatlog.xml")
 
 ~TestDriver ()
 
 TestDriver (const TestDriver &)=delete
 
TestDriveroperator= (const TestDriver &)=delete
 
void loadLibraries (const std::vector< std::string > &libraries)
 
void write ()
 
void addlfns ()
 
void read ()
 
 TestDriver (const std::string &filename, const std::string &catname)
 
 ~TestDriver ()
 
 TestDriver (const TestDriver &)=delete
 
TestDriveroperator= (const TestDriver &)=delete
 
void loadLibraries (const std::vector< std::string > &libraries)
 
void write ()
 
void read (const std::string &fileName="", DatabaseSpecification::NameType nameType=DatabaseSpecification::PFN)
 
 TestDriver (const std::string &catname="PersF.catatlog.xml")
 
 ~TestDriver ()
 
 TestDriver (const TestDriver &)=delete
 
TestDriveroperator= (const TestDriver &)=delete
 
void loadLibraries (const std::vector< std::string > &libraries)
 
void write (pool::DbType storageType)
 
void read ()
 
void readCollections ()
 
void updateObjects ()
 
void readBackUpdatedObjects ()
 
void clearCache ()
 
void readFileSizes ()
 
 TestDriver (const std::string &filename="NCI.pool.root", const std::string &catname="NCI.catatlog.xml")
 
 ~TestDriver ()
 
 TestDriver (const TestDriver &)=delete
 
TestDriveroperator= (const TestDriver &)=delete
 
void loadLibraries (const std::vector< std::string > &libraries)
 
void write ()
 
void read ()
 
 TestDriver ()
 
 ~TestDriver ()
 
 TestDriver (const TestDriver &)=delete
 
TestDriveroperator= (const TestDriver &)=delete
 
void write ()
 
void read ()
 

Public Attributes

std::string m_fileName
 

Private Attributes

IFileCatalogm_fileCatalog
 
std::string m_fileName1
 
std::string m_lfn1
 
std::string m_fileName2
 
std::string m_lfn2
 
std::string m_fileName3
 
std::string m_lfn3
 
int m_events
 
std::vector< SimpleTestClassm_simpleTestClass
 
pool::IFileCatalogm_fileCatalog
 
int m_eventsToCommitAndHold
 
std::vector< Token * > m_tokens
 
std::vector< TestClassPrimitivesm_testClassPrimitives
 
std::vector< TestClassVectorsm_testClassVectors
 
std::vector< TestClassSimpleContainersm_testClassSimpleContainers
 
std::map< std::string, std::string > m_parameters
 

Detailed Description

Definition at line 17 of file PersistencySvc_FileCatalogOperations/TestDriver.h.

Constructor & Destructor Documentation

◆ TestDriver() [1/10]

pool::TestDriver::TestDriver ( const std::string &  catname = "FCO.catatlog.xml")

◆ ~TestDriver() [1/5]

pool::TestDriver::~TestDriver ( )

◆ TestDriver() [2/10]

pool::TestDriver::TestDriver ( const TestDriver )
delete

◆ TestDriver() [3/10]

pool::TestDriver::TestDriver ( const std::string &  filename,
const std::string &  catname 
)

◆ ~TestDriver() [2/5]

pool::TestDriver::~TestDriver ( )

◆ TestDriver() [4/10]

pool::TestDriver::TestDriver ( const TestDriver )
delete

◆ TestDriver() [5/10]

pool::TestDriver::TestDriver ( const std::string &  catname = "PersF.catatlog.xml")

◆ ~TestDriver() [3/5]

pool::TestDriver::~TestDriver ( )

◆ TestDriver() [6/10]

pool::TestDriver::TestDriver ( const TestDriver )
delete

◆ TestDriver() [7/10]

pool::TestDriver::TestDriver ( const std::string &  filename = "NCI.pool.root",
const std::string &  catname = "NCI.catatlog.xml" 
)

◆ ~TestDriver() [4/5]

pool::TestDriver::~TestDriver ( )

◆ TestDriver() [8/10]

pool::TestDriver::TestDriver ( const TestDriver )
delete

◆ TestDriver() [9/10]

pool::TestDriver::TestDriver ( )

◆ ~TestDriver() [5/5]

pool::TestDriver::~TestDriver ( )

◆ TestDriver() [10/10]

pool::TestDriver::TestDriver ( const TestDriver )
delete

Member Function Documentation

◆ addlfns()

void pool::TestDriver::addlfns ( )

◆ clearCache()

void pool::TestDriver::clearCache ( )

◆ loadLibraries() [1/4]

void pool::TestDriver::loadLibraries ( const std::vector< std::string > &  libraries)

◆ loadLibraries() [2/4]

void TestDriver::loadLibraries ( const std::vector< std::string > &  libraries)

Definition at line 17 of file libname.h.

18 {
19  for ( std::vector<std::string>::const_iterator iLibrary = libraries.begin();
20  iLibrary != libraries.end(); ++iLibrary ) {
21  const std::string& library = *iLibrary;
22  std::cout << "Loading library " << library << std::endl;
23 
24  System::ImageHandle libhandle;
25  if( System::loadDynamicLib(library, &libhandle) != 1 ) {
26  std::cout << "Error! library loading failed" << std::endl;
27  }
28  }
29 }

◆ loadLibraries() [3/4]

void pool::TestDriver::loadLibraries ( const std::vector< std::string > &  libraries)

◆ loadLibraries() [4/4]

void pool::TestDriver::loadLibraries ( const std::vector< std::string > &  libraries)

◆ operator=() [1/5]

TestDriver& pool::TestDriver::operator= ( const TestDriver )
delete

◆ operator=() [2/5]

TestDriver& pool::TestDriver::operator= ( const TestDriver )
delete

◆ operator=() [3/5]

TestDriver& pool::TestDriver::operator= ( const TestDriver )
delete

◆ operator=() [4/5]

TestDriver& pool::TestDriver::operator= ( const TestDriver )
delete

◆ operator=() [5/5]

TestDriver& pool::TestDriver::operator= ( const TestDriver )
delete

◆ read() [1/5]

void pool::TestDriver::read ( )

◆ read() [2/5]

void pool::TestDriver::read ( )

◆ read() [3/5]

void pool::TestDriver::read ( )

◆ read() [4/5]

void pool::TestDriver::read ( )

◆ read() [5/5]

void pool::TestDriver::read ( const std::string &  fileName = "",
DatabaseSpecification::NameType  nameType = DatabaseSpecification::PFN 
)

◆ readBackUpdatedObjects()

void pool::TestDriver::readBackUpdatedObjects ( )

◆ readCollections()

void pool::TestDriver::readCollections ( )

◆ readFileSizes()

void pool::TestDriver::readFileSizes ( )

◆ updateObjects()

void pool::TestDriver::updateObjects ( )

◆ write() [1/5]

void pool::TestDriver::write ( )

◆ write() [2/5]

void pool::TestDriver::write ( )

◆ write() [3/5]

void pool::TestDriver::write ( )

◆ write() [4/5]

void pool::TestDriver::write ( )

◆ write() [5/5]

void pool::TestDriver::write ( pool::DbType  storageType)

Member Data Documentation

◆ m_events

int TestDriver::m_events
private

◆ m_eventsToCommitAndHold

int pool::TestDriver::m_eventsToCommitAndHold
private

Definition at line 41 of file PersistencySvc_Functionality/TestDriver.h.

◆ m_fileCatalog [1/2]

IFileCatalog * TestDriver::m_fileCatalog
private

◆ m_fileCatalog [2/2]

pool::IFileCatalog* pool::TestDriver::m_fileCatalog
private

Definition at line 37 of file PersistencySvc_Functionality/TestDriver.h.

◆ m_fileName

std::string TestDriver::m_fileName

◆ m_fileName1

std::string TestDriver::m_fileName1
private

◆ m_fileName2

std::string TestDriver::m_fileName2
private

◆ m_fileName3

std::string pool::TestDriver::m_fileName3
private

◆ m_lfn1

std::string pool::TestDriver::m_lfn1
private

◆ m_lfn2

std::string pool::TestDriver::m_lfn2
private

◆ m_lfn3

std::string pool::TestDriver::m_lfn3
private

◆ m_parameters

std::map< std::string, std::string > pool::TestDriver::m_parameters
private

Definition at line 26 of file PersistencySvc_Parameters/TestDriver.h.

◆ m_simpleTestClass

std::vector< SimpleTestClass > TestDriver::m_simpleTestClass
private

◆ m_testClassPrimitives

std::vector< TestClassPrimitives > pool::TestDriver::m_testClassPrimitives
private

Definition at line 44 of file PersistencySvc_Functionality/TestDriver.h.

◆ m_testClassSimpleContainers

std::vector< TestClassSimpleContainers > pool::TestDriver::m_testClassSimpleContainers
private

Definition at line 46 of file PersistencySvc_Functionality/TestDriver.h.

◆ m_testClassVectors

std::vector< TestClassVectors > pool::TestDriver::m_testClassVectors
private

Definition at line 45 of file PersistencySvc_Functionality/TestDriver.h.

◆ m_tokens

std::vector< Token * > TestDriver::m_tokens
private

Definition at line 42 of file PersistencySvc_Functionality/TestDriver.h.


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