40 return ccmGlobalState::assertNoError(
static_cast<CCMIOError
>(err), msg);
47 const std::string& msg
50 return ccmGlobalState::assertNoError(
static_cast<CCMIOError
>(err), msg);
56 return globalState_->assertNoError(msg);
62 return globalState_->assertNoError(msg);
70 globalState_(new ccmGlobalState)
88 if (CCMIOIsValidEntity(globalState_->root))
90 CCMIOCloseFile(
nullptr, globalState_->root);
92 globalState_.reset(
nullptr);