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 140 of file Traits.h.

Constructor & Destructor Documentation

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

Definition at line 146 of file Traits.h.

147  {
148  typedef typename Field_T::NestedType NestedType;
149  typedef typename NestedType::value_type value_type;
150 
151  m_name = Field_T::staticClassName();
152  m_name +=
153  std::string("<") + NestedType::staticClassName() + "<" +
155  }
std::string m_name
Definition: Traits.h:157
static std::string name()
Definition: Traits.h:101

Member Function Documentation

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

Definition at line 142 of file Traits.h.

143  {
144  return m_name.c_str();
145  }
std::string m_name
Definition: Traits.h:157

Member Data Documentation

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

Definition at line 157 of file Traits.h.


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