BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
UnexpectedRecordSize Class Reference

#include <RawFileExceptions.h>

+ Inheritance diagram for UnexpectedRecordSize:

Public Member Functions

 UnexpectedRecordSize (const char *block_name, uint32_t expect, uint32_t value)
 
virtual ~UnexpectedRecordSize ()
 
virtual void print () const
 
 UnexpectedRecordSize (const char *block_name, uint32_t expect, uint32_t value)
 
virtual ~UnexpectedRecordSize ()
 
virtual void print () const
 
- Public Member Functions inherited from RawFileException
virtual ~RawFileException ()
 
virtual void print () const
 
virtual ~RawFileException ()
 
virtual void print () const
 

Detailed Description

Constructor & Destructor Documentation

◆ UnexpectedRecordSize() [1/2]

UnexpectedRecordSize::UnexpectedRecordSize ( const char *  block_name,
uint32_t  expect,
uint32_t  value 
)
inline

Definition at line 61 of file Event/IRawFile/IRawFile-00-00-05/IRawFile/RawFileExceptions.h.

62 : m_blockName(block_name), m_expect(expect), m_value(value) {
63 }

◆ ~UnexpectedRecordSize() [1/2]

virtual UnexpectedRecordSize::~UnexpectedRecordSize ( )
inlinevirtual

◆ UnexpectedRecordSize() [2/2]

UnexpectedRecordSize::UnexpectedRecordSize ( const char *  block_name,
uint32_t  expect,
uint32_t  value 
)
inline

Definition at line 61 of file InstallArea/include/IRawFile/IRawFile/RawFileExceptions.h.

62 : m_blockName(block_name), m_expect(expect), m_value(value) {
63 }

◆ ~UnexpectedRecordSize() [2/2]

virtual UnexpectedRecordSize::~UnexpectedRecordSize ( )
inlinevirtual

Member Function Documentation

◆ print() [1/2]

void UnexpectedRecordSize::print ( ) const
virtual

Reimplemented from RawFileException.

Definition at line 25 of file RawFileExceptions.cxx.

25 {
26 std::cout << "[RawFile] The size of block \"" << m_blockName << "\" is expected as "
27 << m_expect << ", but got " << m_value << std::endl;
28}

◆ print() [2/2]

virtual void UnexpectedRecordSize::print ( ) const
virtual

Reimplemented from RawFileException.


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