IMP Reference Guide
2.11.0
The Integrative Modeling Platform
|
Various general useful macros for IMP. More...
#include <IMP/kernel_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... | |
Various general useful macros for IMP.
Copyright 2007-2019 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_MEMBER | ( | var_name | ) | swap(var_name, o.var_name) |
Swap two member variables assuming the other object is called o.
Swap the member var_name
of the two objects (this and o).
Definition at line 61 of file swap_macros.h.