LLDB mainline
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
lldb_private::Environment::Envp Class Reference

#include <Environment.h>

Public Member Functions

 Envp (Envp &&RHS)=default
 
Envpoperator= (Envp &&RHS)=default
 
char *const * get () const
 
 operator char *const * () const
 

Private Member Functions

 Envp (const Environment &Env)
 
char * make_entry (llvm::StringRef Key, llvm::StringRef Value)
 
 Envp (const Envp &)=delete
 
Envpoperator= (const Envp &)=delete
 

Private Attributes

llvm::BumpPtrAllocator Allocator
 
char ** Data
 

Friends

class Environment
 

Detailed Description

Definition at line 22 of file Environment.h.

Constructor & Destructor Documentation

◆ Envp() [1/3]

lldb_private::Environment::Envp::Envp ( Envp &&  RHS)
default

◆ Envp() [2/3]

Environment::Envp::Envp ( const Environment Env)
explicitprivate

Definition at line 28 of file Environment.cpp.

◆ Envp() [3/3]

lldb_private::Environment::Envp::Envp ( const Envp )
privatedelete

Member Function Documentation

◆ get()

char *const * lldb_private::Environment::Envp::get ( ) const
inline

Definition at line 27 of file Environment.h.

References Data.

Referenced by lldb_private::Args::Args(), LaunchProcessPosixSpawn(), and operator char *const *().

◆ make_entry()

char * Environment::Envp::make_entry ( llvm::StringRef  Key,
llvm::StringRef  Value 
)
private

Definition at line 13 of file Environment.cpp.

References Allocator.

◆ operator char *const *()

lldb_private::Environment::Envp::operator char *const * ( ) const
inline

Definition at line 28 of file Environment.h.

References get().

◆ operator=() [1/2]

Envp & lldb_private::Environment::Envp::operator= ( const Envp )
privatedelete

◆ operator=() [2/2]

Envp & lldb_private::Environment::Envp::operator= ( Envp &&  RHS)
default

Friends And Related Function Documentation

◆ Environment

friend class Environment
friend

Definition at line 35 of file Environment.h.

Member Data Documentation

◆ Allocator

llvm::BumpPtrAllocator lldb_private::Environment::Envp::Allocator
private

Definition at line 37 of file Environment.h.

Referenced by make_entry().

◆ Data

char** lldb_private::Environment::Envp::Data
private

Definition at line 38 of file Environment.h.

Referenced by get().


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