jigdo API
Last update by Admin on 2010-05-23
util/string-utf.cc File Reference
#include <config.h>
#include <glib.h>
#include <stdarg.h>
#include <stdio.h>
#include <debug.hh>
#include <string-utf.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) |
string & | append (string &s, unsigned long long x) |
string & | append (string &s, unsigned long long x, int width) |
gchar * | localeToUTF8 (const char *input) |
void | strSubst (string &result, const char *s, int flags) |
Variables | |
const int | BUF_LEN = 40 |
char | buf [BUF_LEN] |
const char *const | PAD = " " |
const char *const | PAD_END = PAD + 40 |
static const int | F = 1 << 0 |
static const int | L = 1 << 1 |
static const int | E = 1 << 2 |
Function Documentation
string& append | ( | string & | s, | |
unsigned long long | x, | |||
int | width | |||
) |
string& append | ( | string & | s, | |
unsigned long | x, | |||
int | width | |||
) |
string& append | ( | string & | s, | |
unsigned long | x | |||
) |
string& append | ( | string & | s, | |
long | 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.
width must be <40
string& append | ( | string & | s, | |
unsigned | x | |||
) |
string& append | ( | string & | s, | |
int | x | |||
) |
string& append | ( | string & | s, | |
double | x | |||
) |
Convert a number x to characters and append to a string.
Referenced by Progress::appendProgress(), Progress::appendSize(), main(), mkfiles(), and MkTemplate::run().
gchar* @116::localeToUTF8 | ( | const char * | input | ) | [inline, static] |
void @116::strSubst | ( | string & | result, | |
const char * | s, | |||
int | flags | |||
) | [static] |
References localeToUTF8(), and Paranoid.
Variable Documentation
const int BUF_LEN = 40 [static] |
Referenced by append(), and Progress::appendSpeed().
const int E = 1 << 2 [static] |
Referenced by Subst::subst().
const int F = 1 << 0 [static] |
Referenced by Subst::subst().
const int L = 1 << 1 [static] |
Referenced by Gunzip::Gunzip(), Gunzip::inject(), main(), and Subst::subst().
Generated on Tue Sep 23 14:27:42 2008 for jigdo by
