Code Listener
[unstable] git snapshot
|
lookup container for set of Fnc objects More...
#include <storage.hh>
Public Types | |
typedef TList::const_iterator | const_iterator |
typedef const_iterator | iterator |
Public Member Functions | |
FncDb () | |
~FncDb () | |
FncDb (const FncDb &) | |
shallow copy More... | |
FncDb & | operator= (const FncDb &) |
shallow copy More... | |
Fnc *& | operator[] (int uid) |
look for a function by ID, create one if not found More... | |
const Fnc * | operator[] (int uid) const |
look for a function by ID, crash if not found More... | |
const_iterator | begin () const |
return STL-like iterator to go through all functions inside More... | |
const_iterator | end () const |
return STL-like iterator to go through all functions inside More... | |
size_t | size () const |
return count of functions inside the container More... | |
Private Types | |
typedef Fnc * | TList |
Private Attributes | |
TList | fncs_ |
Private * | d |
lookup container for set of Fnc objects
Definition at line 767 of file storage.hh.
typedef TList::const_iterator const_iterator |
Definition at line 772 of file storage.hh.
typedef const_iterator iterator |
Definition at line 773 of file storage.hh.
Definition at line 769 of file storage.hh.
FncDb | ( | ) |
~FncDb | ( | ) |
|
inline |
return STL-like iterator to go through all functions inside
Definition at line 801 of file storage.hh.
References FncDb::fncs_.
|
inline |
return STL-like iterator to go through all functions inside
Definition at line 806 of file storage.hh.
References FncDb::fncs_.
Fnc*& operator[] | ( | int | uid) |
look for a function by ID, create one if not found
uid | ID of the function to look for |
const Fnc* operator[] | ( | int | uid) | const |
look for a function by ID, crash if not found
uid | ID of the function to look for |
|
inline |
return count of functions inside the container
Definition at line 811 of file storage.hh.
References FncDb::fncs_.
|
private |
Definition at line 815 of file storage.hh.
|
private |
Definition at line 814 of file storage.hh.
Referenced by FncDb::begin(), FncDb::end(), and FncDb::size().