LLVM  4.0.0
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
llvm::yaml::has_MappingValidateTraits< T, Context > Struct Template Reference

#include <YAMLTraits.h>

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

Public Types

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

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
 

Detailed Description

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

Definition at line 327 of file YAMLTraits.h.

Member Typedef Documentation

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

Definition at line 328 of file YAMLTraits.h.

Member Function Documentation

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

Member Data Documentation

template<class T , class Context >
bool const llvm::yaml::has_MappingValidateTraits< T, Context >::value
static
Initial value:
=
(sizeof(test<MappingContextTraits<T, Context>>(nullptr)) == 1)

Definition at line 337 of file YAMLTraits.h.


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