Coolquest, Inc. Home Products Support About Contact
cbold_logo_gif C++BOLD Reference Manual cbold_logo_gif

<<< Previous CBOLD Reference Home Next >>>

 

11.2.3.3. Auto Registering Legacy Code

auto_reg can be used with CBOLD source files that contain manually registered members. When parsing the source file, auto_reg will not re-register members that are already manually registered with reg(), rega(), regb(), regab(), regn(), or Reg(). This means that, in general, legacy code processed by auto_reg will be unchanged.

When adding new members to existing classes, recall that auto_reg will insert lines in Register() after any existing user lines (e.g., legacy manual registration of members). Thus the order of registration will not necessarily be the order in which members are declared. Registration order may be important in some cases. For example, modules and parts appear in registration order in symbolic netlists.

11.2.3.4. Limitations

In general, auto_reg will issue a warning message when it cannot auto register a member. For example, a warning message is issued when auto_reg encounters a multi-dimensional array. In some cases, an unusually placed comment will prevent auto_reg from registering a member.

 

<<< Previous CBOLD Reference Home Next >>>

Legal Copyright © 2007 by Coolquest, Inc. Contact