Is it possible to split annotations in multiple comment blocks

0 votes
asked Jul 25, 2018 in Question / help by hu (120 points)
e.g like this

/**

   * Some doxygen description.

   *  @startuml

   */

class MyClass

{

public:

  /**

    * + myMethod

    */

  void myMethod();

};

/** @enduml */

1 Answer

0 votes
answered Jul 25, 2018 by albert (3,520 points)

The splitting of the comments over different blocks in doxygen is not possible. You will get messages like:
.../aa.h:5: warning: ignoring \startuml command because PLANTUML_JAR_PATH is not set
.../aa.h:5: warning: startuml section ended without end marker

This functionality is by default available in doxygen. You don't need to use (in this case the startuml / enduml commands. Just have a look at the HAVE_DOT, UML_... and ...GRAPH...` settings.

...