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