IMP logo
IMP Reference Guide  2.6.1
The Integrative Modeling Platform
InputAdaptor.h
Go to the documentation of this file.
1 /**
2  * \file IMP/InputAdaptor.h \brief Basic types used by IMP.
3  *
4  * Copyright 2007-2016 IMP Inventors. All rights reserved.
5  *
6  */
7 
8 #ifndef IMPKERNEL_INPUT_ADAPTOR_H
9 #define IMPKERNEL_INPUT_ADAPTOR_H
10 
11 #include <IMP/kernel_config.h>
12 #include "utility_macros.h"
13 
14 IMPKERNEL_BEGIN_NAMESPACE
15 
16 /** An input adaptor is a convenience class that allows functions to accept a
17  wider variety of inputs than they would otherwise. The InputAdaptor class
18  itself should not be used directly, it is just provided for purposes of
19  documentation.
20 
21  Input adaptor classes do not support output, comparisons or hashing.
22  */
23 class InputAdaptor {
24  protected:
25  InputAdaptor() {}
26 };
27 
28 IMPKERNEL_END_NAMESPACE
29 
30 #endif /* IMPKERNEL_INPUT_ADAPTOR_H */
Various general useful macros for IMP.