CAFE
Computational Analysis of gene Family Evolution
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
utils_string.h File Reference
#include "utils.h"

Go to the source code of this file.

Data Structures

struct  String
 

Macros

#define STRING_STEP_SIZE   2048
 
#define STRING_BUF_SIZE   131072
 

Typedefs

typedef StringpString
 

Functions

pString string_new_step (size_t step)
 
pString string_new ()
 
pString string_new_with_string (const char *newstr)
 
void string_free (pString pstr)
 
void string_free_without_data (pString pstr)
 
void string_reset (pString pstr)
 
void string_add (pString pstr, const char *add)
 
void string_fadd (pString pstr, const char *msg,...)
 
void string_trim (pString pstr)
 
char * string_get (pString pstr)
 
char * string_pchar_chomp (char *pstr)
 
int string_pchar_cmp_ignore_case (char *cmp1, char *cmp2)
 
pArrayList string_pchar_split (char *buf, char delim)
 
pArrayList string_pchar_space_split (char *buf)
 
void string_pchar_join_double (char *rtn, const char *sp, int argc, double *values)
 
void string_pchar_join (char *buf, char *stuff, int num, char **list)
 
pString string_join (const char *stuff, int num, char **list)
 

Macro Definition Documentation

#define STRING_BUF_SIZE   131072
#define STRING_STEP_SIZE   2048

Typedef Documentation

typedef String* pString

Function Documentation

void string_add ( pString  pstr,
const char *  add 
)
void string_fadd ( pString  pstr,
const char *  msg,
  ... 
)
void string_free ( pString  pstr)
void string_free_without_data ( pString  pstr)
char* string_get ( pString  pstr)
pString string_join ( const char *  stuff,
int  num,
char **  list 
)
pString string_new ( )
pString string_new_step ( size_t  step)
pString string_new_with_string ( const char *  newstr)
char* string_pchar_chomp ( char *  pstr)
int string_pchar_cmp_ignore_case ( char *  cmp1,
char *  cmp2 
)
void string_pchar_join ( char *  buf,
char *  stuff,
int  num,
char **  list 
)
void string_pchar_join_double ( char *  rtn,
const char *  sp,
int  argc,
double *  values 
)
pArrayList string_pchar_space_split ( char *  buf)
pArrayList string_pchar_split ( char *  buf,
char  delim 
)
void string_reset ( pString  pstr)
void string_trim ( pString  pstr)