MPQC  3.0.0-alpha
mpqc::ci::String::List< IndexType > Struct Template Reference

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 Stringoperator[] (size_t i) const
 
const Stringat (size_t i) const
 
 operator mpqc::range () const
 
template<class F >
void sort (F f)
 
const std::vector< String > & data () const
 

Detailed Description

template<class IndexType>
struct mpqc::ci::String::List< IndexType >

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.

Template Parameters
Tthe type that implements String->index map.

The documentation for this struct was generated from the following file:

Generated at Sun Jan 26 2020 23:24:02 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.8.16.