LLVM  13.0.0git
Public Member Functions | List of all members
llvm::json::ObjectKey Class Reference

ObjectKey is a used to capture keys in Object. More...

#include "llvm/Support/JSON.h"

Public Member Functions

 ObjectKey (const char *S)
 
 ObjectKey (std::string S)
 
 ObjectKey (llvm::StringRef S)
 
 ObjectKey (const llvm::SmallVectorImpl< char > &V)
 
 ObjectKey (const llvm::formatv_object_base &V)
 
 ObjectKey (const ObjectKey &C)
 
 ObjectKey (ObjectKey &&C)
 
ObjectKeyoperator= (const ObjectKey &C)
 
ObjectKeyoperator= (ObjectKey &&)=default
 
 operator llvm::StringRef () const
 
std::string str () const
 

Detailed Description

ObjectKey is a used to capture keys in Object.

Like Value but:

Definition at line 495 of file JSON.h.

Constructor & Destructor Documentation

◆ ObjectKey() [1/7]

llvm::json::ObjectKey::ObjectKey ( const char *  S)
inline

Definition at line 497 of file JSON.h.

Referenced by ObjectKey().

◆ ObjectKey() [2/7]

llvm::json::ObjectKey::ObjectKey ( std::string  S)
inline

Definition at line 498 of file JSON.h.

References assert(), llvm::json::fixUTF8(), llvm::json::isUTF8(), LLVM_UNLIKELY, move, and string.

◆ ObjectKey() [3/7]

llvm::json::ObjectKey::ObjectKey ( llvm::StringRef  S)
inline

Definition at line 505 of file JSON.h.

References assert(), llvm::json::fixUTF8(), llvm::json::isUTF8(), LLVM_UNLIKELY, ObjectKey(), and S.

◆ ObjectKey() [4/7]

llvm::json::ObjectKey::ObjectKey ( const llvm::SmallVectorImpl< char > &  V)
inline

Definition at line 511 of file JSON.h.

References string.

◆ ObjectKey() [5/7]

llvm::json::ObjectKey::ObjectKey ( const llvm::formatv_object_base V)
inline

Definition at line 513 of file JSON.h.

◆ ObjectKey() [6/7]

llvm::json::ObjectKey::ObjectKey ( const ObjectKey C)
inline

Definition at line 515 of file JSON.h.

◆ ObjectKey() [7/7]

llvm::json::ObjectKey::ObjectKey ( ObjectKey &&  C)
inline

Definition at line 516 of file JSON.h.

Member Function Documentation

◆ operator llvm::StringRef()

llvm::json::ObjectKey::operator llvm::StringRef ( ) const
inline

Definition at line 528 of file JSON.h.

◆ operator=() [1/2]

ObjectKey& llvm::json::ObjectKey::operator= ( const ObjectKey C)
inline

Definition at line 517 of file JSON.h.

◆ operator=() [2/2]

ObjectKey& llvm::json::ObjectKey::operator= ( ObjectKey &&  )
default

◆ str()

std::string llvm::json::ObjectKey::str ( ) const
inline

Definition at line 529 of file JSON.h.

References llvm::StringRef::str().


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