gem5  v22.1.0.0
Protected Member Functions | Static Protected Attributes | List of all members
ProtoStream Class Reference

A ProtoStream provides the shared functionality of the input and output streams. More...

#include <protoio.hh>

Inheritance diagram for ProtoStream:
ProtoInputStream ProtoOutputStream

Protected Member Functions

 ProtoStream ()
 Create a ProtoStream. More...
 

Static Protected Attributes

static const uint32_t magicNumber = 0x356d6567
 Use the ASCII characters gem5 as our magic number. More...
 

Private Member Functions

 ProtoStream (const ProtoStream &)
 Hide the copy constructor and assignment operator. More...
 
ProtoStreamoperator= (const ProtoStream &)
 

Detailed Description

A ProtoStream provides the shared functionality of the input and output streams.

At the moment this is limited to magic number.

Definition at line 58 of file protoio.hh.

Constructor & Destructor Documentation

◆ ProtoStream() [1/2]

ProtoStream::ProtoStream ( )
inlineprotected

Create a ProtoStream.

Definition at line 69 of file protoio.hh.

◆ ProtoStream() [2/2]

ProtoStream::ProtoStream ( const ProtoStream )
private

Hide the copy constructor and assignment operator.

Member Function Documentation

◆ operator=()

ProtoStream& ProtoStream::operator= ( const ProtoStream )
private

Member Data Documentation

◆ magicNumber

const uint32_t ProtoStream::magicNumber = 0x356d6567
staticprotected

Use the ASCII characters gem5 as our magic number.

Definition at line 64 of file protoio.hh.

Referenced by ProtoInputStream::createStreams(), and ProtoOutputStream::ProtoOutputStream().


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

Generated on Wed Dec 21 2022 10:23:06 for gem5 by doxygen 1.9.1