3 sample applications, Building the icu samples – HP Integrity NonStop H-Series User Manual
Page 13

3 Sample applications
The NonStop XML Parser is packaged with sample applications. You can use the sample applications
to get started with the NonStop XML Parser. These sample applications demonstrate the important
features of the parser.
You can build all the samples simultaneously or build each sample individually. However, you
must set some key environment variables before building the samples.
This section includes information about:
•
building and running the ICU samples
•
building and running the Xerces-C++ samples
NOTE:
Before building the samples, copy the samples directory and sub-directories to an OSS
location where you have read, write, and execute permissions.
Building the ICU samples
The NonStop XML Parser is packaged with the following ICU samples. These samples are available
in the
directory.
Sample exe filename
Function
Sample
break
Demonstrates how to use BreakIterators in C and C++
break
icucal
Prints out a calendar
cal
case
Demonstrates how to do Unicode case conversion in C and C++
case
csdet
Demonstrates using ICU's CharSet Detection API
csdet
icudate
Prints out the current date, localized
date
datefmt
Demonstrates the use of the date formatting API
datefmt
msgfmt
Demonstrates the use of the message format
msgfmt
numfmt
Demonstrates the use of the number format
numfmt
props
Demonstrates the use of Unicode properties
props
strsrch
Demonstrates how to search for patterns in Unicode text using the usearch
interface
strsrch
translit
Demonstrates the use of ICU transliteration
translit
uciter8
Demonstrates how to read 8-bit Unicode text
uciter8
ucnv
Demonstrates the use of ICU codepage conversion
ucnv
writer, reader
Demonstrates the use of ICU low level data routines
udata
ufortune
Demonstrates packaging and use of resources in an application
ufortune
ugrep
Demonstrates ICU regular expressions
ugrep
uresb
Demonstrates building and loading resource bundles
uresb
ustring
Demonstrates ICU string manipulation functions
ustring
Building the ICU samples
13