LLDB
mainline
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
i
j
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Variables
a
b
d
e
f
g
h
i
k
l
n
p
r
s
t
v
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
v
w
Enumerator
a
c
d
e
f
g
i
k
l
n
o
p
s
t
u
v
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Related Functions
:
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
_
a
b
c
d
e
g
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
_
a
b
c
d
e
f
g
i
j
l
m
o
p
r
s
t
u
v
Enumerations
Enumerator
a
b
d
e
f
g
h
k
m
n
p
r
s
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Examples
llvm-project
lldb
include
lldb
API
SBFileSpecList.h
Go to the documentation of this file.
1
//===-- SBFileSpecList.h --------------------------------------------*- C++
2
//-*-===//
3
//
4
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5
// See https://llvm.org/LICENSE.txt for license information.
6
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7
//
8
//===----------------------------------------------------------------------===//
9
10
#ifndef LLDB_API_SBFILESPECLIST_H
11
#define LLDB_API_SBFILESPECLIST_H
12
13
#include "
lldb/API/SBDefines.h
"
14
15
namespace
lldb
{
16
17
class
LLDB_API
SBFileSpecList
{
18
public
:
19
SBFileSpecList
();
20
21
SBFileSpecList
(
const
lldb::SBFileSpecList
&rhs);
22
23
~SBFileSpecList
();
24
25
const
SBFileSpecList
&operator=(
const
lldb::SBFileSpecList
&rhs);
26
27
uint32_t GetSize()
const
;
28
29
bool
GetDescription(
SBStream
&description)
const
;
30
31
void
Append(
const
SBFileSpec
&sb_file);
32
33
bool
AppendIfUnique(
const
SBFileSpec
&sb_file);
34
35
void
Clear();
36
37
uint32_t
FindFileIndex
(uint32_t idx,
const
SBFileSpec
&sb_file,
bool
full);
38
39
const
SBFileSpec
GetFileSpecAtIndex(uint32_t idx)
const
;
40
41
private
:
42
friend
class
SBTarget
;
43
44
const
lldb_private::FileSpecList
*operator->()
const
;
45
46
const
lldb_private::FileSpecList
*get()
const
;
47
48
const
lldb_private::FileSpecList
&operator*()
const
;
49
50
const
lldb_private::FileSpecList
&ref()
const
;
51
52
std::unique_ptr<lldb_private::FileSpecList>
m_opaque_up
;
53
};
54
55
}
// namespace lldb
56
57
#endif
// LLDB_API_SBFILESPECLIST_H
FindFileIndex
static size_t FindFileIndex(size_t start_idx, const FileSpec &file_spec, bool full, size_t num_files, std::function< const FileSpec &(size_t)> get_ith)
Definition:
FileSpecList.cpp:76
SBDefines.h
LLDB_API
#define LLDB_API
Definition:
SBDefines.h:28
lldb::SBFileSpecList
Definition:
SBFileSpecList.h:17
lldb::SBFileSpecList::~SBFileSpecList
~SBFileSpecList()
lldb::SBFileSpecList::m_opaque_up
std::unique_ptr< lldb_private::FileSpecList > m_opaque_up
Definition:
SBFileSpecList.h:52
lldb::SBFileSpec
Definition:
SBFileSpec.h:16
lldb::SBStream
Definition:
SBStream.h:22
lldb::SBTarget
Definition:
SBTarget.h:37
lldb_private::FileSpecList
A file collection class.
Definition:
FileSpecList.h:91
lldb
Definition:
SBAddress.h:15
Generated on Mon Feb 17 2025 20:30:20 for LLDB by
1.9.6