HasCustomComponents concept is satisfied only if a Element class provides the types and member functions specified in this concept. These types and member functions allow to access to a vcl::comp::CustomComponents component of a given element.
More...
#include <vclib/concepts/mesh/components/custom_components.h>
template<typename T>
requires (T&& obj, std::string str, std::vector<std::string> vStr) {
{ obj.hasCustomComponent(str) } -> std::same_as<bool>;
{
} -> std::same_as<bool>;
{
obj.customComponentType(str) } -> std::same_as<std::type_index>;
{
obj.template customComponentNamesOfType<int>()
} -> std::same_as<decltype(vStr)>;
{ obj.template customComponent<int>(str) } -> std::convertible_to<int>;
requires IsConst<T> || requires {
{ obj.template customComponent<int>(str) } -> std::same_as<int&>;
};
}
A class representing a line segment in n-dimensional space. The class is parameterized by a PointConc...
Definition segment.h:43
HasCustomComponents concept is satisfied only if a Element class provides the types and member functi...
Definition custom_components.h:41
HasCustomComponents concept is satisfied only if a Element class provides the types and member functions specified in this concept. These types and member functions allow to access to a vcl::comp::CustomComponents component of a given element.