MCPcopy Create free account
hub / github.com/assimp/assimp / validate

Method validate

code/AssetLib/3MF/D3MFOpcPackage.cpp:200–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198static const char *const ModelRef = "3D/3dmodel.model";
199
200bool D3MFOpcPackage::validate() {
201 if (nullptr == mRootStream || nullptr == mZipArchive) {
202 return false;
203 }
204
205 return mZipArchive->Exists(ModelRef);
206}
207
208std::string D3MFOpcPackage::ReadPackageRootRelationship(IOStream *stream) {
209 XmlParser xmlParser;

Callers

nothing calls this directly

Calls 1

ExistsMethod · 0.45

Tested by

no test coverage detected