You are here: More Information > Special Tasks
Special Tasks
Technical Reference
> Documenting without Editor > Property Tags > Multiple Use of Topics
Close
Doc-O-Matic 10
Overloaded Functions Examples

In this example

//@@Foo // This is the description for Foo, it is // a description for a non-existing method void Foo(int i); void Foo(char * s); void Foo(int i, char * s);

you entered a topic with the ID Foo and three overloaded functions called Foo in your source code. If the autocombine option is turned on they are shown as follows:

  • Doc-O-Matic combines all Foo functions with no description to one topic containing the text of topic Foo.
  • Only topic Foo will be exported to the output.
  • To make sure that you find the overloaded functions in the outputs Doc-O-Matic adds the topic IDs of the overloaded functions to the index. Links to the overloaded functions are redirected to the topic Foo.

In this example overloaded functions are combined manually:

// This is the description for all Foos. void Foo(int i); // <combine Foo@int> void Foo(char * s); // <combine Foo@int> void Foo(int i, char * s);
Copyright © 2000-2020 toolsfactory software inc. All rights reserved.