Lines Matching refs:string
42 string ComponentClassToString(int component_class) {
63 string ComponentTypeToString(int component_type) {
120 string GetCppVariableType(const std::string scalar_type_string) {
137 } else if (scalar_type_string == "string") {
138 return "std::string";
156 string GetCppVariableType(const VariableSpecificationMessage& arg,
158 string result;
194 string element_type = GetCppVariableType(arg.vector_value(0));
207 string element_type = GetCppVariableType(cur_val);
296 string element_type = GetCppVariableType(arg.fmq_value(0));
302 string element_type = GetCppVariableType(arg.fmq_value(0));
315 string element_type = GetCppVariableType(cur_val);
336 string GetConversionToProtobufFunctionName(VariableSpecificationMessage arg) {
351 string GetCppInstanceType(
353 const string& msg,
459 std::string predefined_type_name = arg.predefined_type();
520 string ClearStringWithNameSpaceAccess(const string& str) {
521 string result = str;
526 // Returns a string which joins the given dir_path and file_name.
527 string PathJoin(const char* dir_path, const char* file_name) {
528 string result;
543 // Returns a string which remove given base_path from file_path if included.
544 string RemoveBaseDir(const string& file_path, const string& base_path) {
548 string result;
556 string GetPackageName(const ComponentSpecificationMessage& message) {
563 string GetPackagePath(const ComponentSpecificationMessage& message) {
564 string package_path = GetPackageName(message);
569 string GetPackageNamespaceToken(const ComponentSpecificationMessage& message) {
570 string package_token = GetPackageName(message);
575 string GetVersion(const ComponentSpecificationMessage& message,
581 string version = GetVersion(message);
586 string version = GetVersion(message);
590 string GetComponentBaseName(const ComponentSpecificationMessage& message) {
599 string GetComponentName(const ComponentSpecificationMessage& message) {
604 string component_name = message.original_data_structure_name();
610 if (pos != std::string::npos) {
622 string GetVarString(const string& var_name) {
623 string var_str = var_name;