BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/ers/ers-00-00-03/ers/NotImplemented.h
Go to the documentation of this file.
1/*
2 * NotImplemented.h
3 * ers
4 *
5 * Created by Matthias Wiesmann on 08.12.04.
6 * Copyright 2004 CERN. All rights reserved.
7 *
8 */
9
10#ifndef ERS_NOT_IMPLEMENTED
11
12#include "ers/Assertion.h"
13
14namespace ers {
15
16 /** This special 'assertion' is used to mark a non implemented function or method.
17 * Typically, this is marked using the NOT_IMPLEMENTED() macro.
18 * \author Matthias Wiesmann
19 * �\version 1.0
20 * \brief Macro to mark unimplemented code.
21 */
22
23 class NotImplemented : public Assertion {
24
25protected:
26 virtual std::string build_message(const char* condition_text, const std::string &message, bool constant_expression = false) throw() ;
27public:
28 static const char* const CLASS_NAME ;
30 NotImplemented(const Context &context, severity_t s) ;
31 virtual const char*get_class_name() const throw();
32 } ; // Precondition
33} // ers
34
35#define ERS_NOT_IMPLEMENTED() throw ers::NotImplemented(ERS_HERE,ers::error)
36#define ERS_NOT_IMPLEMENTED_FATAL() throw ers::NotImplemented(ERS_HERE,ers::ers_fatal)
37
38#endif
39
XmlRpcServer s
Definition: HelloServer.cpp:11
This Issue represents a basic assertion.
Source context for Issue.
const std::string & message() const
Message.
Macro to mark unimplemented code.
virtual std::string build_message(const char *condition_text, const std::string &message, bool constant_expression=false)
virtual const char * get_class_name() const
Get key for class (used for serialisation)
enum ers::_severity_t severity_t