Lines Matching refs:string
27 __attribute__((warn_unused_result)) static bool parse(const std::string& s, FQName* into);
31 FQName(const std::string& package, const std::string& version, const std::string& name = "",
32 const std::string& valueName = "");
39 __attribute__((warn_unused_result)) bool setTo(const std::string& s);
40 __attribute__((warn_unused_result)) bool setTo(const std::string& package, size_t majorVer,
41 size_t minorVer, const std::string& name = "",
42 const std::string& valueName = "");
45 const std::string &defaultPackage,
46 const std::string &defaultVersion);
48 const std::string& package() const;
50 std::string atVersion() const;
52 std::string version() const;
54 std::string sanitizedVersion() const;
86 const std::string& name() const;
87 std::vector<std::string> names() const;
92 const std::string& valueName() const;
105 std::string string() const;
116 std::string getRelativeFQName(const FQName& relativeTo) const;
121 std::string getInterfaceBaseName() const;
126 std::string getInterfaceAdapterName() const;
131 const std::string& getInterfaceName() const;
136 std::string getInterfaceHwName() const;
141 std::string getInterfaceProxyName() const;
146 std::string getInterfaceStubName() const;
151 std::string getInterfacePassthroughName() const;
192 std::string tokenName() const;
196 std::string cppNamespace() const;
200 std::string cppLocalName() const;
204 std::string cppName() const;
207 std::string javaPackage() const;
211 std::string javaName() const;
219 bool inPackage(const std::string &package) const;
221 std::vector<std::string> getPackageComponents() const;
223 std::vector<std::string> getPackageAndVersionComponents(bool sanitized) const;
237 std::string mPackage;
241 std::string mName;
242 std::string mValueName;
246 __attribute__((warn_unused_result)) bool setVersion(const std::string& v);
247 __attribute__((warn_unused_result)) bool parseVersion(const std::string& majorStr,
248 const std::string& minorStr);
249 __attribute__((warn_unused_result)) static bool parseVersion(const std::string& majorStr,
250 const std::string& minorStr,
253 __attribute__((warn_unused_result)) static bool parseVersion(const std::string& v,