IMP
2.1.0
The Integrative Modeling Platform
|
Various general useful macros for IMP. More...
#include <IMP/base/base_config.h>
Go to the source code of this file.
Macros | |
#define | IMP_SWAP_MEMBER(var_name) swap(var_name, o.var_name) |
Swap two member variables assuming the other object is called o. More... | |
Copyright 2007-2013 IMP Inventors. All rights reserved.
Definition in file base/swap_macros.h.
#define IMP_SWAP | ( | Name | ) |
Definition at line 22 of file base/swap_macros.h.
#define IMP_SWAP_MEMBER | ( | var_name | ) | swap(var_name, o.var_name) |
Swap the member var_name
of the two objects (this and o).
Definition at line 61 of file base/swap_macros.h.