ARB
Public Member Functions | List of all members
ConstStrArray Class Reference

#include <arb_strarray.h>

Inheritance diagram for ConstStrArray:
Inheritance graph
[legend]
Collaboration diagram for ConstStrArray:
Collaboration graph
[legend]

Public Member Functions

 ConstStrArray ()
 
 ~ConstStrArray () OVERRIDE
 
void set_memblock (char *block)
 
void erase ()
 
void put (const char *elem)
 
void put_before (int insert_before, const char *elem)
 
const charreplace (int i, const char *elem)
 
 PREPARE_MARK_NONFINAL_CLASS (ConstStrArray)
 
- Public Member Functions inherited from CharPtrArray
void reserve (size_t forElems)
 
void optimize_space ()
 
size_t size () const
 
bool empty () const
 
const charoperator[] (int i) const
 
void swap (int i1, int i2)
 
void move (int from, int to)
 
void remove (int i)
 
void safe_remove (int i)
 
void resize (int newsize)
 
void clear ()
 
void sort (CharPtrArray_compare_fun compare, void *client_data)
 
void uniq (CharPtrArray_compare_fun compare, void *client_data)
 
void sort_and_uniq (CharPtrArray_compare_fun compare, void *client_data)
 
int index_of (const char *search_for) const
 

Additional Inherited Members

- Protected Member Functions inherited from CharPtrArray
bool ok () const
 
bool elem_index (int i) const
 
bool allocated_index (int i) const
 
void set_space (size_t new_allocated)
 
void reserve_space (size_t forElems, bool alloc_ahead)
 
 CharPtrArray ()
 
virtual ~CharPtrArray ()
 
void erase_elems ()
 
- Protected Attributes inherited from CharPtrArray
char ** str
 
size_t elems
 

Detailed Description

Definition at line 168 of file arb_strarray.h.

Constructor & Destructor Documentation

ConstStrArray::ConstStrArray ( )
inline

Definition at line 174 of file arb_strarray.h.

ConstStrArray::~ConstStrArray ( )
inline

Definition at line 175 of file arb_strarray.h.

Member Function Documentation

void ConstStrArray::set_memblock ( char block)
inline

Definition at line 177 of file arb_strarray.h.

References arb_assert, and block.

Referenced by GBT_splitNdestroy_string(), and matrix_config_changed_cb().

void ConstStrArray::erase ( )
inline

Definition at line 183 of file arb_strarray.h.

References CharPtrArray::erase_elems().

Referenced by getKnownMacroClients(), parse_helix_list(), and parseCSV().

void ConstStrArray::put ( const char elem)
inline
void ConstStrArray::put_before ( int  insert_before,
const char elem 
)
inline

Definition at line 197 of file arb_strarray.h.

References CharPtrArray::move(), put(), and CharPtrArray::size().

Referenced by add_field_cb(), and add_selected_cb().

const char* ConstStrArray::replace ( int  i,
const char elem 
)
inline
ConstStrArray::PREPARE_MARK_NONFINAL_CLASS ( ConstStrArray  )

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