MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/MaterialX / getValueString

Method getValueString

source/MaterialXCore/Value.cpp:316–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314}
315
316string AggregateValue::getValueString() const
317{
318 if (_data.empty())
319 return EMPTY_STRING;
320
321 std::string result = "{";
322 std::string separator = "";
323 for (const auto& val : _data)
324 {
325 result += separator + val->getValueString();
326 separator = ";";
327 }
328 result += "}";
329
330 return result;
331}
332
333bool AggregateValue::isEqual(ConstValuePtr other) const
334{

Callers 15

test_DataTypesMethod · 0.45
getValueStringFunction · 0.45
mainFunction · 0.45
listContentsFunction · 0.45
traverseInputsFunction · 0.45
getConvertedValueFunction · 0.45
bindTexturesMethod · 0.45
bindUniformLocationMethod · 0.45
GlslProgram.cppFile · 0.45
printUniformsMethod · 0.45
printAttributesMethod · 0.45
bindImagesMethod · 0.45

Calls 1

emptyMethod · 0.45

Tested by 1

test_DataTypesMethod · 0.36