PDA

View Full Version : //![0]



codeman
10th September 2012, 11:03
Hello friends,

for what are these signs://![0]

around methods or groups of method implentation or around class definitions.

I cannot figure it out.

Yours,

Zlatomir
10th September 2012, 11:19
Most likely those comments are for some tool (like doxygen) to be able to generate documentation from source code. //but this is just a guess, if you tell us where have you see those maybe some of us can give an answer to complete my guess

wysota
10th September 2012, 15:07
Hello friends,

for what are these signs://![0]

around methods or groups of method implentation or around class definitions.

I cannot figure it out.

Yours,

It's a mark for qdoc (tool generating documentation for Qt) that allows one to extract a code snippet from source code file and place it in a specified place in the docs being generated.