Clipper
|
HKL reference with index-like behaviour. More...
#include <hkl_info.h>
Public Member Functions | |
HKL_reference_index () | |
Null constructor. | |
HKL_reference_index (const HKL_info &hklinfo_, const int &index) | |
Constructor: takes parent HKL_info and initial index. | |
const HKL & | hkl () const |
return the current HKL | |
const HKL_class & | hkl_class () const |
return the reflection class for the reflection | |
HKL_reference_index & | next () |
increment to next reflection | |
const HKL_info & | base_hkl_info () const |
return the parent HKL_info | |
const int & | index () const |
return the current index (-1 if invalid) | |
const ftype | invresolsq () const |
return the inv resol sq for the reflection (assumes index valid) | |
bool | last () const |
test if index has gone past last reflection |
HKL reference with index-like behaviour.
This is a reference to an HKL. It behaves like a simple index into the reflection list, but can be easily converted into an HKL as and when required. It also implements methods for iterating through a reflection list.