Edinburgh Speech Tools  2.1-release
EST_String.cc File Reference
#include <iostream>
#include <cstring>
#include <cstdio>
#include <cctype>
#include "EST_String.h"
#include "string_version.h"
#include "EST_math.h"
#include "regexp.h"
Include dependency graph for EST_String.cc:

Go to the source code of this file.

Functions

EST_String operator+ (const EST_String &a, const char *b)
 
EST_String operator+ (const EST_String &a, const EST_String &b)
 
EST_String operator+ (const char *a, const EST_String &b)
 
EST_String operator* (const EST_String &s, int n)
 
EST_String downcase (const EST_String &s)
 
EST_String upcase (const EST_String &s)
 
ostream & operator<< (ostream &s, const EST_String &str)
 
int compare (const EST_String &a, const EST_String &b)
 
int compare (const EST_String &a, const char *b)
 
int fcompare (const EST_String &a, const EST_String &b, const unsigned char *table)
 
int fcompare (const EST_String &a, const char *b, const unsigned char *table)
 
int operator== (const char *a, const EST_String &b)
 
int operator== (const EST_String &a, const EST_String &b)
 

Variables

EST_String EST_String_nullString = ""
 
size_t num_substitutions =0
 

Function Documentation

EST_String operator+ ( const EST_String a,
const char *  b 
)

Definition at line 687 of file EST_String.cc.

EST_String operator+ ( const EST_String a,
const EST_String b 
)

Definition at line 708 of file EST_String.cc.

EST_String operator+ ( const char *  a,
const EST_String b 
)

Definition at line 726 of file EST_String.cc.

EST_String operator* ( const EST_String s,
int  n 
)

Definition at line 747 of file EST_String.cc.

EST_String downcase ( const EST_String s)

Definition at line 942 of file EST_String.cc.

EST_String upcase ( const EST_String s)

Definition at line 955 of file EST_String.cc.

ostream& operator<< ( ostream &  s,
const EST_String str 
)

Definition at line 1075 of file EST_String.cc.

int compare ( const EST_String a,
const EST_String b 
)

Definition at line 1126 of file EST_String.cc.

int compare ( const EST_String a,
const char *  b 
)

Definition at line 1138 of file EST_String.cc.

int fcompare ( const EST_String a,
const EST_String b,
const unsigned char *  table 
)

Case folded comparison.

The table argument can defined how upper and lower case characters correspond. The default works for ASCII.

Definition at line 1150 of file EST_String.cc.

int fcompare ( const EST_String a,
const char *  b,
const unsigned char *  table 
)

Definition at line 1163 of file EST_String.cc.

int operator== ( const char *  a,
const EST_String b 
)

Definition at line 1177 of file EST_String.cc.

int operator== ( const EST_String a,
const EST_String b 
)

Definition at line 1189 of file EST_String.cc.

Variable Documentation

EST_String EST_String_nullString = ""

Definition at line 63 of file EST_String.cc.

size_t num_substitutions =0

Definition at line 73 of file EST_String.cc.