This is Unofficial EPICS BASE Doxygen Site
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
noDefaultMethods.h
Go to the documentation of this file.
1
/* noDefaultMethods.h */
2
/*
3
* Copyright information and license terms for this software can be
4
* found in the file LICENSE that is included with the distribution
5
*/
9
#ifndef NO_DEFAULT_METHODS_H
10
#define NO_DEFAULT_METHODS_H
11
12
#include <
shareLib.h
>
13
35
#if __cplusplus>=201103L
36
# define EPICS_NOT_COPYABLE(CLASS) private: CLASS(const CLASS&) = delete; CLASS& operator=(const CLASS&) = delete;
37
#else
38
# define EPICS_NOT_COPYABLE(CLASS) private: CLASS(const CLASS&); CLASS& operator=(const CLASS&);
39
#endif
40
41
namespace
epics
{
namespace
pvData {
42
50
class
NoDefaultMethods
{
51
public
:
52
NoDefaultMethods
() {}
53
private
:
54
#if __cplusplus>=201103L
55
NoDefaultMethods
(
const
NoDefaultMethods
&) =
delete
;
56
NoDefaultMethods
& operator=(
const
NoDefaultMethods
&) =
delete
;
57
#else
58
// do not implement
59
NoDefaultMethods
(
const
NoDefaultMethods
&);
60
NoDefaultMethods
& operator=(
const
NoDefaultMethods
&);
61
#endif
62
};
63
64
}}
65
#endif
/* NO_DEFAULT_METHODS_H */
epics::pvData::NoDefaultMethods::NoDefaultMethods
NoDefaultMethods()
Definition:
noDefaultMethods.h:52
epics
TODO only here because of the Lockable.
Definition:
ntaggregate.cpp:16
shareLib.h
Mark external symbols and entry points for shared libraries.
epics::pvData::NoDefaultMethods
Base class for not allowing default methods.
Definition:
noDefaultMethods.h:50
modules
pvData
src
misc
pv
noDefaultMethods.h
Generated by
1.8.11