CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
BadVersionIssue.h File Reference

Exception thrown when versions do not match. More...

#include "eformat/Issue.h"
#include <cstdlib>
#include <stdint.h>

Go to the source code of this file.

Classes

class  eformat::BadVersionIssue
 

Namespaces

namespace  eformat
 

Macros

#define EFORMAT_BAD_VERSION(current, supported)
 

Detailed Description

Exception thrown when versions do not match.

Author
Andre DOS ANJOS
Author
zhangy
Revision
1.1.1.1
Date
2009/06/19 07:35:41

Definition in file BadVersionIssue.h.

Macro Definition Documentation

◆ EFORMAT_BAD_VERSION

#define EFORMAT_BAD_VERSION ( current,
supported )
Value:
#define ERS_HERE
Definition Context.h:119
@ error
Definition Core.h:24

Simplifies the use of this Issue

Parameters
currentThe current version you are trying to read
supportedThe supported version by this library

Definition at line 66 of file BadVersionIssue.h.

66#define EFORMAT_BAD_VERSION(current, supported) \
67 eformat::BadVersionIssue(ERS_HERE, ers::error, current, supported)

Referenced by eformat::Header< TPointer >::check(), eformat::old::Header::check(), eformat::old::RODFragment::check(), eformat::ROBFragment< TPointer >::check(), eformat::old::convert(), and convert_ros().