plastimatch
|
#include "plmsys_config.h"
#include <stdarg.h>
#include <string>
#include <vector>
#include "plm_return_code.h"
Go to the source code of this file.
Functions | |
bool | string_starts_with (const std::string &s1, const char *s2) |
bool | string_starts_with (const char *s1, const char *s2) |
int | plm_strcmp (const char *s1, const char *s2) |
std::string | make_lowercase (const std::string &s) |
std::string | make_uppercase (const std::string &s) |
std::string | regularize_string (const std::string &s) |
void | string_util_rtrim_whitespace (char *s) |
Plm_return_code | parse_int13 (int *arr, const char *string) |
Plm_return_code | parse_int13 (int *arr, const std::string &string) |
Plm_return_code | parse_float13 (float *arr, const char *string) |
Plm_return_code | parse_float13 (float *arr, const std::string &string) |
Plm_return_code | parse_dicom_float2 (float *arr, const char *string) |
Plm_return_code | parse_dicom_float3 (float *arr, const char *string) |
Plm_return_code | parse_dicom_float6 (float *arr, const char *string) |
std::vector< float > | parse_dicom_float_vec (const char *string) |
std::vector< int > | parse_int3_string (const char *s) |
std::vector< float > | parse_float3_string (const char *s) |
std::vector< float > | parse_float3_string (const std::string &s) |
std::vector< float > | parse_float_string (const char *s) |
std::vector< float > | parse_float_string (const std::string &s) |
const std::string | string_trim (const std::string &str, const std::string &whitespace=" \t\r\n") |
std::string | slurp_file (const char *fn) |
std::string | slurp_file (const std::string &fn) |
std::string | string_format_va (const char *fmt, va_list ap) |
std::string | string_format (const char *fmt,...) |
size_t | ci_find (const std::string &str1, const std::string &str2) |
bool | string_value_true (const char *s) |
bool | string_value_true (const std::string &s) |
bool | string_value_false (const char *s) |
bool | string_value_false (const std::string &s) |
template<typename T > | |
std::string | PLM_to_string (T value) |
template<typename T > | |
std::string | PLM_to_string (T *value, int n) |
std::vector< std::string > & | string_split (const std::string &s, char delim, std::vector< std::string > &elems) |
std::vector< std::string > | string_split (const std::string &s, char delim) |
bool | split_key_val (const std::string &s, std::string &key, std::string &val, char delim='=') |
bool | split_array_index (const std::string &s, std::string &array, std::string &index) |
size_t ci_find | ( | const std::string & | str1, |
const std::string & | str2 ) |
std::string make_lowercase | ( | const std::string & | s | ) |
std::string make_uppercase | ( | const std::string & | s | ) |
Plm_return_code parse_dicom_float2 | ( | float * | arr, |
const char * | string ) |
Plm_return_code parse_dicom_float3 | ( | float * | arr, |
const char * | string ) |
Plm_return_code parse_dicom_float6 | ( | float * | arr, |
const char * | string ) |
std::vector< float > parse_dicom_float_vec | ( | const char * | string | ) |
Plm_return_code parse_float13 | ( | float * | arr, |
const char * | string ) |
Plm_return_code parse_float13 | ( | float * | arr, |
const std::string & | string ) |
std::vector< float > parse_float3_string | ( | const char * | s | ) |
std::vector< float > parse_float3_string | ( | const std::string & | s | ) |
std::vector< float > parse_float_string | ( | const char * | s | ) |
std::vector< float > parse_float_string | ( | const std::string & | s | ) |
Plm_return_code parse_int13 | ( | int * | arr, |
const char * | string ) |
Plm_return_code parse_int13 | ( | int * | arr, |
const std::string & | string ) |
std::vector< int > parse_int3_string | ( | const char * | s | ) |
int plm_strcmp | ( | const char * | s1, |
const char * | s2 ) |
std::string PLM_to_string | ( | T * | value, |
int | n ) |
std::string PLM_to_string | ( | T | value | ) |
std::string regularize_string | ( | const std::string & | s | ) |
std::string slurp_file | ( | const char * | fn | ) |
std::string slurp_file | ( | const std::string & | fn | ) |
bool split_array_index | ( | const std::string & | s, |
std::string & | array, | ||
std::string & | index ) |
bool split_key_val | ( | const std::string & | s, |
std::string & | key, | ||
std::string & | val, | ||
char | delim = '=' ) |
std::string string_format | ( | const char * | fmt, |
... ) |
std::string string_format_va | ( | const char * | fmt, |
va_list | ap ) |
std::vector< std::string > string_split | ( | const std::string & | s, |
char | delim ) |
std::vector< std::string > & string_split | ( | const std::string & | s, |
char | delim, | ||
std::vector< std::string > & | elems ) |
bool string_starts_with | ( | const char * | s1, |
const char * | s2 ) |
bool string_starts_with | ( | const std::string & | s1, |
const char * | s2 ) |
const std::string string_trim | ( | const std::string & | str, |
const std::string & | whitespace = " \t\r\n" ) |
void string_util_rtrim_whitespace | ( | char * | s | ) |
bool string_value_false | ( | const char * | s | ) |
bool string_value_false | ( | const std::string & | s | ) |
bool string_value_true | ( | const char * | s | ) |
bool string_value_true | ( | const std::string & | s | ) |