MPQC
3.0.0-alpha
|
Iterates over strings obtained by rank R replecement from a given string. More...
#include <chemistry/qc/nbody/string.h>
Public Types | |
typedef FString::state_index_type | state_index_type |
Public Member Functions | |
StringReplacementListIterator (const FString &ref_string) | |
StringReplacementListIterator & | operator++ () |
const FString & | operator* () const |
const FermionBasicNCOper< Rank, FString > & | oper () const |
operator bool () const | |
are there more strings left? More... | |
bool | operator== (const StringReplacementListIterator &other) |
Static Public Member Functions | |
static StringReplacementListIterator | begin (const FString &ref_string) |
static StringReplacementListIterator | end (const FString &ref_string) |
Static Public Attributes | |
static const unsigned int | Rank = R |
Iterates over strings obtained by rank R replecement from a given string.
This is a forward output iterator
FString | fermion string type |
R | replacement rank |
GenerateStrings | if true, will compute strings also, otherwise will only compute the operators |
|
inline |
are there more strings left?