8 #ifndef IMPKERNEL_VERSION_INFO_H
9 #define IMPKERNEL_VERSION_INFO_H
11 #include <IMP/kernel_config.h>
20 IMPKERNEL_BEGIN_NAMESPACE
31 VersionInfo(std::string module, std::string version);
35 std::string get_module()
const {
return module_; }
37 std::string get_version()
const {
return version_; }
40 "Attempting to use uninitialized version info");
41 out << module_ <<
" " << version_;
46 std::string module_, version_;
50 IMPKERNEL_END_NAMESPACE
#define IMP_COMPARISONS_2(Name, f0, f1)
Implement comparison in a class using field as the variable to compare.
#define IMP_SHOWABLE_INLINE(Name, how_to_show)
Declare the methods needed by an object that can be printed.
Helper macros for implementing comparisons of IMP objects.
Exception definitions and assertions.
A more IMP-like version of the std::vector.
Base class for a simple primitive-like type.
#define IMP_VALUES(Name, PluralName)
Define the type for storing sets of values.
Version and module information for Objects.
Helper macros for throwing and handling exceptions.
Base class for a simple primitive-like type.
#define IMP_USAGE_CHECK(expr, message)
A runtime test for incorrect usage of a class or method.
Macros to help in implementing Value objects.
Macros to help with objects that can be printed to a stream.