LLDB  mainline
Public Member Functions | Static Public Member Functions | Friends | List of all members
lldb::SBFileSpec Class Reference

#include <SBFileSpec.h>

Public Member Functions

 SBFileSpec ()
 
 SBFileSpec (const lldb::SBFileSpec &rhs)
 
 SBFileSpec (const char *path)
 
 SBFileSpec (const char *path, bool resolve)
 
 ~SBFileSpec ()
 
const SBFileSpecoperator= (const lldb::SBFileSpec &rhs)
 
 operator bool () const
 
bool operator== (const SBFileSpec &rhs) const
 
bool operator!= (const SBFileSpec &rhs) const
 
bool IsValid () const
 
bool Exists () const
 
bool ResolveExecutableLocation ()
 
const char * GetFilename () const
 
const char * GetDirectory () const
 
void SetFilename (const char *filename)
 
void SetDirectory (const char *directory)
 
uint32_t GetPath (char *dst_path, size_t dst_len) const
 
bool GetDescription (lldb::SBStream &description) const
 
void AppendPathComponent (const char *file_or_directory)
 

Static Public Member Functions

static int ResolvePath (const char *src_path, char *dst_path, size_t dst_len)
 

Friends

class SBAttachInfo
 
class SBBlock
 
class SBCommandInterpreter
 
class SBCompileUnit
 
class SBDeclaration
 
class SBFileSpecList
 
class SBHostOS
 
class SBLaunchInfo
 
class SBLineEntry
 
class SBModule
 
class SBModuleSpec
 
class SBPlatform
 
class SBProcess
 
class SBProcessInfo
 
class SBSourceManager
 
class SBTarget
 
class SBThread
 

Detailed Description

Definition at line 16 of file SBFileSpec.h.

Constructor & Destructor Documentation

◆ SBFileSpec() [1/4]

SBFileSpec::SBFileSpec ( )

Definition at line 26 of file SBFileSpec.cpp.

References LLDB_RECORD_CONSTRUCTOR_NO_ARGS.

Referenced by SBFileSpec().

◆ SBFileSpec() [2/4]

SBFileSpec::SBFileSpec ( const lldb::SBFileSpec rhs)

Definition at line 30 of file SBFileSpec.cpp.

References lldb_private::clone(), LLDB_RECORD_CONSTRUCTOR, and SBFileSpec().

◆ SBFileSpec() [3/4]

SBFileSpec::SBFileSpec ( const char *  path)

Definition at line 40 of file SBFileSpec.cpp.

References LLDB_RECORD_CONSTRUCTOR.

◆ SBFileSpec() [4/4]

SBFileSpec::SBFileSpec ( const char *  path,
bool  resolve 
)

Definition at line 46 of file SBFileSpec.cpp.

References LLDB_RECORD_CONSTRUCTOR.

◆ ~SBFileSpec()

SBFileSpec::~SBFileSpec ( )

Definition at line 54 of file SBFileSpec.cpp.

Member Function Documentation

◆ AppendPathComponent()

void SBFileSpec::AppendPathComponent ( const char *  file_or_directory)

Definition at line 185 of file SBFileSpec.cpp.

References LLDB_RECORD_METHOD.

Referenced by lldb_private::repro::RegisterMethods< SBFileSpec >().

◆ Exists()

bool SBFileSpec::Exists ( ) const

◆ GetDescription()

bool SBFileSpec::GetDescription ( lldb::SBStream description) const

◆ GetDirectory()

const char * SBFileSpec::GetDirectory ( ) const

◆ GetFilename()

const char * SBFileSpec::GetFilename ( ) const

◆ GetPath()

uint32_t SBFileSpec::GetPath ( char *  dst_path,
size_t  dst_len 
) const

◆ IsValid()

bool SBFileSpec::IsValid ( ) const

◆ operator bool()

SBFileSpec::operator bool ( ) const
explicit

Definition at line 83 of file SBFileSpec.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ operator!=()

bool SBFileSpec::operator!= ( const SBFileSpec rhs) const

Definition at line 72 of file SBFileSpec.cpp.

References LLDB_RECORD_METHOD_CONST.

◆ operator=()

const SBFileSpec & SBFileSpec::operator= ( const lldb::SBFileSpec rhs)

Definition at line 56 of file SBFileSpec.cpp.

References lldb_private::clone(), LLDB_RECORD_METHOD, and LLDB_RECORD_RESULT.

◆ operator==()

bool SBFileSpec::operator== ( const SBFileSpec rhs) const

Definition at line 65 of file SBFileSpec.cpp.

References LLDB_RECORD_METHOD_CONST.

◆ ResolveExecutableLocation()

bool SBFileSpec::ResolveExecutableLocation ( )

◆ ResolvePath()

int SBFileSpec::ResolvePath ( const char *  src_path,
char *  dst_path,
size_t  dst_len 
)
static

◆ SetDirectory()

void SBFileSpec::SetDirectory ( const char *  directory)

Definition at line 136 of file SBFileSpec.cpp.

References LLDB_RECORD_METHOD.

Referenced by lldb_private::repro::RegisterMethods< SBFileSpec >().

◆ SetFilename()

void SBFileSpec::SetFilename ( const char *  filename)

Definition at line 127 of file SBFileSpec.cpp.

References LLDB_RECORD_METHOD.

Referenced by lldb_private::repro::RegisterMethods< SBFileSpec >().

Friends And Related Function Documentation

◆ SBAttachInfo

friend class SBAttachInfo
friend

Definition at line 60 of file SBFileSpec.h.

◆ SBBlock

friend class SBBlock
friend

Definition at line 61 of file SBFileSpec.h.

◆ SBCommandInterpreter

friend class SBCommandInterpreter
friend

Definition at line 62 of file SBFileSpec.h.

◆ SBCompileUnit

friend class SBCompileUnit
friend

Definition at line 63 of file SBFileSpec.h.

◆ SBDeclaration

friend class SBDeclaration
friend

Definition at line 64 of file SBFileSpec.h.

◆ SBFileSpecList

friend class SBFileSpecList
friend

Definition at line 65 of file SBFileSpec.h.

◆ SBHostOS

friend class SBHostOS
friend

Definition at line 66 of file SBFileSpec.h.

◆ SBLaunchInfo

friend class SBLaunchInfo
friend

Definition at line 67 of file SBFileSpec.h.

◆ SBLineEntry

friend class SBLineEntry
friend

Definition at line 68 of file SBFileSpec.h.

◆ SBModule

friend class SBModule
friend

Definition at line 69 of file SBFileSpec.h.

◆ SBModuleSpec

friend class SBModuleSpec
friend

Definition at line 70 of file SBFileSpec.h.

◆ SBPlatform

friend class SBPlatform
friend

Definition at line 71 of file SBFileSpec.h.

◆ SBProcess

friend class SBProcess
friend

Definition at line 72 of file SBFileSpec.h.

◆ SBProcessInfo

friend class SBProcessInfo
friend

Definition at line 73 of file SBFileSpec.h.

◆ SBSourceManager

friend class SBSourceManager
friend

Definition at line 74 of file SBFileSpec.h.

◆ SBTarget

friend class SBTarget
friend

Definition at line 75 of file SBFileSpec.h.

◆ SBThread

friend class SBThread
friend

Definition at line 76 of file SBFileSpec.h.


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