jigdo API
Last update by Admin on 2010-05-23
util/string.cc File Reference
#include <stdarg.h>
#include <stdio.h>
#include <debug.hh>
#include <string.hh>
Functions | |
string & | append (string &s, double x) |
Convert a number x to characters and append to a string. | |
string & | append (string &s, int x) |
string & | append (string &s, unsigned x) |
string & | append (string &s, unsigned x, int width) |
Convert a number x to characters and append to a string, padding at front with space characters. | |
string & | append (string &s, long x) |
string & | append (string &s, unsigned long x) |
string & | append (string &s, unsigned long x, int width) |
Variables | |
const int | BUF_LEN = 40 |
char | buf [BUF_LEN] |
const char *const | PAD = " " |
const char *const | PAD_END = PAD + 40 |
Function Documentation
string& append | ( | string & | s, | |
unsigned long | x, | |||
int | width | |||
) |
string& append | ( | string & | s, | |
unsigned | x, | |||
int | width | |||
) |
string& append | ( | string & | s, | |
double | x | |||
) |
Variable Documentation
const int BUF_LEN = 40 [static] |
const char* const PAD = " " [static] |
Generated on Tue Sep 23 14:27:42 2008 for jigdo by
