BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
WrongMarker Class Reference

#include <RawFileExceptions.h>

+ Inheritance diagram for WrongMarker:

Public Member Functions

 WrongMarker (uint32_t expect, uint32_t value)
 
virtual ~WrongMarker ()
 
virtual void print () const
 
- Public Member Functions inherited from RawFileException
virtual ~RawFileException ()
 
virtual void print () const
 

Detailed Description

Definition at line 47 of file RawFileExceptions.h.

Constructor & Destructor Documentation

◆ WrongMarker()

WrongMarker::WrongMarker ( uint32_t  expect,
uint32_t  value 
)
inline

Definition at line 49 of file RawFileExceptions.h.

49: m_expect(expect), m_value(value) {}

◆ ~WrongMarker()

virtual WrongMarker::~WrongMarker ( )
inlinevirtual

Definition at line 50 of file RawFileExceptions.h.

50{}

Member Function Documentation

◆ print()

void WrongMarker::print ( ) const
virtual

Reimplemented from RawFileException.

Definition at line 20 of file RawFileExceptions.cxx.

20 {
21 std::cout << "[RawFile] Get an invalid marker, expect 0x" << std::hex << m_expect
22 << ", but got 0x" << m_value << std::dec << std::endl;
23}

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