BOSS
7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/ers/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
14
namespace
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
25
protected
:
26
virtual
std::string
build_message
(
const
char
* condition_text,
const
std::string &
message
,
bool
constant_expression =
false
) throw() ;
27
public:
28
static const
char
* const
CLASS_NAME
;
29
NotImplemented
();
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
s
XmlRpcServer s
Definition:
HelloServer.cpp:11
ers::Context
Source context for Issue.
Definition:
Event/ers/ers-00-00-03/ers/Context.h:42
ers::Issue::message
const std::string & message() const
Message.
Definition:
ers/ers-00-00-03/src/Issue.cxx:689
ers::NotImplemented
Macro to mark unimplemented code.
Definition:
Event/ers/ers-00-00-03/ers/NotImplemented.h:23
ers::NotImplemented::get_class_name
virtual const char * get_class_name() const
Get key for class (used for serialisation)
Definition:
NotImplemented.cxx:47
ers::NotImplemented::CLASS_NAME
static const char *const CLASS_NAME
Definition:
Event/ers/ers-00-00-03/ers/NotImplemented.h:28
ers::NotImplemented::build_message
virtual std::string build_message(const char *condition_text, const std::string &message, bool constant_expression=false)
ers
Definition:
Event/ers/ers-00-00-03/ers/Assertion.h:20
ers::severity_t
enum ers::_severity_t severity_t
source
InstallArea
include
ers
ers
NotImplemented.h
Generated by
1.9.6