IMP
2.0.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 swap_macros.h.
#define IMP_SWAP | ( | Name | ) |
Definition at line 22 of file swap_macros.h.
#define IMP_SWAP_1 | ( | Name | ) |
Definition at line 27 of file 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 64 of file swap_macros.h.