StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StTrgDatFileReader
StDatFileFactory.cxx
1
#include "StDatFileFactory.h"
2
#include "StTrgDatReader.h"
3
4
namespace
{
5
StDatFileFactory
*singletonFactory = StDatFileFactory::CreateDatFactory();
6
}
7
//____________________________________________________________________________________
8
StDatFileFactory
*StDatFileFactory::CreateDatFactory()
9
{
10
return
Factory
() ? 0 :
new
StDatFileFactory
();
11
}
12
13
//____________________________________________________________________________________
14
StStreamFile
*StDatFileFactory::Create()
15
{
16
return
new
StTrgDatReader
();
17
}
18
//____________________________________________________________________________________
19
StStreamFile
*StDatFileFactory::Create(
const
char
*fileName, ios_base::openmode mode)
20
{
21
return
new
StTrgDatReader
(fileName,mode);
22
}
Factory
Definition:
Factory.h:54
StDatFileFactory
Definition:
StDatFileFactory.h:6
StStreamFile
Definition:
StStreamFile.h:40
StTrgDatReader
Definition:
StTrgDatReader.h:34
Generated by
1.8.5