VTK  9.4.20241121
Static Public Member Functions | List of all members
vtk::detail::Name< ObjectType > Struct Template Reference

#include <vtkTypeName.h>

Static Public Member Functions

static std::string value ()
 
static vtkStringToken::Hash token ()
 Return an integer hash of the ObjectType's typename.
 

Detailed Description

template<typename ObjectType>
struct vtk::detail::Name< ObjectType >

Definition at line 27 of file vtkTypeName.h.

Member Function Documentation

◆ value()

template<typename ObjectType >
static std::string vtk::detail::Name< ObjectType >::value ( )
inlinestatic

Definition at line 29 of file vtkTypeName.h.

◆ token()

template<typename ObjectType >
static vtkStringToken::Hash vtk::detail::Name< ObjectType >::token ( )
inlinestatic

Return an integer hash of the ObjectType's typename.

This method should become constexpr once VTK allows c++14 extensions, but because MSVC requires so much string manipulation, it is not possible until local variables are allowed in constexpr functions.

Definition at line 96 of file vtkTypeName.h.


The documentation for this struct was generated from the following file: