template <class T, class Cmp = IndexSort> class IndexList Defines a list with a case-insensitive index
| | element_type Element type |
| | base_list Base list |
| | iterator Iterator |
| | const_iterator Const Iterator |
| | sort_order Sort order |
| | index_type Index list |
| | index_iterator Index iterator |
| | const_index_iterator Const index iterator |
| | IndexList () Default constructor |
| | IndexList (const IndexList& index) Copy constructor |
| | operator= (const IndexList& index) Assignment operator |
| | List () const Index |
| | begin () begin |
| | begin () const begin |
| | end () end |
| | end () const end |
| | Index () const Index |
| | Get (const char* s) Get |
| | Get (const char* s) const Get |
| | GetPos (const char* s) Get position |
| | GetPos (const char* s) const Get position |
| | operator[] (int pos) Element access |
| | operator[] (int pos) const Element access |
| | Add (const T& el) Add |
| | Insert (const T& el) Insert |
| | Remove (base_list::iterator pos) Remove |
| | Remove (int pos) Remove |
| | Remove (const char* name) Remove |
| | Clear () Clear |
| | Size () const Size |
| | Empty () const Empty? |
| | Sort () Sort |
| | AddToIndex (base_list::iterator pos) Index add |
| | RemoveFromIndex (base_list::iterator pos) Index remove |
| | RebuildIndex () Rebuild index |
| | RebuildIndexAfterInsert (base_list::iterator pos) Rebuild index |
Defines a list with a by default case-insensitive index.
typedef std::vector <T> base_list
typedef base_list::iterator iterator
typedef base_list::const_iterator const_iterator
typedef Cmp sort_order
typedef std::map <const char*, int, Cmp> index_type
typedef index_type::iterator index_iterator
typedef index_type::const_iterator const_index_iterator
IndexList()
IndexList(const IndexList& index)
IndexList& operator= (const IndexList& index)
const base_list& List() const
base_list::iterator begin()
const_iterator begin() const
base_list::iterator end()
const_iterator end() const
const index_type& Index() const
T* Get(const char* s)
const T* Get(const char* s) const
base_list::iterator GetPos(const char* s)
const_iterator GetPos(const char* s) const
T& operator[] (int pos)
const T& operator[] (int pos) const
void Add(const T& el)
void Insert(const T& el)
void Remove(base_list::iterator pos)
void Remove(int pos)
void Remove(const char* name)
void Clear()
int Size() const
bool Empty() const
void Sort()
void AddToIndex(base_list::iterator pos)
void RemoveFromIndex(base_list::iterator pos)
void RebuildIndex()
void RebuildIndexAfterInsert(base_list::iterator pos)
alphabetic index hierarchy of classes
Please send questions and comments to sigg_d@ligo-wa.caltech.edu
generated by doc++