LLVM API Documentation

Public Types | Static Public Member Functions | Static Public Attributes
llvm::yaml::has_MappingValidateTraits< T > Struct Template Reference

#include <YAMLTraits.h>

Collaboration diagram for llvm::yaml::has_MappingValidateTraits< T >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef StringRef(* Signature_validate )(class IO &, T &)

Static Public Member Functions

template<typename U >
static char test (SameType< Signature_validate,&U::validate > *)
template<typename U >
static double test (...)

Static Public Attributes

static bool const value = (sizeof(test<MappingTraits<T> >(nullptr)) == 1)

Detailed Description

template<class T>
struct llvm::yaml::has_MappingValidateTraits< T >

Definition at line 241 of file YAMLTraits.h.


Member Typedef Documentation

template<class T >
typedef StringRef(* llvm::yaml::has_MappingValidateTraits< T >::Signature_validate)(class IO &, T &)

Definition at line 243 of file YAMLTraits.h.


Member Function Documentation

template<class T >
template<typename U >
static char llvm::yaml::has_MappingValidateTraits< T >::test ( SameType< Signature_validate,&U::validate > *  ) [static]
template<class T >
template<typename U >
static double llvm::yaml::has_MappingValidateTraits< T >::test (   ...) [static]

Member Data Documentation

template<class T >
bool const llvm::yaml::has_MappingValidateTraits< T >::value = (sizeof(test<MappingTraits<T> >(nullptr)) == 1) [static]

Definition at line 252 of file YAMLTraits.h.


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