container operation
| 609 | |
| 610 | // container operation |
| 611 | std::shared_ptr<AFIContainer> AFCEntity::FindContainer(const std::string& name) |
| 612 | { |
| 613 | ARK_ASSERT_RET_VAL(class_meta_ != nullptr, nullptr); |
| 614 | |
| 615 | auto index = class_meta_->GetIndex(name); |
| 616 | ARK_ASSERT_RET_VAL(index > 0, nullptr); |
| 617 | |
| 618 | return FindContainer(index); |
| 619 | } |
| 620 | |
| 621 | std::shared_ptr<AFIContainer> AFCEntity::FindContainer(const uint32_t index) |
| 622 | { |
no test coverage detected