OpenASIP  2.0
Protected Member Functions | Private Member Functions | Static Private Attributes | List of all members
TPEF::TPEFLEDataSectionWriter Class Reference

#include <TPEFLEDataSectionWriter.hh>

Inheritance diagram for TPEF::TPEFLEDataSectionWriter:
Inheritance graph
Collaboration diagram for TPEF::TPEFLEDataSectionWriter:
Collaboration graph

Protected Member Functions

virtual ~TPEFLEDataSectionWriter ()
 
 TPEFLEDataSectionWriter ()
 
virtual Section::SectionType type () const
 
- Protected Member Functions inherited from TPEF::TPEFDataSectionWriter
virtual ~TPEFDataSectionWriter ()
 
 TPEFDataSectionWriter (bool reg=true)
 
virtual void actualWriteData (BinaryStream &stream, const Section *sect) const
 
virtual Word elementSize (const Section *section) const
 
- Protected Member Functions inherited from TPEF::TPEFSectionWriter
 TPEFSectionWriter ()
 
virtual ~TPEFSectionWriter ()
 
virtual const BinaryWriterparent () const
 
virtual void actualWriteHeader (BinaryStream &stream, const Section *sect) const
 
virtual void createKeys (const Section *sect) const
 
virtual void writeSize (BinaryStream &stream, const Section *sect) const
 
virtual void writeInfo (BinaryStream &stream, const Section *sect) const
 
virtual SectionId getSectionId () const
 
- Protected Member Functions inherited from TPEF::SectionWriter
 SectionWriter ()
 
virtual ~SectionWriter ()
 
virtual void finalize (BinaryStream &stream, Section *section) const
 

Private Member Functions

 TPEFLEDataSectionWriter (const TPEFLEDataSectionWriter &)
 No copies. More...
 
TPEFLEDataSectionWriter operator= (const TPEFLEDataSectionWriter &)
 No copies. More...
 

Static Private Attributes

static const TPEFLEDataSectionWriter instance_
 Only existing instance of class. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from TPEF::SectionWriter
static void writeHeader (BinaryStream &stream, const Section *sect, const BinaryWriter *writer)
 
static void writeData (BinaryStream &stream, const Section *sect, const BinaryWriter *writer)
 
static void finalizeBinary (BinaryStream &stream, const Binary *binaryToFinalize, const BinaryWriter *writer)
 
- Static Protected Member Functions inherited from TPEF::SectionWriter
static void registerSectionWriter (const SectionWriter *sWriter)
 
static SectionId getUniqueSectionId ()
 

Detailed Description

Writes data section to TPEF stream.

Definition at line 42 of file TPEFLEDataSectionWriter.hh.

Constructor & Destructor Documentation

◆ ~TPEFLEDataSectionWriter()

TPEF::TPEFLEDataSectionWriter::~TPEFLEDataSectionWriter ( )
protectedvirtual

Destructor.

Definition at line 48 of file TPEFLEDataSectionWriter.cc.

48  {
49 }

◆ TPEFLEDataSectionWriter() [1/2]

TPEF::TPEFLEDataSectionWriter::TPEFLEDataSectionWriter ( )
protected

Constructor.

Definition at line 41 of file TPEFLEDataSectionWriter.cc.

41  : TPEFDataSectionWriter(false) {
43 }

References TPEF::SectionWriter::registerSectionWriter().

Here is the call graph for this function:

◆ TPEFLEDataSectionWriter() [2/2]

TPEF::TPEFLEDataSectionWriter::TPEFLEDataSectionWriter ( const TPEFLEDataSectionWriter )
private

No copies.

Member Function Documentation

◆ operator=()

TPEFLEDataSectionWriter TPEF::TPEFLEDataSectionWriter::operator= ( const TPEFLEDataSectionWriter )
private

No copies.

◆ type()

Section::SectionType TPEF::TPEFLEDataSectionWriter::type ( ) const
protectedvirtual

Returns section type which for writer is implemented.

Returns
Section type which of section that class can write.

Reimplemented from TPEF::TPEFDataSectionWriter.

Definition at line 57 of file TPEFLEDataSectionWriter.cc.

57  {
58  return Section::ST_LEDATA;
59 }

References TPEF::Section::ST_LEDATA.

Member Data Documentation

◆ instance_

const TPEFLEDataSectionWriter TPEF::TPEFLEDataSectionWriter::instance_
staticprivate

Only existing instance of class.

Definition at line 55 of file TPEFLEDataSectionWriter.hh.


The documentation for this class was generated from the following files:
TPEF::TPEFDataSectionWriter::TPEFDataSectionWriter
TPEFDataSectionWriter(bool reg=true)
Definition: TPEFDataSectionWriter.cc:59
TPEF::SectionWriter::registerSectionWriter
static void registerSectionWriter(const SectionWriter *sWriter)
Definition: SectionWriter.cc:148
TPEF::Section::ST_LEDATA
@ ST_LEDATA
Initialized little endian data section.
Definition: Section.hh:82