class IO
Declaration
class IO { /* full declaration omitted */ };
Declared at: llvm/include/llvm/Support/YAMLTraits.h:773
Member Variables
- private void* Ctxt
Method Overview
- public IO(void * Ctxt = nullptr)
- public virtual bool beginBitSetScalar(bool &)
- public virtual void beginEnumScalar()
- public virtual void beginFlowMapping()
- public virtual unsigned int beginFlowSequence()
- public virtual void beginMapping()
- public virtual unsigned int beginSequence()
- public template <typename T>void bitSetCase(T & Val, const char * Str, const uint32_t ConstVal)
- public template <typename T>void bitSetCase(T & Val, const char * Str, const T ConstVal)
- public virtual bool bitSetMatch(const char *, bool)
- public virtual void blockScalarString(llvm::StringRef &)
- public virtual bool canElideEmptySequence()
- public virtual void endBitSetScalar()
- public virtual void endEnumScalar()
- public virtual void endFlowMapping()
- public virtual void endFlowSequence()
- public virtual void endMapping()
- public virtual void endSequence()
- public template <typename T>void enumCase(T & Val, const char * Str, const T ConstVal)
- public template <typename T>void enumCase(T & Val, const char * Str, const uint32_t ConstVal)
- public template <typename FBT, typename T>void enumFallback(T & Val)
- public void * getContext() const
- public virtual llvm::yaml::NodeKind getNodeKind()
- public virtual std::vector<StringRef> keys()
- public template <typename T, typename DefaultT>void mapOptional(const char * Key, T & Val, const DefaultT & Default)
- public template <typename T>void mapOptional(const char * Key, T & Val)
- public template <typename T, typename Context, typename DefaultT>void mapOptionalWithContext(const char * Key, T & Val, const DefaultT & Default, Context & Ctx)
- public template <typename T, typename Context>std::enable_if_t<!has_SequenceTraits<T>::value, void> mapOptionalWithContext(const char * Key, T & Val, Context & Ctx)
- public template <typename T, typename Context>void mapOptionalWithContext(const char * Key, Optional<T> & Val, Context & Ctx)
- public template <typename T, typename Context>std::enable_if_t<has_SequenceTraits<T>::value, void> mapOptionalWithContext(const char * Key, T & Val, Context & Ctx)
- public template <typename T, typename Context>void mapRequired(const char * Key, T & Val, Context & Ctx)
- public template <typename T>void mapRequired(const char * Key, T & Val)
- public virtual bool mapTag(llvm::StringRef Tag, bool Default = false)
- public template <typename T>void maskedBitSetCase(T & Val, const char * Str, uint32_t ConstVal, uint32_t Mask)
- public template <typename T>void maskedBitSetCase(T & Val, const char * Str, T ConstVal, T Mask)
- public virtual bool matchEnumFallback()
- public virtual bool matchEnumScalar(const char *, bool)
- public virtual bool outputting() const
- public virtual void postflightElement(void *)
- public virtual void postflightFlowElement(void *)
- public virtual void postflightKey(void *)
- public virtual bool preflightElement(unsigned int, void *&)
- public virtual bool preflightFlowElement(unsigned int, void *&)
- public virtual bool preflightKey(const char *, bool, bool, bool &, void *&)
- private template <typename T, typename Context>void processKey(const char * Key, T & Val, bool Required, Context & Ctx)
- private template <typename T, typename Context>void processKeyWithDefault(const char * Key, Optional<T> & Val, const Optional<T> & DefaultValue, bool Required, Context & Ctx)
- private template <typename T, typename Context>void processKeyWithDefault(const char * Key, T & Val, const T & DefaultValue, bool Required, Context & Ctx)
- public virtual void scalarString(llvm::StringRef &, llvm::yaml::QuotingType)
- public virtual void scalarTag(std::string &)
- public virtual void setAllowUnknownKeys(bool Allow)
- public void setContext(void *)
- public virtual void setError(const llvm::Twine &)
- public virtual ~IO()
Methods
¶IO(void* Ctxt = nullptr)
IO(void* Ctxt = nullptr)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:775
Parameters
- void* Ctxt = nullptr
¶virtual bool beginBitSetScalar(bool&)
virtual bool beginBitSetScalar(bool&)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:806
Parameters
- bool&
¶virtual void beginEnumScalar()
virtual void beginEnumScalar()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:801
¶virtual void beginFlowMapping()
virtual void beginFlowMapping()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:798
¶virtual unsigned int beginFlowSequence()
virtual unsigned int beginFlowSequence()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:786
¶virtual void beginMapping()
virtual void beginMapping()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:792
¶virtual unsigned int beginSequence()
virtual unsigned int beginSequence()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:780
¶template <typename T>
void bitSetCase(T& Val,
const char* Str,
const uint32_t ConstVal)
template <typename T>
void bitSetCase(T& Val,
const char* Str,
const uint32_t ConstVal)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:854
Templates
- T
Parameters
- T& Val
- const char* Str
- const uint32_t ConstVal
¶template <typename T>
void bitSetCase(T& Val,
const char* Str,
const T ConstVal)
template <typename T>
void bitSetCase(T& Val,
const char* Str,
const T ConstVal)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:846
Templates
- T
Parameters
- T& Val
- const char* Str
- const T ConstVal
¶virtual bool bitSetMatch(const char*, bool)
virtual bool bitSetMatch(const char*, bool)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:807
Parameters
- const char*
- bool
¶virtual void blockScalarString(llvm::StringRef&)
virtual void blockScalarString(llvm::StringRef&)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:811
Parameters
¶virtual bool canElideEmptySequence()
virtual bool canElideEmptySequence()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:784
¶virtual void endBitSetScalar()
virtual void endBitSetScalar()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:808
¶virtual void endEnumScalar()
virtual void endEnumScalar()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:804
¶virtual void endFlowMapping()
virtual void endFlowMapping()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:799
¶virtual void endFlowSequence()
virtual void endFlowSequence()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:789
¶virtual void endMapping()
virtual void endMapping()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:793
¶virtual void endSequence()
virtual void endSequence()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:783
¶template <typename T>
void enumCase(T& Val,
const char* Str,
const T ConstVal)
template <typename T>
void enumCase(T& Val,
const char* Str,
const T ConstVal)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:820
Templates
- T
Parameters
- T& Val
- const char* Str
- const T ConstVal
¶template <typename T>
void enumCase(T& Val,
const char* Str,
const uint32_t ConstVal)
template <typename T>
void enumCase(T& Val,
const char* Str,
const uint32_t ConstVal)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:828
Templates
- T
Parameters
- T& Val
- const char* Str
- const uint32_t ConstVal
¶template <typename FBT, typename T>
void enumFallback(T& Val)
template <typename FBT, typename T>
void enumFallback(T& Val)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:835
Templates
- FBT
- T
Parameters
- T& Val
¶void* getContext() const
void* getContext() const
Declared at: llvm/include/llvm/Support/YAMLTraits.h:873
¶virtual llvm::yaml::NodeKind getNodeKind()
virtual llvm::yaml::NodeKind getNodeKind()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:814
¶virtual std::vector<StringRef> keys()
virtual std::vector<StringRef> keys()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:796
¶template <typename T, typename DefaultT>
void mapOptional(const char* Key,
T& Val,
const DefaultT& Default)
template <typename T, typename DefaultT>
void mapOptional(const char* Key,
T& Val,
const DefaultT& Default)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:892
Templates
- T
- DefaultT
Parameters
- const char* Key
- T& Val
- const DefaultT& Default
¶template <typename T>
void mapOptional(const char* Key, T& Val)
template <typename T>
void mapOptional(const char* Key, T& Val)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:886
Templates
- T
Parameters
- const char* Key
- T& Val
¶template <typename T,
typename Context,
typename DefaultT>
void mapOptionalWithContext(
const char* Key,
T& Val,
const DefaultT& Default,
Context& Ctx)
template <typename T,
typename Context,
typename DefaultT>
void mapOptionalWithContext(
const char* Key,
T& Val,
const DefaultT& Default,
Context& Ctx)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:919
Templates
- T
- Context
- DefaultT
Parameters
- const char* Key
- T& Val
- const DefaultT& Default
- Context& Ctx
¶template <typename T, typename Context>
std::enable_if_t<!has_SequenceTraits<T>::value,
void>
mapOptionalWithContext(const char* Key,
T& Val,
Context& Ctx)
template <typename T, typename Context>
std::enable_if_t<!has_SequenceTraits<T>::value,
void>
mapOptionalWithContext(const char* Key,
T& Val,
Context& Ctx)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:914
Templates
- T
- Context
Parameters
- const char* Key
- T& Val
- Context& Ctx
¶template <typename T, typename Context>
void mapOptionalWithContext(const char* Key,
Optional<T>& Val,
Context& Ctx)
template <typename T, typename Context>
void mapOptionalWithContext(const char* Key,
Optional<T>& Val,
Context& Ctx)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:907
Templates
- T
- Context
Parameters
- const char* Key
- Optional<T>& Val
- Context& Ctx
¶template <typename T, typename Context>
std::enable_if_t<has_SequenceTraits<T>::value,
void>
mapOptionalWithContext(const char* Key,
T& Val,
Context& Ctx)
template <typename T, typename Context>
std::enable_if_t<has_SequenceTraits<T>::value,
void>
mapOptionalWithContext(const char* Key,
T& Val,
Context& Ctx)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:899
Templates
- T
- Context
Parameters
- const char* Key
- T& Val
- Context& Ctx
¶template <typename T, typename Context>
void mapRequired(const char* Key,
T& Val,
Context& Ctx)
template <typename T, typename Context>
void mapRequired(const char* Key,
T& Val,
Context& Ctx)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:882
Templates
- T
- Context
Parameters
- const char* Key
- T& Val
- Context& Ctx
¶template <typename T>
void mapRequired(const char* Key, T& Val)
template <typename T>
void mapRequired(const char* Key, T& Val)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:876
Templates
- T
Parameters
- const char* Key
- T& Val
¶virtual bool mapTag(llvm::StringRef Tag,
bool Default = false)
virtual bool mapTag(llvm::StringRef Tag,
bool Default = false)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:791
Parameters
- llvm::StringRef Tag
- bool Default = false
¶template <typename T>
void maskedBitSetCase(T& Val,
const char* Str,
uint32_t ConstVal,
uint32_t Mask)
template <typename T>
void maskedBitSetCase(T& Val,
const char* Str,
uint32_t ConstVal,
uint32_t Mask)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:867
Templates
- T
Parameters
- T& Val
- const char* Str
- uint32_t ConstVal
- uint32_t Mask
¶template <typename T>
void maskedBitSetCase(T& Val,
const char* Str,
T ConstVal,
T Mask)
template <typename T>
void maskedBitSetCase(T& Val,
const char* Str,
T ConstVal,
T Mask)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:861
Templates
- T
Parameters
- T& Val
- const char* Str
- T ConstVal
- T Mask
¶virtual bool matchEnumFallback()
virtual bool matchEnumFallback()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:803
¶virtual bool matchEnumScalar(const char*, bool)
virtual bool matchEnumScalar(const char*, bool)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:802
Parameters
- const char*
- bool
¶virtual bool outputting() const
virtual bool outputting() const
Declared at: llvm/include/llvm/Support/YAMLTraits.h:778
¶virtual void postflightElement(void*)
virtual void postflightElement(void*)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:782
Parameters
- void*
¶virtual void postflightFlowElement(void*)
virtual void postflightFlowElement(void*)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:788
Parameters
- void*
¶virtual void postflightKey(void*)
virtual void postflightKey(void*)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:795
Parameters
- void*
¶virtual bool preflightElement(unsigned int,
void*&)
virtual bool preflightElement(unsigned int,
void*&)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:781
Parameters
- unsigned int
- void*&
¶virtual bool preflightFlowElement(unsigned int,
void*&)
virtual bool preflightFlowElement(unsigned int,
void*&)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:787
Parameters
- unsigned int
- void*&
¶virtual bool preflightKey(const char*,
bool,
bool,
bool&,
void*&)
virtual bool preflightKey(const char*,
bool,
bool,
bool&,
void*&)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:794
Parameters
- const char*
- bool
- bool
- bool&
- void*&
¶template <typename T, typename Context>
void processKey(const char* Key,
T& Val,
bool Required,
Context& Ctx)
template <typename T, typename Context>
void processKey(const char* Key,
T& Val,
bool Required,
Context& Ctx)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:951
Templates
- T
- Context
Parameters
- const char* Key
- T& Val
- bool Required
- Context& Ctx
¶template <typename T, typename Context>
void processKeyWithDefault(
const char* Key,
Optional<T>& Val,
const Optional<T>& DefaultValue,
bool Required,
Context& Ctx)
template <typename T, typename Context>
void processKeyWithDefault(
const char* Key,
Optional<T>& Val,
const Optional<T>& DefaultValue,
bool Required,
Context& Ctx)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:929
Templates
- T
- Context
Parameters
- const char* Key
- Optional<T>& Val
- const Optional<T>& DefaultValue
- bool Required
- Context& Ctx
¶template <typename T, typename Context>
void processKeyWithDefault(const char* Key,
T& Val,
const T& DefaultValue,
bool Required,
Context& Ctx)
template <typename T, typename Context>
void processKeyWithDefault(const char* Key,
T& Val,
const T& DefaultValue,
bool Required,
Context& Ctx)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:934
Templates
- T
- Context
Parameters
- const char* Key
- T& Val
- const T& DefaultValue
- bool Required
- Context& Ctx
¶virtual void scalarString(llvm::StringRef&,
llvm::yaml::QuotingType)
virtual void scalarString(llvm::StringRef&,
llvm::yaml::QuotingType)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:810
Parameters
- llvm::StringRef&
- llvm::yaml::QuotingType
¶virtual void scalarTag(std::string&)
virtual void scalarTag(std::string&)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:812
Parameters
¶virtual void setAllowUnknownKeys(bool Allow)
virtual void setAllowUnknownKeys(bool Allow)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:817
Parameters
- bool Allow
¶void setContext(void*)
void setContext(void*)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:874
Parameters
- void*
¶virtual void setError(const llvm::Twine&)
virtual void setError(const llvm::Twine&)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:816
Parameters
- const llvm::Twine&
¶virtual ~IO()
virtual ~IO()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:776