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

Change language: German

XmPlaceholderText Class Reference

List of all members.

Detailed Description

Placeholder text is used for flexibel handling of multilingual strings in comination with application specific arguments.

This utility class can (not must) be used in combination with XmStrTbl.


Public Member Functions

 XmPlaceholderText (const XmString &str)
 Construct a parametered string using one or more placeholders.
XmPlaceholderTextrep (const char *id, int val)
 Replace the placeholder id with the given value.
XmPlaceholderTextrep (const char *id, const XmString &str)
 Replace the placeholder id with the given string.
void CalcStr (XmString &str) const
 Calculate the final string with the placeholders replaced by their arguments.


Constructor & Destructor Documentation

XmPlaceholderText const XmString str  ) 
 

Construct a parametered string using one or more placeholders.

The placeholders are enclosed by a pair of % (e.g. %PLACEHOLDER%). This placeholders will be substituted by arguments set by one of the rep() functions.


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