IMP  2.3.1
The Integrative Modeling Platform
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 
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 IMPBASE_END_NAMESPACE
29 
30 #endif /* IMPBASE_INPUT_ADAPTOR_H */
Various general useful macros for IMP.