LAL  7.5.0.1-b72065a
StringVector.c File Reference

Prototypes

LALStringVectorXLALAppendString2Vector (LALStringVector *vect, const CHAR *string)
 Append the given string to the string-vector (XLAL interface), return pointer to the resulting string-vector, or NULL on error. More...
 
LALStringVectorXLALCreateStringVector (const CHAR *str1,...)
 Create a StringVector from the list of strings passed as arguments. More...
 
LALStringVectorXLALCreateEmptyStringVector (UINT4 length)
 Create an empty string vector of the given length. More...
 
LALStringVectorXLALCopyStringVector (const LALStringVector *vect)
 Create a copy of a string vector. More...
 
void XLALDestroyStringVector (LALStringVector *vect)
 XLAL-interface: Free a string-vector ;) More...
 
static int StringCompare (const void *p1, const void *p2)
 
char * XLALConcatStringVector (const LALStringVector *strings, const char *sep)
 Concatenate a string vector 'strings', separated by the string 'sep', into a single string. More...
 
LALStringVectorXLALParseStringVector (const char *string, const char *delim)
 Parse 'string' into a string vector of tokens, delimited by the characters 'delim'. More...
 
int XLALSortStringVector (LALStringVector *strings)
 Sort string-vector alphabetically in place More...
 
char * XLALDeblankString (const CHAR *start, UINT4 len)
 Copy (and allocate) string from 'start' with length 'len', removing all starting- and trailing blanks! More...
 
INT4 XLALFindStringInVector (const char *needle, const LALStringVector *haystack)
 Search for string 'needle' in string-vector 'haystack', return index to first matching vector element if found, -1 outherwise. More...
 

Go to the source code of this file.

Function Documentation

◆ StringCompare()

static int StringCompare ( const void *  p1,
const void *  p2 
)
static

Definition at line 231 of file StringVector.c.