MCPcopy Create free account
hub / github.com/apache/qpid-proton / impl

Method impl

cpp/src/url.cpp:166–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164 mutable std::string str;
165
166 impl(const std::string& s) :
167 scheme(0), username(0), password(0), host(0), port(0), path(0),
168 cstr(s.size()+1, '\0')
169 {
170 std::copy(s.begin(), s.end(), cstr.begin());
171 parse_url(&cstr[0], &scheme, &username, &password, &host, &port, &path);
172 }
173
174 void defaults() {
175 if (!scheme || *scheme=='\0' ) scheme = proton::url::AMQP.c_str();

Callers

nothing calls this directly

Calls 4

parse_urlFunction · 0.85
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected