LLVM 22.0.0git
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 1931 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 1932 of file YAMLTraits.h.

Member Function Documentation

◆ inputOne()

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

Definition at line 1934 of file YAMLTraits.h.

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

◆ output()

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

Definition at line 1938 of file YAMLTraits.h.

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


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