Field3D
NestedFieldType< Field_T > Struct Template Reference

Used to return a string for the name of a nested templated field. More...

#include <Traits.h>

Public Member Functions

const char * name ()
 
 NestedFieldType ()
 

Private Attributes

std::string m_name
 

Detailed Description

template<typename Field_T>
struct NestedFieldType< Field_T >

Used to return a string for the name of a nested templated field.

Definition at line 306 of file Traits.h.

Constructor & Destructor Documentation

◆ NestedFieldType()

template<typename Field_T>
NestedFieldType< Field_T >::NestedFieldType ( )
inline

Definition at line 312 of file Traits.h.

313  {
314  typedef typename Field_T::NestedType NestedType;
315  typedef typename NestedType::value_type value_type;
316 
317  m_name = Field_T::staticClassName();
318  m_name +=
319  std::string("<") + NestedType::staticClassName() + "<" +
321  }

Member Function Documentation

◆ name()

template<typename Field_T>
const char* NestedFieldType< Field_T >::name ( )
inline

Definition at line 308 of file Traits.h.

309  {
310  return m_name.c_str();
311  }

Member Data Documentation

◆ m_name

template<typename Field_T>
std::string NestedFieldType< Field_T >::m_name
private

The documentation for this struct was generated from the following file:
NestedFieldType::m_name
std::string m_name
Definition: Traits.h:323
DataTypeTraits::name
static std::string name()
Definition: Traits.h:267