uvm:8.2.3 Complex overloads

Source: Internet
Author: User

The 1.UVM supports continuous overloads:


2. Replaced overloads: A new bird sparrow was derived from bird:


1) After the Group one is valid.

2) If the Replace parameter is 1. (Default is 1)

3) if it is 0.

The second time is invalid.

When creating the bird, factory queries to two related incentives, it sees the last one, and then establishes the Sparrow instance.

3. So the following is also possible:


1) is contrary to the third, provided that the final class has a derivation relationship with the class being overloaded.

2) There is no case of parrot, otherwise it will be wrong.

Replace for 0 should not be successful!!

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

uvm:8.2.3 Complex overloads

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.