267
edits
No edit summary |
No edit summary |
||
Line 36: | Line 36: | ||
Note: some tags are mandatories depending on the standard. | Note: some tags are mandatories depending on the standard. | ||
The method header is: | The method header is: | ||
<syntaxhighlight lang=C> | <syntaxhighlight lang=C> | ||
Line 49: | Line 48: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
In which the formatter_number is dependent on formatter supported. | In which the formatter_number is dependent on formatter supported. | ||
'''Example''': | '''Example''': | ||
<syntaxhighlight lang=C> | <syntaxhighlight lang=C> | ||
misb.SetFormatter(misb::formatter::JSON_FORMAT); | |||
</syntaxhighlight> | |||
The misb::formatter::JSON_FORMAT parameter corresponds to an enum indicating which format type is to be implemented. | |||
At the moment, the enum is as follows: | |||
<syntaxhighlight lang=C> | |||
enum Formats { JSON_FORMAT }; | |||
</syntaxhighlight> | </syntaxhighlight> | ||
edits