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

#include <TPEFNullSectionReader.hh>

Inheritance diagram for TPEF::TPEFNullSectionReader:
Inheritance graph
Collaboration diagram for TPEF::TPEFNullSectionReader:
Collaboration graph

Protected Member Functions

 TPEFNullSectionReader ()
 
virtual ~TPEFNullSectionReader ()
 
virtual Section::SectionType type () const
 
- Protected Member Functions inherited from TPEF::TPEFSectionReader
 TPEFSectionReader ()
 
virtual void readData (BinaryStream &stream, Section *section) const
 
virtual BinaryReaderparent () const
 
virtual void readInfo (BinaryStream &stream, Section *sect) const
 
- Protected Member Functions inherited from TPEF::SectionReader
 SectionReader ()
 
virtual void finalize (Section *section) const
 

Private Member Functions

 TPEFNullSectionReader (const TPEFNullSectionReader &)
 Copying not allowed. More...
 
TPEFNullSectionReaderoperator= (TPEFNullSectionReader &)
 Assignment not allowed. More...
 

Static Private Attributes

static TPEFNullSectionReader proto_
 Prototype instance of TPEFNullSectionReader to be registered to SectionReader. More...
 

Additional Inherited Members

- Public Types inherited from TPEF::SectionReader
typedef BinaryReader::Length Length
 
- Public Member Functions inherited from TPEF::TPEFSectionReader
virtual ~TPEFSectionReader ()
 
- Public Member Functions inherited from TPEF::SectionReader
virtual ~SectionReader ()
 
- Static Public Member Functions inherited from TPEF::SectionReader
static void readSection (BinaryStream &stream, Section *section, BinaryReader *reader)
 
static void finalizeBinary (Binary *binaryToFinalize, BinaryReader *reader)
 
- Static Protected Member Functions inherited from TPEF::TPEFSectionReader
static const Headerheader ()
 
- Static Protected Member Functions inherited from TPEF::SectionReader
static const SectionReaderfindSectionReader (const Section::SectionType type, const BinaryReader *bReader)
 
static void registerSectionReader (const SectionReader *sReader)
 

Detailed Description

Reads null section section from TPEF binary file.

Definition at line 46 of file TPEFNullSectionReader.hh.

Constructor & Destructor Documentation

◆ TPEFNullSectionReader() [1/2]

TPEF::TPEFNullSectionReader::TPEFNullSectionReader ( )
protected

Constructor.

Registers itself to SectionReader.

Definition at line 54 of file TPEFNullSectionReader.cc.

References TPEF::SectionReader::registerSectionReader().

Here is the call graph for this function:

◆ ~TPEFNullSectionReader()

TPEF::TPEFNullSectionReader::~TPEFNullSectionReader ( )
protectedvirtual

Destructor.

Definition at line 61 of file TPEFNullSectionReader.cc.

61  {
62 }

◆ TPEFNullSectionReader() [2/2]

TPEF::TPEFNullSectionReader::TPEFNullSectionReader ( const TPEFNullSectionReader )
private

Copying not allowed.

Member Function Documentation

◆ operator=()

TPEFNullSectionReader& TPEF::TPEFNullSectionReader::operator= ( TPEFNullSectionReader )
private

Assignment not allowed.

◆ type()

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

Returns the type of section that reader can read.

Returns
The type of section that reader can read.

Implements TPEF::SectionReader.

Definition at line 70 of file TPEFNullSectionReader.cc.

70  {
71  return Section::ST_NULL;
72 }

References TPEF::Section::ST_NULL.

Member Data Documentation

◆ proto_

TPEFNullSectionReader TPEF::TPEFNullSectionReader::proto_
staticprivate

Prototype instance of TPEFNullSectionReader to be registered to SectionReader.

Definition at line 60 of file TPEFNullSectionReader.hh.


The documentation for this class was generated from the following files:
TPEF::TPEFSectionReader::TPEFSectionReader
TPEFSectionReader()
Definition: TPEFSectionReader.cc:50
TPEF::SectionReader::registerSectionReader
static void registerSectionReader(const SectionReader *sReader)
Definition: SectionReader.cc:145
TPEF::Section::ST_NULL
@ ST_NULL
NULL Section.
Definition: Section.hh:70