Open CASCADE Technology  7.3.0
Functions

Standard_CString.hxx File Reference

#include <Standard_Macro.hxx>
#include <string.h>
#include <stdio.h>

Functions

double Atof (const char *theStr)
 Equivalent of standard C function atof() that always uses C locale. More...
 
double Strtod (const char *theStr, char **theNextPtr)
 Optimized equivalent of standard C function strtod() that always uses C locale. More...
 
int Printf (const char *theFormat,...)
 Equivalent of standard C function printf() that always uses C locale. More...
 
int Fprintf (FILE *theFile, const char *theFormat,...)
 Equivalent of standard C function fprintf() that always uses C locale. More...
 
int Sprintf (char *theBuffer, const char *theFormat,...)
 Equivalent of standard C function sprintf() that always uses C locale. More...
 

Function Documentation

◆ Atof()

double Atof ( const char *  theStr)

Equivalent of standard C function atof() that always uses C locale.

◆ Fprintf()

int Fprintf ( FILE *  theFile,
const char *  theFormat,
  ... 
)

Equivalent of standard C function fprintf() that always uses C locale.

◆ Printf()

int Printf ( const char *  theFormat,
  ... 
)

Equivalent of standard C function printf() that always uses C locale.

◆ Sprintf()

int Sprintf ( char *  theBuffer,
const char *  theFormat,
  ... 
)

Equivalent of standard C function sprintf() that always uses C locale.

◆ Strtod()

double Strtod ( const char *  theStr,
char **  theNextPtr 
)

Optimized equivalent of standard C function strtod() that always uses C locale.