WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
Tools.h
1#ifndef _WINC_TOOLS
2#define _WINC_TOOLS
3
4#include <WXP/String.h>
5
6namespace WXP {
7 class Tools {
8 public:
9 static int swap( float f1, float f2 );
10 static bool isInt( const char *str );
11 static bool isFloat( const char *str );
12 static int printClean( const unsigned char *line, int size );
13 static int printControl( const unsigned char *line, int size );
14 static int dumpHex( const unsigned char *buf, int size );
15 static int toString( float val, String &str );
16 static int toString( float val, int sig, String &str );
17 static int toInt( float x );
18 static float calcInterval( float max, float min, int num );
19 };
20}
21#endif
This is a variable length string class.
Definition String.h:5
This class contains generic tools.
Definition Tools.h:7
static float calcInterval(float max, float min, int num)
Definition Tools.cc:193
All WXP classes fall under the WXP namespace.
Definition Angle.h:4