Lines Matching refs:str
14 return get_int(str); in operator int()
20 return get_vector(str); in operator vector<double>()
26 return get_ivector(str); in operator vector<int>()
32 return get_double(str); in operator double()
38 return get_double_array(str); in operator double*()
44 return get_string(str); in operator string()
51 int ValType::get_int(string str) in get_int() argument
53 int i = atoi(str.c_str()); in get_int()
57 double ValType::get_double(string str) in get_double() argument
59 double x = atof(str.c_str()); in get_double()
63 double *ValType::get_double_array(string str) in get_double_array() argument
71 vector<double> vec = get_vector(str); in get_double_array()
80 vector<double> ValType::get_vector(string str) in get_vector() argument
82 char* s = (char*) malloc(str.size()+1); in get_vector()
83 strcpy(s,str.c_str()); in get_vector()
94 vector<int> ValType::get_ivector(string str) in get_ivector() argument
96 char* s = (char*) malloc(str.size()+1); in get_ivector()
97 strcpy(s,str.c_str()); in get_ivector()
108 string ValType::get_string(string str) in get_string() argument
110 return str; in get_string()