MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / AssertFileData

Method AssertFileData

Source/FamiTrackerDocIO.cpp:1438–1444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1436
1437template <module_error_level_t l>
1438void CFamiTrackerDocIO::AssertFileData(bool Cond, const std::string &Msg) const {
1439 if (l <= err_lv_ && !Cond) {
1440 CModuleException e = file_.GetException();
1441 e.AppendError(Msg);
1442 throw e;
1443 }
1444}
1445
1446template<module_error_level_t l, typename T, typename U, typename V>
1447T CFamiTrackerDocIO::AssertRange(T Value, U Min, V Max, const std::string &Desc) const {

Callers

nothing calls this directly

Calls 2

GetExceptionMethod · 0.80
AppendErrorMethod · 0.80

Tested by

no test coverage detected