| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
NTuple::File Class Reference

Small class representing an N tuple file in the transient store. More...

`#include <NTuple.h>`

Inheritance diagram for NTuple::File:
[legend]
Collaboration diagram for NTuple::File:
[legend]

## Public Member Functions
| File ()
| File (long type, const std::string name, const std::string &logName)
| Standard constructor.
virtual | ~File ()
| Standard destructor.
virtual const CLID & | clID () const
| class ID of the object
void | setType (const long typ)
| Set access type.
long | type () const
| Return access type.
const std::string & | name () const
| Retrun physical file name.
void | setName (const std::string &nam)
| Set access type.
const std::string & | logicalName () const
void | setLogicalName (const std::string &l)
void | setOpen (bool flag)
| Set "open" flag.
bool | isOpen () const
| Access "open" flag.
Public Member Functions inherited from NTuple::Directory
| Directory ()
| Standard constructor.
virtual | ~Directory ()
| Standard destructor.
Public Member Functions inherited from DataObject
| DataObject ()
| Standard Constructor.
| DataObject (const DataObject &)
| Copy Constructor.
virtual | ~DataObject ()
| Standard Destructor.
virtual unsigned long | addRef ()
| Add reference to object.
virtual unsigned long | release ()
| release reference to object
const std::string & | name () const
| Retreive DataObject name. It is the name when registered in the store.
virtual StatusCode | update ()
| Provide empty placeholder for internal object reconfiguration callback.
void | setRegistry (IRegistry *pRegistry)
| Set pointer to Registry.
IRegistry * | registry () const
| Get pointer to Registry.
LinkManager * | linkMgr () const
| Retrieve Link manager.
unsigned char | version () const
| Retrieve version number of this object representation.
void | setVersion (unsigned char vsn)
| Set version number of this object representation.
unsigned long | refCount () const
| Return the refcount.
virtual std::ostream & | fillStream (std::ostream &s) const
| Fill the output stream (ASCII)

## Static Public Member Functions
static const CLID & | classID ()
| class ID of the object
Static Public Member Functions inherited from NTuple::Directory
static const CLID & | classID ()
| class ID of the object
Static Public Member Functions inherited from DataObject
static const CLID & | classID ()
| Retrieve reference to class definition structure (static access)

## Protected Attributes
std::string | m_name
| Physical file name.
std::string | m_logName
| Logical file name.
long | m_type
| Access type.
bool | m_isOpen
| Flag to indicate wether the file was opened already.

## Detailed Description

Small class representing an N tuple file in the transient store.

Definition at line 1085 of file NTuple.h.

## Constructor & Destructor Documentation

NTuple::File::File | ( |  | ) |
| inline

Definition at line 1096 of file NTuple.h.

: m_type(0), m_isOpen(false) {
}

NTuple::File::File | ( | long | type,
|  | const std::string | name,
|  | const std::string & | logName
| ) |  |
| inline

Standard constructor.

Definition at line 1099 of file NTuple.h.

: m_name(name), m_logName(logName), m_type(type), m_isOpen(false) {
}

virtual NTuple::File::~File | ( |  | ) |
| inline virtual

Standard destructor.

Definition at line 1103 of file NTuple.h.

{
}

## Member Function Documentation

static const CLID& NTuple::File::classID | ( |  | ) |
| inline static

class ID of the object

Definition at line 1106 of file NTuple.h.

{
return CLID_NTupleFile;
}

virtual const CLID& NTuple::File::clID | ( |  | ) | const
| inline virtual

class ID of the object

Reimplemented from NTuple::Directory.

Definition at line 1110 of file NTuple.h.

{
return classID();
}

bool NTuple::File::isOpen | ( |  | ) | const
| inline

Access "open" flag.

Definition at line 1142 of file NTuple.h.

{
return m_isOpen;
}

const std::string& NTuple::File::logicalName | ( |  | ) | const
| inline

Definition at line 1130 of file NTuple.h.

{
return m_logName;
}

const std::string& NTuple::File::name | ( |  | ) | const
| inline

Retrun physical file name.

Definition at line 1122 of file NTuple.h.

{
return m_name;
}

void NTuple::File::setLogicalName | ( | const std::string & | l | ) |
| inline

Definition at line 1134 of file NTuple.h.

{
m_logName = l;
}

void NTuple::File::setName | ( | const std::string & | nam | ) |
| inline

Set access type.

Definition at line 1126 of file NTuple.h.

{
m_name = nam;
}

void NTuple::File::setOpen | ( | bool | flag | ) |
| inline

Set "open" flag.

Definition at line 1138 of file NTuple.h.

{
m_isOpen = flag;
}

void NTuple::File::setType | ( | const long | typ | ) |
| inline

Set access type.

Definition at line 1114 of file NTuple.h.

{
m_type = typ;
}

long NTuple::File::type | ( |  | ) | const
| inline

Return access type.

Definition at line 1118 of file NTuple.h.

{
return m_type;
}

## Member Data Documentation

bool NTuple::File::m_isOpen
| protected

Flag to indicate wether the file was opened already.

Definition at line 1094 of file NTuple.h.

std::string NTuple::File::m_logName
| protected

Logical file name.

Definition at line 1090 of file NTuple.h.

std::string NTuple::File::m_name
| protected

Physical file name.

Definition at line 1088 of file NTuple.h.

long NTuple::File::m_type
| protected

Access type.

Definition at line 1092 of file NTuple.h.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiKernel/GaudiKernel/NTuple.h