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