MCPcopy Create free account
hub / github.com/PixarAnimationStudios/OpenUSD / GetString

Method GetString

pxr/imaging/hd/dataSourceLocator.cpp:240–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238
239
240std::string
241HdDataSourceLocator::GetString(const char *delimiter) const
242{
243 if (_tokens.empty()) {
244 return std::string();
245 }
246 std::ostringstream buffer;
247 for (size_t i = 0, e = _tokens.size() - 1; i < e; ++i) {
248 buffer << _tokens[i].data() << delimiter;
249 }
250
251 buffer << _tokens.back().data();
252
253 return buffer.str();
254}
255
256bool
257HdDataSourceLocator::operator<(const HdDataSourceLocator &rhs) const

Callers 15

GetMetadataMethod · 0.45
mainFunction · 0.45
GetRenderStatsMethod · 0.45
GetResourceAllocationMethod · 0.45
_ConcatFunction · 0.45
_GetFlattenedNameMethod · 0.45
_GenerateHgiResourcesMethod · 0.45
_EmitDeclarationFunction · 0.45

Calls 5

stringClass · 0.50
emptyMethod · 0.45
sizeMethod · 0.45
dataMethod · 0.45
backMethod · 0.45

Tested by 10

mainFunction · 0.36
_CreateShaderProgramMethod · 0.36
_GetAovPathMethod · 0.36
OffscreenTestMethod · 0.36
_TestValidOrderingFunction · 0.36
PrimsDirtiedMethod · 0.36
_LocatorCompareFunction · 0.36
mainFunction · 0.36
_SyncFunction · 0.36
_CreateShaderProgramMethod · 0.36