bonjour,
je cherche des info sur la generation de doc auto exclusivement avec VISUAL.
Malheureusement aucun autre logiciel (Doxygen ou autre ) n'est toléré.
je n'arrive pas à avoir comme les librairie l'aide dans le "object browser", c'est a dire une description des methode et autre pour une utilisation par un tier.
en exemple une partie de mon code:
1 2 3 4 5 6 7 8 9 10 11 12 13
|
/*==============================constructor====================================*/
///<summary>default constructor</summary>
///<param>none</param>
///<returns>objet INSTRUMENT</returns>
///<example>INSTRUMENT* a = new INSTRUMENT;</example>
INSTRUMENT(void);
///<summary>constructor with 1 parameter</summary>
///<param>string name Instrument</param>
///<returns>objet INSTRUMENT</returns>
///<example>INSTRUMENT* a = new INSTRUMENT("my_instrument");</example>
INSTRUMENT(std::string stringINSTRUMENTNameGiveByUser); |
je vous joint la ligne de command de generation du XML:
"XXXXX" /Fo"C:\tmp\PROJECT\XXXX.xml"
j'obtient ceci dans un fichier xml temporaire
1 2 3 4 5 6
|
<?xml version="1.0"?>
<doc>
<members>
</members>
</doc> |
et dans le fichier xml du projet:
1 2 3 4 5 6 7 8 9 10 11 12 13
|
<member name="M:INSTRUMENT.#ctor(std.basic_string<System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte,std.char_traits{System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte},std.allocator<System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte>>)">
<summary>constructor with 1 parameter</summary>
<param>string name Instrument</param>
<returns>objet INSTRUMENT</returns>
<example>INSTRUMENT* a = new INSTRUMENT("my_instrument");</example>
</member>
<member name="M:INSTRUMENT.#ctor">
<summary>default constructor</summary>
<param>none</param>
<returns>objet INSTRUMENT</returns>
<example>INSTRUMENT* a = new INSTRUMENT;</example>
</member> |
et dans le "browser object" de visual j ai:
public : INSTRUMENT::INSTRUMENT(std::string stringINSTRUMENTNameGiveByUser)
et pas plus.
merci si un expert visual a la reponse.
PS: j ai deja visité la msdn et le forum
Partager