|
void | addEntry (const std::string &header, const std::string &data) |
|
| Array () |
| Creates an empty array. More...
|
|
| Array (std::size_t num_elem, const StringDataBlockEntry &value=StringDataBlockEntry()) |
| Creates and initializes the array with num_elem copies of value. More...
|
|
| Array (const InputIter &first, const InputIter &last) |
| Creates and initializes the array with copies of the elements in the range [first, last). More...
|
|
virtual | ~Array () |
| Virtual destructor. More...
|
|
StorageType & | getData () |
|
const StorageType & | getData () const |
|
BaseType & | getBase () |
| Returns a non-const reference to itself. More...
|
|
const BaseType & | getBase () const |
| Returns a const reference to itself. More...
|
|
std::size_t | getSize () const |
| Returns the number of elements stored in the array. More...
|
|
std::size_t | size () const |
| Returns the number of elements stored in the array. More...
|
|
bool | isEmpty () const |
| Tells whether the array is empty (getSize() == 0). More...
|
|
void | resize (std::size_t num_elem, const StringDataBlockEntry &value=StringDataBlockEntry()) |
| Inserts or erases elements at the end so that the size becomes num_elem. More...
|
|
void | reserve (std::size_t num_elem) |
| Preallocates memory for (at least) num_elem elements. More...
|
|
std::size_t | getCapacity () const |
| Returns the number of elements for which memory has been allocated. More...
|
|
void | clear () |
| Erases all elements. More...
|
|
void | swap (Array &array) |
| Swaps the contents with array. More...
|
|
void | assign (std::size_t num_elem, const StringDataBlockEntry &value=StringDataBlockEntry()) |
| This function fills the array with num_elem copies of the given value. More...
|
|
void | assign (const InputIter &first, const InputIter &last) |
| This function fills a vector with copies of the elements in the range [first, last). More...
|
|
void | addElement (const StringDataBlockEntry &value=StringDataBlockEntry()) |
| Inserts a new element at the end of the array. More...
|
|
void | insertElement (std::size_t idx, const StringDataBlockEntry &value=StringDataBlockEntry()) |
| Inserts a new element before the location specified by the index idx. More...
|
|
ElementIterator | insertElement (const ElementIterator &it, const StringDataBlockEntry &value=StringDataBlockEntry()) |
| Inserts a new element before the location specified by the iterator it. More...
|
|
void | insertElements (std::size_t idx, std::size_t num_elem, const StringDataBlockEntry &value=StringDataBlockEntry()) |
| Inserts num_elem copies of value before the location specified by the index idx. More...
|
|
void | insertElements (const ElementIterator &it, std::size_t num_elem, const StringDataBlockEntry &value=StringDataBlockEntry()) |
| Inserts num_elem copies of value before the location specified by the iterator it. More...
|
|
void | insertElements (std::size_t idx, const InputIter &first, const InputIter &last) |
| Inserts the range of elements [first, last) before the location specified by the index idx. More...
|
|
void | insertElements (const ElementIterator &it, const InputIter &first, const InputIter &last) |
| Inserts the range of elements [first, last) before the location specified by the iterator it. More...
|
|
void | popLastElement () |
| Removes the last element of the array. More...
|
|
void | removeElement (std::size_t idx) |
| Removes the element at the position specified by the index idx. More...
|
|
ElementIterator | removeElement (const ElementIterator &it) |
| Removes the element at the position specified by the iterator it. More...
|
|
ElementIterator | removeElements (const ElementIterator &first, const ElementIterator &last) |
| Removes the elements pointed to by the iterators in the range [first, last). More...
|
|
const StringDataBlockEntry & | getFirstElement () const |
| Returns a const reference to the first element of the array. More...
|
|
StringDataBlockEntry & | getFirstElement () |
| Returns a non-const reference to the first element of the array. More...
|
|
const StringDataBlockEntry & | getLastElement () const |
| Returns a const reference to the last element of the array. More...
|
|
StringDataBlockEntry & | getLastElement () |
| Returns a non-const reference to the last element of the array. More...
|
|
ConstElementIterator | getElementsBegin () const |
| Returns a constant iterator pointing to the beginning of the array. More...
|
|
ElementIterator | getElementsBegin () |
| Returns a mutable iterator pointing to the beginning of the array. More...
|
|
ConstElementIterator | getElementsEnd () const |
| Returns a constant iterator pointing to the end of the array. More...
|
|
ElementIterator | getElementsEnd () |
| Returns a mutable iterator pointing to the end of the array. More...
|
|
ConstElementIterator | begin () const |
| Returns a constant iterator pointing to the beginning of the array. More...
|
|
ElementIterator | begin () |
| Returns a mutable iterator pointing to the beginning of the array. More...
|
|
ConstElementIterator | end () const |
| Returns a constant iterator pointing to the end of the array. More...
|
|
ElementIterator | end () |
| Returns a mutable iterator pointing to the end of the array. More...
|
|
ConstReverseElementIterator | getElementsReverseBegin () const |
| Returns a constant iterator pointing to the beginning of the reversed array. More...
|
|
ReverseElementIterator | getElementsReverseBegin () |
| Returns a mutable iterator pointing to the beginning of the reversed array. More...
|
|
ConstReverseElementIterator | getElementsReverseEnd () const |
| Returns a constant iterator pointing to the end of the reversed array. More...
|
|
ReverseElementIterator | getElementsReverseEnd () |
| Returns a mutable iterator pointing to the end of the reversed array. More...
|
|
const StringDataBlockEntry & | getElement (std::size_t idx) const |
| Returns a const reference to the element at index idx. More...
|
|
StringDataBlockEntry & | getElement (std::size_t idx) |
| Returns a non-const reference to the element at index idx. More...
|
|
void | setElement (std::size_t idx, const StringDataBlockEntry &value=StringDataBlockEntry()) |
| Assigns a new value to the element specified by the index idx. More...
|
|
const StringDataBlockEntry & | operator[] (std::size_t idx) const |
| Returns a const reference to the element at index idx. More...
|
|
StringDataBlockEntry & | operator[] (std::size_t idx) |
| Returns a non-const reference to the element at index idx. More...
|
|
An array of Chem::StringDataBlockEntry objects used to store the structure or reaction data block of a STRING SD- or RD-File data record (see [CTFILE]).