LLVM  6.0.0svn
Public Types | Static Public Member Functions | List of all members
llvm::yaml::StdMapStringCustomMappingTraitsImpl< T > Struct Template Reference

Implementation of CustomMappingTraits for std::map<std::string, T>. More...

#include "llvm/Support/YAMLTraits.h"

Public Types

using map_type = std::map< std::string, T >
 

Static Public Member Functions

static void inputOne (IO &io, StringRef key, map_type &v)
 
static void output (IO &io, map_type &v)
 

Detailed Description

template<typename T>
struct llvm::yaml::StdMapStringCustomMappingTraitsImpl< T >

Implementation of CustomMappingTraits for std::map<std::string, T>.

Definition at line 1611 of file YAMLTraits.h.

Member Typedef Documentation

◆ map_type

template<typename T >
using llvm::yaml::StdMapStringCustomMappingTraitsImpl< T >::map_type = std::map<std::string, T>

Definition at line 1612 of file YAMLTraits.h.

Member Function Documentation

◆ inputOne()

template<typename T >
static void llvm::yaml::StdMapStringCustomMappingTraitsImpl< T >::inputOne ( IO io,
StringRef  key,
map_type v 
)
inlinestatic

Definition at line 1614 of file YAMLTraits.h.

References llvm::yaml::IO::mapRequired(), and llvm::StringRef::str().

◆ output()

template<typename T >
static void llvm::yaml::StdMapStringCustomMappingTraitsImpl< T >::output ( IO io,
map_type v 
)
inlinestatic

Definition at line 1618 of file YAMLTraits.h.

References llvm::yaml::IO::mapRequired().


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