Edinburgh Speech Tools  2.1-release
EST_slist_aux.cc File Reference
#include <cstdio>
#include <cctype>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <iostream>
#include "EST_types.h"
#include "EST_String.h"
#include "EST_Pathname.h"
#include "EST_string_aux.h"
#include "EST_cutils.h"
#include "EST_Token.h"
Include dependency graph for EST_slist_aux.cc:

Go to the source code of this file.

Functions

int StrListtoFList (EST_StrList &s, EST_FList &f)
 Convert a list of strings to a list of floats. More...
 
int StrListtoIList (EST_StrList &s, EST_IList &il)
 Convert a list of strings to a list of integers. More...
 
void BracketStringtoStrList (EST_String s, EST_StrList &l, EST_String sep)
 Convert a EST_String enclosed in a single set of brackets to a EST_StrList by separating tokens in s delimited by the separator sep. By default, the string is assumed to be delimited by whitespace. More...
 
void StringtoStrList (EST_String s, EST_StrList &l, EST_String sep)
 Convert a EST_String to a EST_StrList by separating tokens in s delimited by the separator sep. By default, the string is assumed to be delimited by whitespace. More...
 
void StrListtoString (EST_StrList &l, EST_String &s, EST_String sep)
 
EST_read_status load_StrList (EST_String filename, EST_StrList &l)
 Load tokens from a file and return them in a EST_StrList. More...
 
EST_write_status save_StrList (EST_String filename, EST_StrList &l, EST_String style)
 Save tokens from a EST_StrList. If style is set to "lines" each item is stored on a separate line, otherwise each item is separated by a single space. More...
 
int strlist_member (const EST_StrList &l, const EST_String &s)
 Return true if s is in list l. More...
 
long int strlist_index (const EST_StrList &l, const EST_String &s)
 Search the vector and return the position of the first occurance of string s in the list. More...
 
void StrList_to_StrVector (EST_StrList &l, EST_StrVector &v)
 Convert a list of strings to a vector of strings. More...
 
void StrVector_to_StrList (EST_StrVector &v, EST_StrList &l)
 Convert a vector of strings to a list of strings. More...
 
long int StrVector_index (const EST_StrVector &v, const EST_String &s)
 Search the vector and return the position of the first occurance of string s in the vector. More...
 

Function Documentation

void StrListtoString ( EST_StrList l,
EST_String s,
EST_String  sep 
)

Definition at line 122 of file EST_slist_aux.cc.