ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
ByteStream Class Reference

Transient data object, holding BS content of the event. More...

#include <ByteStream.h>

Collaboration diagram for ByteStream:

Public Member Functions

 ByteStream ()
 default constructor More...
 
 ByteStream (int nWord)
 constructor with nWord More...
 
 ByteStream (const ByteStream &)=delete
 
ByteStreamoperator= (const ByteStream &)=delete
 
virtual ~ByteStream ()
 destructor More...
 
OFFLINE_FRAGMENTS_NAMESPACE::DataTypegetBuffer ()
 get internal buffer More...
 

Private Attributes

int m_nWord
 number of words More...
 
OFFLINE_FRAGMENTS_NAMESPACE::DataTypem_start
 representation More...
 

Detailed Description

Transient data object, holding BS content of the event.

Initial version: July 14, 2002 typedef for Transient ByteStream data object

Definition at line 17 of file ByteStream.h.

Constructor & Destructor Documentation

◆ ByteStream() [1/3]

ByteStream::ByteStream ( )
inline

default constructor

Definition at line 20 of file ByteStream.h.

20 : m_nWord(0), m_start(0) {}

◆ ByteStream() [2/3]

ByteStream::ByteStream ( int  nWord)
inline

constructor with nWord

Definition at line 23 of file ByteStream.h.

23  : m_nWord(nWord) {
25  }

◆ ByteStream() [3/3]

ByteStream::ByteStream ( const ByteStream )
delete

◆ ~ByteStream()

virtual ByteStream::~ByteStream ( )
inlinevirtual

destructor

Definition at line 31 of file ByteStream.h.

31  {
32  if (m_start != 0) {
33  delete [] m_start; m_start = 0;
34  }
35  }

Member Function Documentation

◆ getBuffer()

OFFLINE_FRAGMENTS_NAMESPACE::DataType* ByteStream::getBuffer ( )
inline

get internal buffer

Definition at line 38 of file ByteStream.h.

38 { return m_start; }

◆ operator=()

ByteStream& ByteStream::operator= ( const ByteStream )
delete

Member Data Documentation

◆ m_nWord

int ByteStream::m_nWord
private

number of words

Definition at line 42 of file ByteStream.h.

◆ m_start

OFFLINE_FRAGMENTS_NAMESPACE::DataType* ByteStream::m_start
private

representation

Definition at line 44 of file ByteStream.h.


The documentation for this class was generated from the following file:
OFFLINE_FRAGMENTS_NAMESPACE::DataType
uint32_t DataType
Definition: RawEvent.h:24
ByteStream::m_nWord
int m_nWord
number of words
Definition: ByteStream.h:42
ByteStream::m_start
OFFLINE_FRAGMENTS_NAMESPACE::DataType * m_start
representation
Definition: ByteStream.h:44