CCCC - C and C++ Code Counter
9999-git
CCCC Development version (post-3.1.4)
|
#include <cccc_tbl.h>
Public Member Functions | |
CCCC_Table () | |
virtual | ~CCCC_Table () |
int | records () |
T * | find (string name) |
T * | find_or_insert (T *new_item_ptr) |
bool | remove (T *old_item_ptr) |
void | reset_iterator () |
T * | first_item () |
T * | next_item () |
virtual int | get_count (const char *count_tag) |
void | sort () |
Private Types | |
typedef std::map< string, T * > | map_t |
Private Attributes | |
map_t::iterator | iter_ |
bool | sorted |
Definition at line 37 of file cccc_tbl.h.
|
private |
Definition at line 40 of file cccc_tbl.h.
CCCC_Table< T >::CCCC_Table | ( | ) |
Definition at line 30 of file cccc_tbl.cc.
|
virtual |
Definition at line 36 of file cccc_tbl.cc.
T * CCCC_Table< T >::find | ( | string | name | ) |
T * CCCC_Table< T >::find_or_insert | ( | T * | new_item_ptr | ) |
T * CCCC_Table< T >::first_item | ( | ) |
|
virtual |
T * CCCC_Table< T >::next_item | ( | ) |
int CCCC_Table< T >::records | ( | ) |
bool CCCC_Table< T >::remove | ( | T * | old_item_ptr | ) |
void CCCC_Table< T >::reset_iterator | ( | ) |
Definition at line 113 of file cccc_tbl.cc.
void CCCC_Table< T >::sort | ( | ) |
|
private |
Definition at line 41 of file cccc_tbl.h.
|
private |
Definition at line 42 of file cccc_tbl.h.