MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / SerializeOpVec

Function SerializeOpVec

src/OpenColorIO/Op.cpp:473–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

471}
472
473std::string SerializeOpVec(const OpRcPtrVec & ops, int indent)
474{
475 std::ostringstream oss;
476
477 for (OpRcPtrVec::size_type idx = 0, size = ops.size(); idx < size; ++idx)
478 {
479 const OpRcPtr & op = ops[idx];
480
481 oss << pystring::mul(" ", indent);
482 oss << "Op " << idx << ": " << *op << " ";
483 oss << op->getCacheID();
484
485 oss << "\n";
486 }
487
488 return oss.str();
489}
490
491void CreateOpVecFromOpData(OpRcPtrVec & ops,
492 const ConstOpDataRcPtr & opData,

Callers 2

optimizeMethod · 0.85
OCIO_ADD_TESTFunction · 0.85

Calls 2

sizeMethod · 0.45
getCacheIDMethod · 0.45

Tested by 1

OCIO_ADD_TESTFunction · 0.68