LLVM  8.0.1
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.

◆ ObjectKey() [2/7]

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

Definition at line 498 of file JSON.h.

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

◆ ObjectKey() [3/7]

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

Definition at line 505 of file JSON.h.

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

◆ ObjectKey() [4/7]

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

Definition at line 511 of file JSON.h.

◆ 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.

References C.

◆ 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.

References llvm::Data.

◆ operator=() [1/2]

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

Definition at line 517 of file JSON.h.

References llvm::Data.

◆ 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::Data.


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