LLVM API Documentation

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

#include <YAMLTraits.h>

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

List of all members.

Public Types

typedef StringRef(* Signature_input )(StringRef, void *, T &)
typedef void(* Signature_output )(const T &, void *, llvm::raw_ostream &)
typedef bool(* Signature_mustQuote )(StringRef)

Static Public Member Functions

template<typename U >
static char test (SameType< Signature_input,&U::input > *, SameType< Signature_output,&U::output > *, SameType< Signature_mustQuote,&U::mustQuote > *)
template<typename U >
static double test (...)

Static Public Attributes

static bool const value

Detailed Description

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

Definition at line 203 of file YAMLTraits.h.


Member Typedef Documentation

template<class T >
typedef StringRef(* llvm::yaml::has_ScalarTraits< T >::Signature_input)(StringRef, void *, T &)

Definition at line 205 of file YAMLTraits.h.

template<class T >
typedef bool(* llvm::yaml::has_ScalarTraits< T >::Signature_mustQuote)(StringRef)

Definition at line 207 of file YAMLTraits.h.

template<class T >
typedef void(* llvm::yaml::has_ScalarTraits< T >::Signature_output)(const T &, void *, llvm::raw_ostream &)

Definition at line 206 of file YAMLTraits.h.


Member Function Documentation

template<class T >
template<typename U >
static char llvm::yaml::has_ScalarTraits< T >::test ( SameType< Signature_input,&U::input > *  ,
SameType< Signature_output,&U::output > *  ,
SameType< Signature_mustQuote,&U::mustQuote > *   
) [static]
template<class T >
template<typename U >
static double llvm::yaml::has_ScalarTraits< T >::test (   ...) [static]

Member Data Documentation

template<class T >
bool const llvm::yaml::has_ScalarTraits< T >::value [static]
Initial value:
      (sizeof(test<ScalarTraits<T>>(nullptr, nullptr, nullptr)) == 1)

Definition at line 218 of file YAMLTraits.h.


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