OcList Class Reference

#include <oclist.h>

Collaboration diagram for OcList:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 OcList (long=5)
 OcList (const char *template_name)
virtual ~OcList ()
void append (Object *)
void prepend (Object *)
void insert (long, Object *)
long count ()
void remove (long)
long index (Object *)
Object * object (long)
void remove_all ()
boolean refs_items ()
void create_browser (const char *name, const char *items=nil, Object *pystract=nil)
void create_browser (const char *name, char **pstr, const char *action)
OcListBrowserbrowser ()
virtual void update (Observable *)

Private Member Functions

void oref (Object *)
void ounref (Object *)

Private Attributes

OcListImpl * oli_
OcListBrowserb_
cTemplate * ct_

Constructor & Destructor Documentation

OcList::OcList ( long  n = 5  ) 

References b_, ct_, nil, and oli_.

OcList::OcList ( const char *  template_name  ) 
OcList::~OcList (  )  [virtual]

References b_, ct_, ClassObservable::Detach(), nil, oli_, and remove_all().

Here is the call graph for this function:


Member Function Documentation

void OcList::append ( Object *  ob  ) 

References b_, count(), oli_, and oref().

Referenced by OcList(), and update().

Here is the call graph for this function:

OcListBrowser * OcList::browser (  ) 

References b_.

long OcList::count (  ) 

References oli_.

Referenced by append(), ivoc_list_count(), and ivoc_list_look().

void OcList::create_browser ( const char *  name,
char **  pstr,
const char *  action 
)

References b_, PrintableWindow::map(), and DismissableWindow::name().

Here is the call graph for this function:

void OcList::create_browser ( const char *  name,
const char *  items = nil,
Object *  pystract = nil 
)

References b_, PrintableWindow::map(), and DismissableWindow::name().

Here is the call graph for this function:

long OcList::index ( Object *  ob  ) 

References oli_.

Referenced by update().

void OcList::insert ( long  i,
Object *  ob 
)

References b_, oli_, and oref().

Here is the call graph for this function:

Object * OcList::object ( long  i  ) 

References oli_.

Referenced by ivoc_list_item(), and ivoc_list_look().

void OcList::oref ( Object *  ob  )  [private]

References ct_.

Referenced by append(), insert(), and prepend().

void OcList::ounref ( Object *  ob  )  [private]

References ct_, and hoc_dec_refcount().

Referenced by remove(), and remove_all().

Here is the call graph for this function:

void OcList::prepend ( Object *  ob  ) 

References b_, oli_, and oref().

Here is the call graph for this function:

boolean OcList::refs_items (  )  [inline]

References ct_, and nil.

void OcList::remove ( long  i  ) 

References b_, oli_, and ounref().

Here is the call graph for this function:

void OcList::remove_all (  ) 

References b_, oli_, and ounref().

Referenced by ~OcList().

Here is the call graph for this function:

void OcList::update ( Observable *  o  )  [virtual]

Member Data Documentation

cTemplate* OcList::ct_ [private]

Referenced by OcList(), oref(), ounref(), refs_items(), and ~OcList().

OcListImpl* OcList::oli_ [private]

The documentation for this class was generated from the following files:
Generated on Mon Jun 13 08:10:32 2011 for NEURON by  doxygen 1.6.3