Motoko::ListControls Class Reference

Class with a list of controls. More...

#include <ListControls.h>

List of all members.

Public Member Functions

 ListControls ()
 ListControls (const ListControls &obj)
virtual ListControlsoperator= (const ListControls &obj)
 ~ListControls ()
int AddControl (Control *control)
 Add a control.
void RemoveControl (const char *name)
 Remove a control.
void Free (void)
 Unload the controls.
ControlGetControl (const char *name)
 Get a pointer to a control.
int GetSize (void)
 Get the number of controls in the list.
ControlGetControl (int pos)
 Get a pointer to a control.
void SetControl (int pos, Control *val)
 Set a pointer to a control.


Detailed Description

Class with a list of controls.


Constructor & Destructor Documentation

Motoko::ListControls::ListControls (  ) 

ListControls constructor.

Motoko::ListControls::ListControls ( const ListControls obj  ) 

ListControls copy constructor.

Motoko::ListControls::~ListControls (  ) 

ListControls destructor.


Member Function Documentation

int Motoko::ListControls::AddControl ( Control control  ) 

Add a control.

Parameters:
control New control.
See also:
RemoveControl(), Free().
Returns:
If no error 0, else an error code.

void Motoko::ListControls::Free ( void   ) 

Unload the controls.

See also:
AddControl(), RemoveControl().

Control * Motoko::ListControls::GetControl ( const char *  name  ) 

Get a pointer to a control.

Parameters:
name Name of the control.
Returns:
If no error a pointer to the skin, else NULL.

ListControls & Motoko::ListControls::operator= ( const ListControls obj  )  [virtual]

ListControls operator =.

void Motoko::ListControls::RemoveControl ( const char *  name  ) 

Remove a control.

See also:
AddControl(), Free().


The documentation for this class was generated from the following files:
Generated on Mon Jul 17 18:33:50 2006 for Motoko by  doxygen 1.4.7