MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / ~Schema

Method ~Schema

rapidjson/schema.h:577–598  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

575 }
576
577 ~Schema() {
578 if (allocator_) {
579 allocator_->Free(enum_);
580 }
581 if (properties_) {
582 for (SizeType i = 0; i < propertyCount_; i++)
583 properties_[i].~Property();
584 AllocatorType::Free(properties_);
585 }
586 if (patternProperties_) {
587 for (SizeType i = 0; i < patternPropertyCount_; i++)
588 patternProperties_[i].~PatternProperty();
589 AllocatorType::Free(patternProperties_);
590 }
591 AllocatorType::Free(itemsTuple_);
592#if RAPIDJSON_SCHEMA_HAS_REGEX
593 if (pattern_) {
594 pattern_->~RegexType();
595 allocator_->Free(pattern_);
596 }
597#endif
598 }
599
600 bool BeginValue(Context& context) const {
601 if (context.inArray) {

Callers

nothing calls this directly

Calls 3

~PropertyMethod · 0.80
~PatternPropertyMethod · 0.80
FreeMethod · 0.45

Tested by

no test coverage detected