BOSS 6.6.4.p01
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 46 of file RawFileExceptions.h.

Constructor & Destructor Documentation

◆ WrongMarker()

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

Definition at line 48 of file RawFileExceptions.h.

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

◆ ~WrongMarker()

virtual WrongMarker::~WrongMarker ( )
inlinevirtual

Definition at line 49 of file RawFileExceptions.h.

49{}

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: