Classes |
Public Types |
Public Member Functions |
Static Public Member Functions |
Private Types |
Private Member Functions |
Private Attributes |
List of all members
SLHAea::Coll Class Reference
Collaboration diagram for SLHAea::Coll:
![]()
Detailed DescriptionContainer of Blocks that resembles a complete SLHA structure. This class is a container of Blocks that resembles a complete SLHA structure. Its name is an abbreviation of "collection" since it is a collection of Blocks. The elements of Coll objects can be accessed via their names (which are always compared case-insensitive) with the operator[]() and at() functions and access to single fields, Lines and Blocks via the Key type is provided by the field(), line() and block() functions. To fill this container, the functions read() or str() can be used which read data from an input stream or a string, respectively. Member Typedef Documentation◆ const_iterator
◆ const_pointer
◆ const_reference
◆ const_reverse_iterator
◆ difference_type
◆ impl_type
◆ iterator
◆ key_type
◆ pointer
◆ reference
◆ reverse_iterator
◆ size_type
◆ value_type
Constructor & Destructor Documentation◆ Coll() [1/2]
◆ Coll() [2/2]
Member Function Documentation◆ at() [1/4]◆ at() [2/4]
◆ at() [3/4]
Locates a Block in the Coll.
This functions takes a vector of strings and locates the Block whose first strings of the block definition are equal to the strings in ◆ at() [4/4]
Locates a Block in the Coll.
This functions takes a vector of strings and locates the Block whose first strings of the block definition are equal to the strings in ◆ back() [1/2]
Returns a read/write reference to the last element of the Coll. Definition at line 1831 of file slhaea.h. References SLHAea::Block::back(), and impl_. Referenced by operator[](), and push_back_named_block(). ◆ back() [2/2]
Returns a read-only (constant) reference to the last element of the Coll. Definition at line 1839 of file slhaea.h. References SLHAea::Block::back(), and impl_. ◆ begin() [1/2]
Returns a read/write iterator that points to the first element in the Coll. Iteration is done in ordinary element order. Definition at line 1910 of file slhaea.h. References impl_. Referenced by comment(), count(), erase(), erase_if_empty(), find(), find(), find(), find(), SLHAea::operator<(), SLHAea::operator<<(), SLHAea::operator==(), reformat(), and uncomment(). ◆ begin() [2/2]
◆ block() [1/2]
Accesses a Block in the Coll.
Definition at line 2508 of file slhaea.h. References at(). Referenced by at(), at(), at(), at(), erase(), erase_first(), erase_if_empty(), erase_last(), insert(), line(), line(), SLHAea::Coll::key_matches::operator()(), SLHAea::Coll::key_matches_block_def::operator()(), operator[](), push_back(), push_back(), push_front(), push_front(), and read(). ◆ block() [2/2]
◆ cbegin()
◆ cend()
◆ clear()
◆ comment()
Comments all Blocks in the Coll.
Definition at line 2339 of file slhaea.h. References begin(), SLHAea::Block::comment(), end(), and MEM_FN. ◆ count()◆ crbegin()
◆ crend()
◆ empty()
◆ end() [1/2]
Returns a read/write iterator that points one past the last element in the Coll. Iteration is done in ordinary element order. Definition at line 1937 of file slhaea.h. References impl_. Referenced by at(), at(), at(), at(), comment(), count(), erase(), erase_first(), erase_if_empty(), erase_last(), find(), find(), find(), find(), SLHAea::operator<(), SLHAea::operator<<(), SLHAea::operator==(), operator[](), reformat(), and uncomment(). ◆ end() [2/2]
◆ erase() [1/3]◆ erase() [2/3]Erases a range of elements.
This function erases the elements in the range [ Definition at line 2253 of file slhaea.h. References impl_. ◆ erase() [3/3]Erases element at given
This function erases the element at the given Definition at line 2238 of file slhaea.h. References impl_. Referenced by erase(), erase_first(), erase_if_empty(), and erase_last(). ◆ erase_first()Erases first Block with a given name.
This function takes a key and erases the first Block whose name matches ◆ erase_if_empty()◆ erase_last()Erases last Block with a given name.
This function takes a key and erases the last Block whose name matches Definition at line 2284 of file slhaea.h. References block(), end(), erase(), find(), rbegin(), and rend(). ◆ field() [1/2]
Accesses a single field in the Coll.
Definition at line 2524 of file slhaea.h. References SLHAea::Line::at(), and line(). ◆ field() [2/2]
Accesses a single field in the Coll.
Definition at line 2528 of file slhaea.h. References SLHAea::Line::at(), and line(). ◆ find() [1/6]Tries to locate a Block in the Coll.
This function takes a key and tries to locate the Block whose name matches Definition at line 2024 of file slhaea.h. References begin(), and end(). Referenced by at(), at(), at(), at(), erase_first(), erase_if_empty(), erase_last(), operator[](), flexiblesusy::SLHA_io::read_block(), flexiblesusy::SLHA_io::read_block(), flexiblesusy::SLHA_io::read_entry(), flexiblesusy::detail::read_matrix_(), flexiblesusy::SLHA_io::read_scale(), and flexiblesusy::detail::read_vector_(). ◆ find() [2/6]
Tries to locate a Block in the Coll.
This function takes a key and tries to locate the Block whose name matches ◆ find() [3/6]
Tries to locate a Block in the Coll.
This functions takes a vector of strings and tries to locate the Block whose first strings of the block definition are equal to the strings in ◆ find() [4/6]
Tries to locate a Block in the Coll.
This functions takes a vector of strings and tries to locate the Block whose first strings of the block definition are equal to the strings in ◆ find() [5/6]
template<class InputIterator >
Tries to locate a Block in a range.
This function tries to locate in the range [ ◆ find() [6/6]
template<class InputIterator >
Tries to locate a Block in a range.
This function tries to locate in the range [ ◆ from_str()
◆ front() [1/2]
Returns a read/write reference to the first element of the Coll. Definition at line 1816 of file slhaea.h. References SLHAea::Block::front(), and impl_. ◆ front() [2/2]
Returns a read-only (constant) reference to the first element of the Coll. Definition at line 1824 of file slhaea.h. References SLHAea::Block::front(), and impl_. ◆ insert() [1/2]
Inserts a Block before given
This function inserts a copy of ◆ insert() [2/2]
template<class InputIterator >
Inserts a range into the Coll.
This function inserts copies of the Blocks in the range [ Definition at line 2226 of file slhaea.h. References impl_. ◆ line() [1/2]
◆ line() [2/2]
◆ max_size()
◆ operator[]()Locates a Block in the Coll.
This function locates the first Block whose name equals Definition at line 1725 of file slhaea.h. References back(), block(), end(), find(), and push_back(). ◆ pop_back()
◆ push_back() [1/2]
Adds a Block to the end of the Coll.
This function creates an element at the end of the Coll and assigns the Block that is constructed from Definition at line 2160 of file slhaea.h. References block(), impl_, SLHAea::Block::push_back(), and SLHAea::Block::str(). ◆ push_back() [2/2]
Adds a Block to the end of the Coll.
This function creates an element at the end of the Coll and assigns the given Definition at line 2148 of file slhaea.h. References block(), and impl_. Referenced by operator[](), and push_back_named_block(). ◆ push_back_named_block()◆ push_front() [1/2]
Adds a Block to the begin of the Coll.
This function creates an element at the begin of the Coll and assigns the Block that is constructed from Definition at line 2187 of file slhaea.h. References block(), impl_, and SLHAea::Block::str(). ◆ push_front() [2/2]
◆ rbegin() [1/2]
Returns a read/write reverse iterator that points to the last element in the Coll. Iteration is done in reverse element order. Definition at line 1963 of file slhaea.h. References impl_. Referenced by erase_last(). ◆ rbegin() [2/2]
◆ read()
Assigns content from an input stream to the Coll.
This function reads non-empty lines from Definition at line 1669 of file slhaea.h. References block(), erase_if_empty(), SLHAea::detail::is_all_whitespace(), SLHAea::Line::is_block_def(), line(), SLHAea::Block::push_back(), push_back_named_block(), size(), and SLHAea::Line::str(). Referenced by Coll(), SLHAea::operator>>(), and str(). ◆ reformat()
Reformats all Blocks in the Coll.
Definition at line 2331 of file slhaea.h. References begin(), end(), MEM_FN, and SLHAea::Block::reformat(). ◆ rend() [1/2]
Returns a read/write reverse iterator that points to one before the first element in the Coll. Iteration is done in reverse element order. Definition at line 1990 of file slhaea.h. References impl_. Referenced by erase_last(). ◆ rend() [2/2]
◆ size()
Returns the number of elements in the Coll. Definition at line 2126 of file slhaea.h. References impl_. Referenced by SLHAea::operator==(), and read(). ◆ str() [1/2]
◆ str() [2/2]
◆ swap()
◆ uncomment()
Uncomments all Blocks in the Coll.
Definition at line 2347 of file slhaea.h. References begin(), end(), MEM_FN, and SLHAea::Block::uncomment(). Member Data Documentation◆ impl_
Definition at line 2412 of file slhaea.h. Referenced by back(), back(), begin(), begin(), cbegin(), cend(), clear(), crbegin(), crend(), empty(), end(), end(), erase(), erase(), front(), front(), insert(), insert(), max_size(), pop_back(), push_back(), push_back(), push_front(), push_front(), rbegin(), rbegin(), rend(), rend(), size(), and swap(). The documentation for this class was generated from the following file: Generated on Sun Apr 6 2025 11:10:38 for FlexibleSUSY by |