IMP  2.3.1
The Integrative Modeling Platform
Value.h
Go to the documentation of this file.
1 /**
2  * \file IMP/base/Value.h \brief Basic types used by IMP.
3  *
4  * Copyright 2007-2014 IMP Inventors. All rights reserved.
5  *
6  */
7 
8 #ifndef IMPBASE_VALUE_H
9 #define IMPBASE_VALUE_H
10 
11 #include <IMP/base/base_config.h>
12 #include "utility_macros.h"
13 
14 IMPBASE_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 IMPBASE_END_NAMESPACE
26 
27 #endif /* IMPBASE_VALUE_H */
Base for a simple primitive-like type.
Definition: Value.h:21
Various general useful macros for IMP.