• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kviewshell

GString.cpp File Reference

#include "GString.h"
#include "GThreads.h"
#include "debug.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>

Include dependency graph for GString.cpp:

Go to the source code of this file.


Defines

#define DO_CHANGELOCALE   1
#define LC_ALL   0
#define NATIVE_CREATE(x)   UTF8::create( x );

Functions

static unsigned long add_char (unsigned long const U, unsigned char const *const r)
static const GMap< GUTF8String,
GUTF8String > & 
BasicMap (void)
static double Cstrtod (char *data, char **edata)
static long Cstrtol (char *data, char **edata, const int base)
static unsigned long Cstrtoul (char *data, char **edata, const int base)
unsigned int hash (const GBaseString &str)
GUTF8String operator+ (const char *s1, const GUTF8String &s2)

Define Documentation

#define DO_CHANGELOCALE   1

Definition at line 92 of file GString.cpp.

#define LC_ALL   0

Definition at line 251 of file GString.cpp.

#define NATIVE_CREATE ( x   )     UTF8::create( x );

Definition at line 246 of file GString.cpp.


Function Documentation

static unsigned long add_char ( unsigned long const   U,
unsigned char const *const   r 
) [inline, static]

Definition at line 1999 of file GString.cpp.

static const GMap<GUTF8String,GUTF8String>& BasicMap ( void   )  [static]

Definition at line 1482 of file GString.cpp.

static double Cstrtod ( char *  data,
char **  edata 
) [inline, static]

Definition at line 2429 of file GString.cpp.

static long Cstrtol ( char *  data,
char **  edata,
const int  base 
) [inline, static]

Definition at line 2339 of file GString.cpp.

static unsigned long Cstrtoul ( char *  data,
char **  edata,
const int  base 
) [inline, static]

Definition at line 2384 of file GString.cpp.

unsigned int hash ( const GBaseString &  str  ) 

Implements a functional i18n atoi. Note that if you pass a GBaseString that is not in Native format the results may be disparaging. Returns a hash code for the string. This hashing function helps when creating associative maps with string keys (see {GMap}). This hash code may be reduced to an arbitrary range by computing its remainder modulo the upper bound of the range.

Definition at line 1867 of file GString.cpp.

GUTF8String operator+ ( const char *  s1,
const GUTF8String &  s2 
)

Definition at line 2740 of file GString.cpp.

kviewshell

Skip menu "kviewshell"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • kviewshell
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal