CPLString Class Reference

List of all members.

Public Member Functions

CPLStringFormatC (double dfValue, const char *pszFormat=0)
CPLStringTrim ()

Member Function Documentation

CPLString & CPLString::FormatC ( double  dfValue,
const char *  pszFormat = 0 
)

Format double in C locale.

The passed value is formatted using the C locale (period as decimal seperator) and appended to the target CPLString.

Parameters:
dfValue the value to format.
pszFormat the sprintf() style format to use or omit for default. Note that this format string should only include one substitution argument and it must be for a double (f or g).
Returns:
a reference to the CPLString.
CPLString & CPLString::Trim (  ) 

Trim white space.

Trims white space off the let and right of the string. White space is any of a space, a tab, a newline ('
') or a carriage control ('').

Returns:
a reference to the CPLString.

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

Generated for GDAL by doxygen 1.6.1.