class IO
Declaration
class IO { /* full declaration omitted */ };
Declared at: llvm/include/llvm/Support/YAMLTraits.h:747
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 T ConstVal)
- public template <typename T>void bitSetCase(T & Val, const char * Str, const uint32_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 uint32_t ConstVal)
- public template <typename T>void enumCase(T & Val, const char * Str, const 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>void mapOptional(const char * Key, T & Val)
- public template <typename T, typename DefaultT>void mapOptional(const char * Key, T & Val, const DefaultT & Default)
- public template <typename T, typename Context>void mapOptionalWithContext(const char * Key, Optional<T> & Val, Context & Ctx)
- public template <typename T, typename Context>typename std::enable_if<!has_SequenceTraits<T>::value, void>::type mapOptionalWithContext(const char * Key, T & Val, Context & Ctx)
- public template <typename T, typename Context>typename std::enable_if<has_SequenceTraits<T>::value, void>::type mapOptionalWithContext(const char * Key, T & Val, Context & Ctx)
- 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>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 *&)
- public virtual void scalarString(llvm::StringRef &, llvm::yaml::QuotingType)
- public virtual void scalarTag(std::string &)
- 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:749
Parameters
- void* Ctxt = nullptr
¶virtual bool beginBitSetScalar(bool&)
virtual bool beginBitSetScalar(bool&)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:780
Parameters
- bool&
¶virtual void beginEnumScalar()
virtual void beginEnumScalar()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:775
¶virtual void beginFlowMapping()
virtual void beginFlowMapping()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:772
¶virtual unsigned int beginFlowSequence()
virtual unsigned int beginFlowSequence()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:760
¶virtual void beginMapping()
virtual void beginMapping()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:766
¶virtual unsigned int beginSequence()
virtual unsigned int beginSequence()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:754
¶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:819
Templates
- T
Parameters
- T& Val
- const char* Str
- const T ConstVal
¶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:827
Templates
- T
Parameters
- T& Val
- const char* Str
- const uint32_t ConstVal
¶virtual bool bitSetMatch(const char*, bool)
virtual bool bitSetMatch(const char*, bool)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:781
Parameters
- const char*
- bool
¶virtual void blockScalarString(llvm::StringRef&)
virtual void blockScalarString(llvm::StringRef&)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:785
Parameters
¶virtual bool canElideEmptySequence()
virtual bool canElideEmptySequence()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:758
¶virtual void endBitSetScalar()
virtual void endBitSetScalar()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:782
¶virtual void endEnumScalar()
virtual void endEnumScalar()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:778
¶virtual void endFlowMapping()
virtual void endFlowMapping()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:773
¶virtual void endFlowSequence()
virtual void endFlowSequence()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:763
¶virtual void endMapping()
virtual void endMapping()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:767
¶virtual void endSequence()
virtual void endSequence()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:757
¶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:801
Templates
- T
Parameters
- T& Val
- const char* Str
- const uint32_t ConstVal
¶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:793
Templates
- T
Parameters
- T& Val
- const char* Str
- const 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:808
Templates
- FBT
- T
Parameters
- T& Val
¶void* getContext() const
void* getContext() const
Declared at: llvm/include/llvm/Support/YAMLTraits.h:846
¶virtual llvm::yaml::NodeKind getNodeKind()
virtual llvm::yaml::NodeKind getNodeKind()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:788
¶virtual std::vector<StringRef> keys()
virtual std::vector<StringRef> keys()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:770
¶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:859
Templates
- T
Parameters
- const char* Key
- T& Val
¶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:865
Templates
- T
- DefaultT
Parameters
- const char* Key
- T& Val
- const DefaultT& Default
¶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:880
Templates
- T
- Context
Parameters
- const char* Key
- Optional<T>& Val
- Context& Ctx
¶template <typename T, typename Context>
typename std::enable_if<
!has_SequenceTraits<T>::value,
void>::type
mapOptionalWithContext(const char* Key,
T& Val,
Context& Ctx)
template <typename T, typename Context>
typename std::enable_if<
!has_SequenceTraits<T>::value,
void>::type
mapOptionalWithContext(const char* Key,
T& Val,
Context& Ctx)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:887
Templates
- T
- Context
Parameters
- const char* Key
- T& Val
- Context& Ctx
¶template <typename T, typename Context>
typename std::enable_if<
has_SequenceTraits<T>::value,
void>::type
mapOptionalWithContext(const char* Key,
T& Val,
Context& Ctx)
template <typename T, typename Context>
typename std::enable_if<
has_SequenceTraits<T>::value,
void>::type
mapOptionalWithContext(const char* Key,
T& Val,
Context& Ctx)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:872
Templates
- T
- Context
Parameters
- const char* Key
- T& Val
- Context& Ctx
¶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:892
Templates
- T
- Context
- DefaultT
Parameters
- const char* Key
- T& Val
- const DefaultT& Default
- 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:855
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:849
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:765
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:840
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:834
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:777
¶virtual bool matchEnumScalar(const char*, bool)
virtual bool matchEnumScalar(const char*, bool)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:776
Parameters
- const char*
- bool
¶virtual bool outputting() const
virtual bool outputting() const
Declared at: llvm/include/llvm/Support/YAMLTraits.h:752
¶virtual void postflightElement(void*)
virtual void postflightElement(void*)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:756
Parameters
- void*
¶virtual void postflightFlowElement(void*)
virtual void postflightFlowElement(void*)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:762
Parameters
- void*
¶virtual void postflightKey(void*)
virtual void postflightKey(void*)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:769
Parameters
- void*
¶virtual bool preflightElement(unsigned int,
void*&)
virtual bool preflightElement(unsigned int,
void*&)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:755
Parameters
- unsigned int
- void*&
¶virtual bool preflightFlowElement(unsigned int,
void*&)
virtual bool preflightFlowElement(unsigned int,
void*&)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:761
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:768
Parameters
- const char*
- bool
- bool
- bool&
- void*&
¶virtual void scalarString(llvm::StringRef&,
llvm::yaml::QuotingType)
virtual void scalarString(llvm::StringRef&,
llvm::yaml::QuotingType)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:784
Parameters
- llvm::StringRef&
- llvm::yaml::QuotingType
¶virtual void scalarTag(std::string&)
virtual void scalarTag(std::string&)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:786
Parameters
¶void setContext(void*)
void setContext(void*)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:847
Parameters
- void*
¶virtual void setError(const llvm::Twine&)
virtual void setError(const llvm::Twine&)
Declared at: llvm/include/llvm/Support/YAMLTraits.h:790
Parameters
- const llvm::Twine&
¶virtual ~IO()
virtual ~IO()
Declared at: llvm/include/llvm/Support/YAMLTraits.h:750