Hi all,
Anyway to put class comments (from the class -> uml -> description edit box) into header files only, not cpp files?
Thanks.
// header snippet
...
class ComMission {
public:
/**
* complete missonId
*/
int missonComplete(int missonId);
...
// source snippet
/**
* complete missonId
*/
int missonComplete(int missonId) {
}
Dan wrote:As you can see below, the comment appears in header and cpp, I want it only in header.
Dan wrote:I removed {comment} from generation settings c++[1] in the source file box and created a new test class but no change.
Dan wrote:I notice that {comment} is in the operation dialog for the definition, so I removed that and then comment was not generated.
Dan wrote:If generation setting c++[4] comment removed it works for new classes only, for existing classes you need to click default definition in the operation c++ dialog. This is a pain when there are loads of classes!
Any way to automate changes in generation settings to existing classes ?
Return to Examples - How to do / Exemples - Comment faire
Users browsing this forum: No registered users and 1 guest