LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::FoldingSetNodeWrapper< T > Class Template Reference

FoldingSetNodeWrapper - This template class is used to "wrap" arbitrary types in an enclosing object so that they can be inserted into FoldingSets. More...

#include "llvm/ADT/FoldingSet.h"

Inheritance diagram for llvm::FoldingSetNodeWrapper< T >:
Inheritance graph
[legend]
Collaboration diagram for llvm::FoldingSetNodeWrapper< T >:
Collaboration graph
[legend]

Public Member Functions

template<typename... Ts>
 FoldingSetNodeWrapper (Ts &&... Args)
 
void Profile (FoldingSetNodeID &ID)
 
TgetValue ()
 
const TgetValue () const
 
 operator T & ()
 
 operator const T & () const
 
- Public Member Functions inherited from llvm::FoldingSetBase::Node
 Node ()=default
 
void * getNextInBucket () const
 
void SetNextInBucket (void *N)
 

Detailed Description

template<typename T>
class llvm::FoldingSetNodeWrapper< T >

FoldingSetNodeWrapper - This template class is used to "wrap" arbitrary types in an enclosing object so that they can be inserted into FoldingSets.

Definition at line 710 of file FoldingSet.h.

Constructor & Destructor Documentation

◆ FoldingSetNodeWrapper()

template<typename T >
template<typename... Ts>
llvm::FoldingSetNodeWrapper< T >::FoldingSetNodeWrapper ( Ts &&...  Args)
inlineexplicit

Definition at line 715 of file FoldingSet.h.

Member Function Documentation

◆ getValue() [1/2]

template<typename T >
T& llvm::FoldingSetNodeWrapper< T >::getValue ( )
inline

Definition at line 720 of file FoldingSet.h.

◆ getValue() [2/2]

template<typename T >
const T& llvm::FoldingSetNodeWrapper< T >::getValue ( ) const
inline

Definition at line 721 of file FoldingSet.h.

◆ operator const T &()

template<typename T >
llvm::FoldingSetNodeWrapper< T >::operator const T & ( ) const
inline

Definition at line 724 of file FoldingSet.h.

◆ operator T &()

template<typename T >
llvm::FoldingSetNodeWrapper< T >::operator T& ( )
inline

Definition at line 723 of file FoldingSet.h.

◆ Profile()

template<typename T >
void llvm::FoldingSetNodeWrapper< T >::Profile ( FoldingSetNodeID ID)
inline

Definition at line 718 of file FoldingSet.h.

References llvm::DefaultFoldingSetTrait< T >::Profile().


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