Visual Computing Library
Loading...
Searching...
No Matches
vcl::comp::HasName Concept Reference

HasName concept is satisfied only if a Element or Mesh class provides the member functions specified in this concept. These member functions allows to access to a vcl::comp::Name component of a given element/mesh. More...

#include <vclib/concepts/mesh/components/name.h>

Concept definition

template<typename T>
concept vcl::comp::HasName = requires (T&& obj) {
{ obj.name() } -> std::convertible_to<std::string>;
requires IsConst<T> || requires {
{ obj.name() } -> std::same_as<std::string&>;
};
}
A class representing a line segment in n-dimensional space. The class is parameterized by a PointConc...
Definition segment.h:43
The IsConst concept is satisfied if T satisfies one of the following conditions:
Definition const_correctness.h:43
HasName concept is satisfied only if a Element or Mesh class provides the member functions specified ...
Definition name.h:40

Detailed Description

HasName concept is satisfied only if a Element or Mesh class provides the member functions specified in this concept. These member functions allows to access to a vcl::comp::Name component of a given element/mesh.