// Please add new entries alphabetical sorted and correct all other handles! // Start counting with 0, so it can be used as direct index into an array too. #define FRAME_PROPHANDLE_DISPATCHRECORDERSUPPLIER 0 #define FRAME_PROPHANDLE_ISHIDDEN 1 #define FRAME_PROPHANDLE_LAYOUTMANAGER 2 #define FRAME_PROPHANDLE_TITLE 3 #define FRAME_PROPHANDLE_INDICATORINTERCEPTION 4 #define FRAME_PROPHANDLE_URL 5
/** provides some helper methods to implement property sets. */
class PropHelper
{ public:
/** checks if given property will be changed by this settings. *Wecomparethecontentofthegivenanyvalues.Iftheyaredifferentwereturnsal_True-sal_Falseotherwise. * *@paramaCurrentValuecontainsthecurrentvalueforthisproperty *@paramaNewValuecontainsthenewvalueforthisproperty *@paramaOldValuereturnsthecurrentvalue,incasesomethingwillbechanged *@paramaChangedValuereturnsthenewvalue,incasesomethingwillbechanged * *@return<True/>ifvalueofthispropertywillbechanged;<False/>otherwise.
*/
// clear return parameter to be sure, to put out only valid values ...
aOldValue.clear();
aChangedValue.clear();
// if value change ...
bChanged = aCurrentValue != aNewValue; if (bChanged)
{ // ... set information of change.
aOldValue = aCurrentValue;
aChangedValue = aNewValue;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.