Template Class ExpressionGroup¶
Defined in File expression_group.hpp
Class Documentation¶
-
template<typename T = ExportExpr>
class ExpressionGroup¶ Groups multiple expressions together that are supposed to be exported as a single (named) group (e.g. in a function).
Public Types
-
using iterator = container_type::iterator¶
-
using reverse_iterator = container_type::reverse_iterator¶
-
using const_iterator = container_type::const_iterator¶
-
using const_reverse_iterator = container_type::const_reverse_iterator¶
Public Functions
-
inline explicit ExpressionGroup(std::optional<std::string> name = {})¶
-
inline explicit ExpressionGroup(ExportNode<T> expression)¶
-
inline ExpressionGroup(ExportNode<T> expression, std::optional<std::string> name)¶
-
inline explicit ExpressionGroup(container_type expressions)¶
-
inline ExpressionGroup(container_type expressions, std::optional<std::string> name)¶
-
template<typename Range>
inline explicit ExpressionGroup(const Range &rng, std::optional<std::string> name = {})¶
-
inline bool is_named() const¶
-
inline const std::string &name() const¶
-
inline const_iterator begin() const¶
-
inline const_iterator end() const¶
-
inline const_iterator cbegin() const¶
-
inline const_iterator cend() const¶
-
inline reverse_iterator rbegin()¶
-
inline reverse_iterator rend()¶
-
inline const_reverse_iterator rbegin() const¶
-
inline const_reverse_iterator rend() const¶
-
inline const_reverse_iterator crbegin() const¶
-
inline const_reverse_iterator crend() const¶
-
inline ExportNode<T> &front()¶
-
inline const ExportNode<T> &front() const¶
-
inline ExportNode<T> &back()¶
-
inline const ExportNode<T> &back() const¶
-
inline std::size_t size() const¶
-
inline void add(ExportNode<T> expr)¶
-
inline iterator insert(const_iterator pos, ExportNode<T> expr)¶
-
using iterator = container_type::iterator¶