Loading...
Searching...
No Matches
ign.hh File Reference
#include <cstring>
#include "sdf/system_util.hh"
Include dependency graph for ign.hh:

Go to the source code of this file.

Functions

SDFORMAT_VISIBLE int cmdCheck (const char *_path)
 External hook to execute 'ign sdf -k' from the command line.
SDFORMAT_VISIBLE char * ignitionVersion ()
 External hook to read the library version.

Function Documentation

◆ cmdCheck()

SDFORMAT_VISIBLE int cmdCheck ( const char * _path)

External hook to execute 'ign sdf -k' from the command line.

Parameters
[in]_pathPath to the file to validate.
Returns
Zero on success, negative one otherwise.

References SDFORMAT_VISIBLE.

◆ ignitionVersion()

SDFORMAT_VISIBLE char * ignitionVersion ( )

External hook to read the library version.

Returns
C-string representing the version. Ex.: 0.1.2

References SDFORMAT_VISIBLE.