COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
covise::coUifSwitchCase Class Reference

#include <coUifSwitchCase.h>

Collaboration diagram for covise::coUifSwitchCase:
Collaboration graph
[legend]

Public Member Functions

virtual ~coUifSwitchCase ()
 Destructor : virtual in case we derive objects. More...
 
 coUifSwitchCase (const char *name, coUifSwitch *master)
 Constructor: give this case a name. More...
 
void add (coUifElem *elem)
 add one element to out group More...
 
const char * getName () const
 returns my name More...
 
coUifSwitchgetMaster () const
 get my superior switch More...
 
virtual void hide ()
 Hide everything below. More...
 
virtual void show ()
 Show everything below. More...
 

Private Types

enum  { MAX_PORTS = 4096 }
 this is the REAL maximum number of ports More...
 

Private Member Functions

 coUifSwitchCase (const coUifSwitchCase &)
 Copy-Constructor: NOT IMPLEMENTED. More...
 
coUifSwitchCaseoperator= (const coUifSwitchCase &)
 Assignment operator: NOT IMPLEMENTED. More...
 
 coUifSwitchCase ()
 Default constructor: NOT IMPLEMENTED. More...
 

Private Attributes

char * d_name
 case name == label on the Choice More...
 
coUifSwitchd_master
 
coUifElemd_elemList [MAX_PORTS]
 
int d_numElem
 

Detailed Description

Class to handle the 'case' level of the switch hierarchie

Member Enumeration Documentation

anonymous enum
private

this is the REAL maximum number of ports

Enumerator
MAX_PORTS 

Constructor & Destructor Documentation

coUifSwitchCase::coUifSwitchCase ( const coUifSwitchCase )
private

Copy-Constructor: NOT IMPLEMENTED.

coUifSwitchCase::coUifSwitchCase ( )
private

Default constructor: NOT IMPLEMENTED.

coUifSwitchCase::~coUifSwitchCase ( )
virtual

Destructor : virtual in case we derive objects.

--— Never forget the Destructor !! ----—

coUifSwitchCase::coUifSwitchCase ( const char *  name,
coUifSwitch master 
)

Constructor: give this case a name.

Member Function Documentation

void coUifSwitchCase::add ( coUifElem elem)

add one element to out group

coUifSwitch * coUifSwitchCase::getMaster ( ) const

get my superior switch

const char * coUifSwitchCase::getName ( ) const

returns my name

get the name of this object

void coUifSwitchCase::hide ( )
virtual

Hide everything below.

coUifSwitchCase & coUifSwitchCase::operator= ( const coUifSwitchCase )
private

Assignment operator: NOT IMPLEMENTED.

void coUifSwitchCase::show ( )
virtual

Show everything below.

Member Data Documentation

coUifElem* covise::coUifSwitchCase::d_elemList[MAX_PORTS]
private
coUifSwitch* covise::coUifSwitchCase::d_master
private
char* covise::coUifSwitchCase::d_name
private

case name == label on the Choice

int covise::coUifSwitchCase::d_numElem
private

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