Home You are here: Home > Support > Reference v1.0

Change language: German

XmFcnParams Class Reference

List of all members.

Detailed Description

Small container class for optional parameters used for member functions.

In user interfaces it is sometimes helpful to supply additional parameters to functions. This parameters may be of type XmAtom, string, integer or XmID. You will provide this parameters in user interface specific code by adding them to this class. In application code you are able to access them via the XmParamAccess class used in XmMemberStateCx and XmActionCx. The maximum number of parameters is 16.

It is remomended to add parameters in the same type which will be used in user interface independend code to minimize possible overhead for converions.


Public Member Functions

void ClearParams ()
 Clear all parameters within this container.
bool AddIntParam (int intParam)
 Add a parameter of type integer to this container.
bool AddStrParam (const char *strParam)
 Add a parameter of type string to this container.
bool AddAtomParam (const XmAtom &atomParam)
 Add a parameter of type XmAtom to this container.
bool AddIDParam (XMID id)
 Add a parameter of type XmID to this container.

Copyright © 2006 Praetz Software Development - www.exomware.com