LLDB  mainline
Public Member Functions | Protected Types | Protected Attributes | List of all members
lldb_private::ModuleSpecList Class Reference

#include <ModuleSpec.h>

Collaboration diagram for lldb_private::ModuleSpecList:
Collaboration graph
[legend]

Public Member Functions

 ModuleSpecList ()
 
 ModuleSpecList (const ModuleSpecList &rhs)
 
 ~ModuleSpecList ()=default
 
ModuleSpecListoperator= (const ModuleSpecList &rhs)
 
size_t GetSize () const
 
void Clear ()
 
void Append (const ModuleSpec &spec)
 
void Append (const ModuleSpecList &rhs)
 
ModuleSpecGetModuleSpecRefAtIndex (size_t i)
 
bool GetModuleSpecAtIndex (size_t i, ModuleSpec &module_spec) const
 
bool FindMatchingModuleSpec (const ModuleSpec &module_spec, ModuleSpec &match_module_spec) const
 
size_t FindMatchingModuleSpecs (const ModuleSpec &module_spec, ModuleSpecList &matching_list) const
 
void Dump (Stream &strm)
 

Protected Types

typedef std::vector< ModuleSpeccollection
 The module collection type. More...
 

Protected Attributes

collection m_specs
 The collection of modules. More...
 
std::recursive_mutex m_mutex
 

Detailed Description

Definition at line 300 of file ModuleSpec.h.

Member Typedef Documentation

◆ collection

typedef std::vector<ModuleSpec> lldb_private::ModuleSpecList::collection
protected

The module collection type.

Definition at line 418 of file ModuleSpec.h.

Constructor & Destructor Documentation

◆ ModuleSpecList() [1/2]

lldb_private::ModuleSpecList::ModuleSpecList ( )
inline

Definition at line 302 of file ModuleSpec.h.

◆ ModuleSpecList() [2/2]

lldb_private::ModuleSpecList::ModuleSpecList ( const ModuleSpecList rhs)
inline

Definition at line 304 of file ModuleSpec.h.

References m_mutex, and m_specs.

◆ ~ModuleSpecList()

lldb_private::ModuleSpecList::~ModuleSpecList ( )
default

Member Function Documentation

◆ Append() [1/2]

void lldb_private::ModuleSpecList::Append ( const ModuleSpec spec)
inline

◆ Append() [2/2]

void lldb_private::ModuleSpecList::Append ( const ModuleSpecList rhs)
inline

Definition at line 338 of file ModuleSpec.h.

References m_mutex, and m_specs.

◆ Clear()

void lldb_private::ModuleSpecList::Clear ( )
inline

Definition at line 328 of file ModuleSpec.h.

◆ Dump()

void lldb_private::ModuleSpecList::Dump ( Stream strm)
inline

Definition at line 406 of file ModuleSpec.h.

References lldb_private::Stream::EOL(), and lldb_private::Stream::Printf().

◆ FindMatchingModuleSpec()

bool lldb_private::ModuleSpecList::FindMatchingModuleSpec ( const ModuleSpec module_spec,
ModuleSpec match_module_spec 
) const
inline

◆ FindMatchingModuleSpecs()

size_t lldb_private::ModuleSpecList::FindMatchingModuleSpecs ( const ModuleSpec module_spec,
ModuleSpecList matching_list 
) const
inline

Definition at line 383 of file ModuleSpec.h.

References Append(), lldb_private::ModuleSpec::GetArchitecturePtr(), and GetSize().

◆ GetModuleSpecAtIndex()

bool lldb_private::ModuleSpecList::GetModuleSpecAtIndex ( size_t  i,
ModuleSpec module_spec 
) const
inline

◆ GetModuleSpecRefAtIndex()

ModuleSpec& lldb_private::ModuleSpecList::GetModuleSpecRefAtIndex ( size_t  i)
inline

Definition at line 346 of file ModuleSpec.h.

Referenced by ObjectContainerBSDArchive::GetModuleSpecifications().

◆ GetSize()

size_t lldb_private::ModuleSpecList::GetSize ( ) const
inline

◆ operator=()

ModuleSpecList& lldb_private::ModuleSpecList::operator= ( const ModuleSpecList rhs)
inline

Definition at line 312 of file ModuleSpec.h.

References m_mutex, and m_specs.

Member Data Documentation

◆ m_mutex

std::recursive_mutex lldb_private::ModuleSpecList::m_mutex
mutableprotected

Definition at line 420 of file ModuleSpec.h.

Referenced by Append(), ModuleSpecList(), and operator=().

◆ m_specs

collection lldb_private::ModuleSpecList::m_specs
protected

The collection of modules.

Definition at line 419 of file ModuleSpec.h.

Referenced by Append(), ModuleSpecList(), and operator=().


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