WrongMarker Class Reference

#include <RawFileExceptions.h>

Inheritance diagram for WrongMarker:

RawFileException List of all members.

Public Member Functions

 WrongMarker (uint32_t expect, uint32_t value)
virtual ~WrongMarker ()
virtual void print () const

Private Attributes

uint32_t m_expect
uint32_t m_value

Detailed Description

Definition at line 47 of file RawFileExceptions.h.


Constructor & Destructor Documentation

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

Definition at line 49 of file RawFileExceptions.h.

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

virtual WrongMarker::~WrongMarker (  )  [inline, virtual]

Definition at line 50 of file RawFileExceptions.h.

00050 {}


Member Function Documentation

void WrongMarker::print (  )  const [virtual]

Reimplemented from RawFileException.

Definition at line 20 of file RawFileExceptions.cxx.

References m_expect, and m_value.

00020                               {
00021    std::cout << "[RawFile] Get an invalid marker, expect 0x" << std::hex << m_expect
00022       << ", but got 0x" << m_value << std::dec << std::endl;
00023 }


Member Data Documentation

uint32_t WrongMarker::m_expect [private]

Definition at line 55 of file RawFileExceptions.h.

Referenced by print().

uint32_t WrongMarker::m_value [private]

Definition at line 56 of file RawFileExceptions.h.

Referenced by print().


Generated on Tue Nov 29 23:36:21 2016 for BOSS_7.0.2 by  doxygen 1.4.7