SFprintF Class Reference

Encapsulates the Unicode string numerical conversion functions. More...

#include <FUStringBuilder.h>

List of all members.

Public Member Functions

void PrintInt32 (fchar *output, uint32 length, int32 i)
 Converts a signed integer into the given constant-sized string.
void PrintUInt32 (fchar *output, uint32 length, uint32 i)
 Converts an unsigned integer into the given constant-sized string.
void PrintUInt64 (fchar *output, uint32 length, uint64 i)
 Converts an unsigned integer into the given constant-sized string.
void PrintFloat (fchar *output, uint32 length, double f)
 Converts a floating-point value into the given constant-sized string.
size_t StrLen (const fchar *in)
 Retrieves the length of a constant-sized string.


Detailed Description

Encapsulates the Unicode string numerical conversion functions.

The 'fsnprintf' function is used so no locale information is handled.


Member Function Documentation

void SFprintF::PrintFloat fchar *  output,
uint32  length,
double  f
[inline]
 

Converts a floating-point value into the given constant-sized string.

Parameters:
output A constant-sized string.
length The size of the constant-sized string.
f A floating-point value.

void SFprintF::PrintInt32 fchar *  output,
uint32  length,
int32  i
[inline]
 

Converts a signed integer into the given constant-sized string.

Parameters:
output A constant-sized string.
length The size of the constant-sized string.
i A signed integer.

void SFprintF::PrintUInt32 fchar *  output,
uint32  length,
uint32  i
[inline]
 

Converts an unsigned integer into the given constant-sized string.

Parameters:
output A constant-sized string.
length The size of the constant-sized string.
i An unsigned integer.

void SFprintF::PrintUInt64 fchar *  output,
uint32  length,
uint64  i
[inline]
 

Converts an unsigned integer into the given constant-sized string.

Parameters:
output A constant-sized string.
length The size of the constant-sized string.
i An unsigned integer.

size_t SFprintF::StrLen const fchar *  in  )  [inline]
 

Retrieves the length of a constant-sized string.

Parameters:
in A character array which is terminated with a 'zero' element.
Returns:
The number of element preceeding the 'zero' element.


The documentation for this class was generated from the following file:
Generated on Fri May 12 16:44:44 2006 for FCollada by  doxygen 1.4.6-NO