MPQC
3.0.0-alpha
|
String::List represents a set of String objects. More...
#include <mpqc/ci/string.hpp>
Public Types | |
typedef std::vector< String >::iterator | iterator |
typedef std::vector< String >::const_iterator | const_iterator |
Public Member Functions | |
List (const std::vector< String > &v) | |
size_t | size () const |
const_iterator | begin () const |
const_iterator | end () const |
iterator | begin () |
iterator | end () |
size_t | operator[] (const String &s) const |
const String & | operator[] (size_t i) const |
const String & | at (size_t i) const |
operator mpqc::range () const | |
template<class F > | |
void | sort (F f) |
const std::vector< String > & | data () const |
String::List represents a set of String objects.
The objects are stored as a sequence that can be accessed randomly. String::List also provides a String->index map.
T | the type that implements String->index map. |