IMP logo
IMP Reference Guide  2.12.0
The Integrative Modeling Platform
Value.h
Go to the documentation of this file.
1 /**
2  * \file IMP/Value.h \brief Basic types used by IMP.
3  *
4  * Copyright 2007-2019 IMP Inventors. All rights reserved.
5  *
6  */
7 
8 #ifndef IMPKERNEL_VALUE_H
9 #define IMPKERNEL_VALUE_H
10 
11 #include <IMP/kernel_config.h>
12 #include "utility_macros.h"
13 
14 IMPKERNEL_BEGIN_NAMESPACE
15 //! Base for a simple primitive-like type.
16 /** A value in \imp should support output to streams in C++, conversion to
17  string in Python, being put in a hash table/dictionary and comparison
18  with other values of the same type. In addition, its default constructor
19  should put it into a known good initial state.
20  */
21 class Value {
22  protected:
23  Value() {}
24 };
25 IMPKERNEL_END_NAMESPACE
26 
27 #endif /* IMPKERNEL_VALUE_H */
Base for a simple primitive-like type.
Definition: Value.h:21
Various general useful macros for IMP.