#include <chemistry/qc/mbptr12/creator.h>

Public Member Functions | |
| RangeCreator (unsigned int n) | |
| virtual T | operator() ()=0 |
| returns a new object T, or null() if done. | |
| virtual T | null () const |
| returns the null object. Default is to return T(0). | |
Protected Member Functions | |
| bool | can_create () const |
| void | next () |
| unsigned int | ncreated () const |
operator() returns the objects, or 0 when done. Thus T must be Comparable to an int or Constructable from an int.
| virtual T sc::RangeCreator< T >::operator() | ( | ) | [pure virtual] |
returns a new object T, or null() if done.
Implemented in sc::R12IntsAccCreator, sc::TwoBodyIntDescrCreator, and sc::R12TwoBodyIntKeyCreator.