Geogram
Version 1.9.1-rc
A programming library of geometric algorithms
|
Helper class to register new attribute types. More...
#include <geogram/basic/attributes.h>
Public Member Functions | |
geo_register_attribute_type (const std::string &type_name) | |
geo_register_attribute_type constructor More... | |
Helper class to register new attribute types.
T | attribute element type |
Definition at line 797 of file attributes.h.
|
inline |
geo_register_attribute_type constructor
[in] | type_name | a const reference to a string with the C++ type name. |
If the attribute is already registered with the same type_name
and same T
, then a warning message is issued. If the attribute is already registered with the same type_name
but a different T
, then an assertion failure is triggered.
Definition at line 808 of file attributes.h.