Jump to content

LibMISB/LibMISB Introduction/ Functionalities supported: Difference between revisions

no edit summary
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.  


===== Method implementation =====
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>




267

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.