Home | History | Annotate | Download | only in vtsc

Lines Matching refs:string

20 #include <string>
31 // Returns the component class name as a string
32 extern string ComponentClassToString(int component_class);
34 // Returns the component type name as a string
35 extern string ComponentTypeToString(int component_type);
38 extern string GetCppVariableType(const string primitive_type_string);
41 string GetCppVariableType(const VariableSpecificationMessage& arg,
45 extern string GetCppInstanceType(
47 const string& msg = string(),
51 extern string GetConversionToProtobufFunctionName(
57 // Replace the name space access symbol "::" in the string to "__" to prevent
59 string ClearStringWithNameSpaceAccess(const string& str);
61 // Returns a string which joins the given dir_path and file_name.
62 string PathJoin(const char* dir_path, const char* file_name);
64 // Returns a string which remove given base_path from file_path if included.
65 string RemoveBaseDir(const string& file_path, const string& base_path);
68 string GetPackageName(const ComponentSpecificationMessage& message);
71 string GetPackagePath(const ComponentSpecificationMessage& message);
75 string GetPackageNamespaceToken(const ComponentSpecificationMessage& message);
77 // Get component version string from the message. e.g. 1.0
78 // If for_macro = true, return the version string with format like V1_0.
79 std::string GetVersion(const ComponentSpecificationMessage& message,
89 std::string GetComponentBaseName(const ComponentSpecificationMessage& message);
92 string GetComponentName(const ComponentSpecificationMessage& message);
97 // Generate a plain string from the name of given variable, replace any special
100 string GetVarString(const string& var_name);