NEURON
HocItem Class Reference

#include <xmenu.h>

Inheritance diagram for HocItem:
Resource HocLabel HocMenu HocPushButton HocRadioButton HocUpdateItem HocStateButton HocStateMenuItem HocValEditor HocVarLabel OcSlider HocDefaultValEditor HocValEditorKeepUpdated

Public Member Functions

 HocItem (const char *, HocItem *parent=NULL)
 
virtual ~HocItem ()
 
virtual void write (std::ostream &)
 
const char * getStr ()
 
virtual void help (const char *childpath=NULL)
 
virtual void help_parent (HocItem *)
 
- Public Member Functions inherited from Resource
 Resource ()=default
 
virtual ~Resource ()=default
 
virtual void ref () const
 
virtual void unref () const
 
virtual void unref_deferred () const
 
virtual void cleanup ()
 
virtual void Reference () const
 
virtual void Unreference () const
 

Private Attributes

CopyString str_
 
HocItemhelp_parent_
 

Additional Inherited Members

- Static Public Member Functions inherited from Resource
static void ref (const Resource *)
 
static void unref (const Resource *)
 
static void unref_deferred (const Resource *)
 
static bool defer (bool)
 
static void flush ()
 

Detailed Description

Definition at line 128 of file xmenu.h.

Constructor & Destructor Documentation

◆ HocItem()

HocItem::HocItem ( const char *  ,
HocItem parent = NULL 
)

◆ ~HocItem()

virtual HocItem::~HocItem ( )
virtual

Member Function Documentation

◆ getStr()

const char* HocItem::getStr ( )

◆ help()

virtual void HocItem::help ( const char *  childpath = NULL)
virtual

◆ help_parent()

virtual void HocItem::help_parent ( HocItem )
virtual

◆ write()

virtual void HocItem::write ( std::ostream &  )
virtual

Member Data Documentation

◆ help_parent_

HocItem* HocItem::help_parent_
private

Definition at line 139 of file xmenu.h.

◆ str_

CopyString HocItem::str_
private

Definition at line 138 of file xmenu.h.


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