SprintF Class Reference

Encapsulates the 8-bit string numerical conversion functions. More...

#include <FUStringBuilder.h>

List of all members.

Public Member Functions

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


Detailed Description

Encapsulates the 8-bit string numerical conversion functions.

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


Member Function Documentation

void SprintF::PrintFloat char *  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 SprintF::PrintInt32 char *  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 SprintF::PrintUInt32 char *  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.

size_t SprintF::StrLen const char *  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