LLDB mainline
Public Member Functions | Private Types | Private Attributes | List of all members
lldb_private::ValueObject::ChildrenManager Class Reference

#include <ValueObject.h>

Public Member Functions

 ChildrenManager ()=default
 
bool HasChildAtIndex (size_t idx)
 
ValueObjectGetChildAtIndex (uint32_t idx)
 
void SetChildAtIndex (size_t idx, ValueObject *valobj)
 
void SetChildrenCount (size_t count)
 
size_t GetChildrenCount ()
 
void Clear (size_t new_count=0)
 

Private Types

typedef std::map< size_t, ValueObject * > ChildrenMap
 
typedef ChildrenMap::iterator ChildrenIterator
 
typedef ChildrenMap::value_type ChildrenPair
 

Private Attributes

std::recursive_mutex m_mutex
 
ChildrenMap m_children
 
size_t m_children_count = 0
 

Detailed Description

Definition at line 871 of file ValueObject.h.

Member Typedef Documentation

◆ ChildrenIterator

typedef ChildrenMap::iterator lldb_private::ValueObject::ChildrenManager::ChildrenIterator
private

Definition at line 905 of file ValueObject.h.

◆ ChildrenMap

Definition at line 904 of file ValueObject.h.

◆ ChildrenPair

typedef ChildrenMap::value_type lldb_private::ValueObject::ChildrenManager::ChildrenPair
private

Definition at line 906 of file ValueObject.h.

Constructor & Destructor Documentation

◆ ChildrenManager()

lldb_private::ValueObject::ChildrenManager::ChildrenManager ( )
default

Member Function Documentation

◆ Clear()

void lldb_private::ValueObject::ChildrenManager::Clear ( size_t  new_count = 0)
inline

◆ GetChildAtIndex()

ValueObject * lldb_private::ValueObject::ChildrenManager::GetChildAtIndex ( uint32_t  idx)
inline

Definition at line 880 of file ValueObject.h.

References m_children, and m_mutex.

Referenced by lldb_private::ValueObject::GetChildAtIndex().

◆ GetChildrenCount()

size_t lldb_private::ValueObject::ChildrenManager::GetChildrenCount ( )
inline

Definition at line 895 of file ValueObject.h.

References m_children_count.

Referenced by lldb_private::ValueObject::GetNumChildren().

◆ HasChildAtIndex()

bool lldb_private::ValueObject::ChildrenManager::HasChildAtIndex ( size_t  idx)
inline

Definition at line 875 of file ValueObject.h.

References m_children, and m_mutex.

Referenced by lldb_private::ValueObject::GetChildAtIndex().

◆ SetChildAtIndex()

void lldb_private::ValueObject::ChildrenManager::SetChildAtIndex ( size_t  idx,
ValueObject valobj 
)
inline

Definition at line 886 of file ValueObject.h.

References m_children, and m_mutex.

Referenced by lldb_private::ValueObject::GetChildAtIndex().

◆ SetChildrenCount()

void lldb_private::ValueObject::ChildrenManager::SetChildrenCount ( size_t  count)
inline

Definition at line 893 of file ValueObject.h.

References Clear().

Referenced by lldb_private::ValueObject::SetNumChildren().

Member Data Documentation

◆ m_children

ChildrenMap lldb_private::ValueObject::ChildrenManager::m_children
private

Definition at line 908 of file ValueObject.h.

Referenced by Clear(), GetChildAtIndex(), HasChildAtIndex(), and SetChildAtIndex().

◆ m_children_count

size_t lldb_private::ValueObject::ChildrenManager::m_children_count = 0
private

Definition at line 909 of file ValueObject.h.

Referenced by Clear(), and GetChildrenCount().

◆ m_mutex

std::recursive_mutex lldb_private::ValueObject::ChildrenManager::m_mutex
private

Definition at line 907 of file ValueObject.h.

Referenced by Clear(), GetChildAtIndex(), HasChildAtIndex(), and SetChildAtIndex().


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