CMS 3D CMS Logo

StartIndexRecord Class Reference

#include <IOPool/Streamer/interface/IndexRecords.h>

List of all members.

Public Member Functions

const InitMsgViewgetInit () const
uint32 getMagic () const
uint64 getReserved () const
void makeHeader (void *buf)
void makeInit (void *buf)
 StartIndexRecord ()
 ~StartIndexRecord ()

Private Attributes

StartIndexRecordHeaderindexHeader
InitMsgViewinit


Detailed Description

Definition at line 27 of file IndexRecords.h.


Constructor & Destructor Documentation

StartIndexRecord::StartIndexRecord (  )  [inline]

Definition at line 30 of file IndexRecords.h.

00030 { }

StartIndexRecord::~StartIndexRecord (  )  [inline]

Definition at line 32 of file IndexRecords.h.

References indexHeader, init, and NULL.

00032                            {
00033            if (init != NULL) delete init;
00034            if (indexHeader != NULL) delete indexHeader;
00035         }


Member Function Documentation

const InitMsgView* StartIndexRecord::getInit (  )  const [inline]

Definition at line 45 of file IndexRecords.h.

References init.

Referenced by StreamerInputIndexFile::readStartMessage().

00045 { return init; }

uint32 StartIndexRecord::getMagic (  )  const [inline]

Definition at line 46 of file IndexRecords.h.

References indexHeader, and StartIndexRecordHeader::magic.

00046 {return indexHeader->magic; }

uint64 StartIndexRecord::getReserved (  )  const [inline]

Definition at line 47 of file IndexRecords.h.

References indexHeader, and StartIndexRecordHeader::reserved.

00047 {return indexHeader->reserved;}

void StartIndexRecord::makeHeader ( void buf  )  [inline]

Definition at line 41 of file IndexRecords.h.

References indexHeader.

Referenced by StreamerInputIndexFile::readStartMessage().

00041                                   { //never call makeHeader twice
00042          indexHeader = new StartIndexRecordHeader(buf);
00043        }

void StartIndexRecord::makeInit ( void buf  )  [inline]

Definition at line 37 of file IndexRecords.h.

References init.

Referenced by StreamerInputIndexFile::readStartMessage().

00037                                 {   //never call makeInit twice
00038          init = new InitMsgView(buf);
00039        }


Member Data Documentation

StartIndexRecordHeader* StartIndexRecord::indexHeader [private]

Definition at line 51 of file IndexRecords.h.

Referenced by getMagic(), getReserved(), makeHeader(), and ~StartIndexRecord().

InitMsgView* StartIndexRecord::init [private]

Definition at line 52 of file IndexRecords.h.

Referenced by getInit(), makeInit(), and ~StartIndexRecord().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:32:46 2009 for CMSSW by  doxygen 1.5.4