Go to the documentation of this file. 1 #pragma once // Ensure that file is included only once in a single compilation.
20 template <
typename data_t,
21 typename vectorT = std::vector<data_t>,
22 typename hyEdge_index_t = decltype(std::declval<vectorT>().size())>
63 "Index must be non-negative and smaller than "
value_type & operator[](const hyEdge_index_t index)
Get data of hyperedge of given index.
Definition: hy_data_container.hxx:53
This file provides the function hy_assert.
index
Definition: check_push_test.py:10
decltype(std::declval< vectorT >().size()) typedef constructor_value_type
Defines the value type of input argument for standard constructor.
Definition: hy_data_container.hxx:39
vectorT data_container
The internal overall data container which holds all data of a hypergraph's hyperedges.
Definition: hy_data_container.hxx:29
data_t value_type
Defines the return value of the class.
Definition: hy_data_container.hxx:35
Class for saving some (abstract) data per hyperedge.
Definition: hy_data_container.hxx:23
#define hy_assert(Expr, Msg)
The assertion to be used within HyperHDG — deactivate using -DNDEBUG compile flag.
Definition: hy_assert.hxx:38
value_type & get_hyEdge(const hyEdge_index_t index)
Get data of hyperedge of given index.
Definition: hy_data_container.hxx:60