MCPcopy Create free account
hub / github.com/CesiumGS/cesium-native / addToQuery

Method addToQuery

CesiumITwinClient/src/Connection.cpp:115–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113} // namespace
114
115void QueryParameters::addToQuery(CesiumUtility::UriQuery& query) const {
116 if (this->search) {
117 query.setValue("$search", *this->search);
118 }
119 if (this->orderBy) {
120 query.setValue("$orderBy", *this->orderBy);
121 }
122 if (this->top) {
123 query.setValue("$top", std::to_string(*this->top));
124 }
125 if (this->skip) {
126 query.setValue("$skip", std::to_string(*this->skip));
127 }
128}
129
130void QueryParameters::addToUri(CesiumUtility::Uri& uri) const {
131 CesiumUtility::UriQuery query(uri.getQuery());

Callers 1

Connection.cppFile · 0.80

Calls 1

setValueMethod · 0.80

Tested by

no test coverage detected