GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
completion_tracker::completion_hash_entry Class Reference

Public Member Functions

 completion_hash_entry (gdb::unique_xmalloc_ptr< char > name, gdb::unique_xmalloc_ptr< char > lcd)
 
char * get_lcd () const
 
char * release_name ()
 
bool is_name_eq (const char *str) const
 
hashval_t hash_name () const
 

Private Attributes

gdb::unique_xmalloc_ptr< char > m_name
 
gdb::unique_xmalloc_ptr< char > m_lcd
 

Detailed Description

Definition at line 50 of file completer.c.

Constructor & Destructor Documentation

◆ completion_hash_entry()

completion_tracker::completion_hash_entry::completion_hash_entry ( gdb::unique_xmalloc_ptr< char > name,
gdb::unique_xmalloc_ptr< char > lcd )
inline

Definition at line 54 of file completer.c.

Member Function Documentation

◆ get_lcd()

char * completion_tracker::completion_hash_entry::get_lcd ( ) const
inline

Definition at line 66 of file completer.c.

References m_lcd.

◆ hash_name()

hashval_t completion_tracker::completion_hash_entry::hash_name ( ) const
inline

Definition at line 86 of file completer.c.

References m_name.

◆ is_name_eq()

bool completion_tracker::completion_hash_entry::is_name_eq ( const char * str) const
inline

Definition at line 80 of file completer.c.

References m_name.

◆ release_name()

char * completion_tracker::completion_hash_entry::release_name ( )
inline

Definition at line 74 of file completer.c.

References m_name.

Member Data Documentation

◆ m_lcd

gdb::unique_xmalloc_ptr<char> completion_tracker::completion_hash_entry::m_lcd
private

Definition at line 97 of file completer.c.

Referenced by get_lcd().

◆ m_name

gdb::unique_xmalloc_ptr<char> completion_tracker::completion_hash_entry::m_name
private

Definition at line 94 of file completer.c.

Referenced by hash_name(), is_name_eq(), and release_name().


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