#include <NTuple.h>
Inheritance diagram for NTuple::File:
inline code of class DataObject | |
| 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). | |
| std::ostream & | operator<< (std::ostream &s, const DataObject &obj) |
| Output operator (ASCII). | |
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. | |
| virtual unsigned long | addRef () |
| Add reference to object. | |
| virtual unsigned long | release () |
| release reference to object | |
| virtual StreamBuffer & | serialize (StreamBuffer &s) |
| Serialization mechanism: Serialize the object for reading. | |
| virtual StreamBuffer & | serialize (StreamBuffer &s) const |
| Serialization mechanism: Serialize the object for writing. | |
Static Public Member Functions | |
| static const CLID & | classID () |
| class ID of the object | |
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. | |
Definition at line 1083 of file NTuple.h.
| NTuple::File::File | ( | ) | [inline] |
| NTuple::File::File | ( | long | type, | |
| const std::string | name, | |||
| const std::string & | logName | |||
| ) | [inline] |
| virtual NTuple::File::~File | ( | ) | [inline, virtual] |
| static const CLID& NTuple::File::classID | ( | ) | [inline, static] |
class ID of the object
Reimplemented from NTuple::Directory.
Definition at line 1104 of file NTuple.h.
01104 { 01105 return CLID_NTupleFile; 01106 }
| virtual const CLID& NTuple::File::clID | ( | ) | const [inline, virtual] |
class ID of the object
Reimplemented from NTuple::Directory.
Definition at line 1108 of file NTuple.h.
01108 { 01109 return File::classID(); 01110 }
| void NTuple::File::setType | ( | const long | typ | ) | [inline] |
| long NTuple::File::type | ( | ) | const [inline] |
| const std::string& NTuple::File::name | ( | ) | const [inline] |
Retrun physical file name.
Reimplemented from DataObject.
Definition at line 1120 of file NTuple.h.
01120 { 01121 return m_name; 01122 }
| void NTuple::File::setName | ( | const std::string & | nam | ) | [inline] |
| const std::string& NTuple::File::logicalName | ( | ) | const [inline] |
| void NTuple::File::setLogicalName | ( | const std::string & | l | ) | [inline] |
| void NTuple::File::setOpen | ( | bool | flag | ) | [inline] |
| bool NTuple::File::isOpen | ( | ) | const [inline] |
| virtual unsigned long DataObject::addRef | ( | ) | [virtual, inherited] |
Add reference to object.
| virtual unsigned long DataObject::release | ( | ) | [virtual, inherited] |
release reference to object
| virtual StreamBuffer& DataObject::serialize | ( | StreamBuffer & | s | ) | [virtual, inherited] |
Serialization mechanism: Serialize the object for reading.
Reimplemented in RefTableBase< FROM, MAPENTRY >, RefTableBase< FROM, SmartRefVector< TO > >, and RefTableBase< FROM, SmartRef< TO > >.
| virtual StreamBuffer& DataObject::serialize | ( | StreamBuffer & | s | ) | const [virtual, inherited] |
Serialization mechanism: Serialize the object for writing.
Reimplemented in RefTableBase< FROM, MAPENTRY >, RefTableBase< FROM, SmartRefVector< TO > >, and RefTableBase< FROM, SmartRef< TO > >.
| void DataObject::setRegistry | ( | IRegistry * | pRegistry | ) | [inline, inherited] |
Set pointer to Registry.
Definition at line 67 of file DataObject.h.
00067 { 00068 m_pRegistry = pRegistry; 00069 }
| IRegistry* DataObject::registry | ( | ) | const [inline, inherited] |
Get pointer to Registry.
Definition at line 71 of file DataObject.h.
00071 { 00072 return m_pRegistry; 00073 }
| LinkManager* DataObject::linkMgr | ( | ) | const [inline, inherited] |
Retrieve Link manager.
Definition at line 75 of file DataObject.h.
00075 { 00076 return m_pLinkMgr; 00077 }
| unsigned char DataObject::version | ( | ) | const [inline, inherited] |
Retrieve version number of this object representation.
Definition at line 79 of file DataObject.h.
00079 { 00080 return m_version; 00081 }
| void DataObject::setVersion | ( | unsigned char | vsn | ) | [inline, inherited] |
Set version number of this object representation.
Definition at line 83 of file DataObject.h.
00083 { 00084 m_version = vsn; 00085 }
| unsigned long DataObject::refCount | ( | ) | const [inline, inherited] |
Return the refcount.
Definition at line 87 of file DataObject.h.
00087 { 00088 return m_refCount; 00089 }
| virtual std::ostream& DataObject::fillStream | ( | std::ostream & | s | ) | const [inline, virtual, inherited] |
Fill the output stream (ASCII).
Reimplemented in ObjectList< TYPE >, and ObjectVector< TYPE >.
Definition at line 91 of file DataObject.h.
| std::ostream& operator<< | ( | std::ostream & | s, | |
| const DataObject & | obj | |||
| ) | [friend, inherited] |
Output operator (ASCII).
Definition at line 96 of file DataObject.h.
00096 { 00097 return obj.fillStream(s); 00098 }
std::string NTuple::File::m_name [protected] |
std::string NTuple::File::m_logName [protected] |
long NTuple::File::m_type [protected] |
bool NTuple::File::m_isOpen [protected] |
1.4.7