<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>OpenSceneGraph: osgIntrospection/Version File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.4 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">OpenSceneGraph <span id="projectnumber">2.8.4</span></div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_9ac7dfc01674bf14ebd688d6c3ac994a.html">osgIntrospection</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#define-members">Defines</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">Version File Reference</div> </div> </div> <div class="contents"> <div class="textblock"><code>#include <<a class="el" href="a01161.html">osgIntrospection/Export</a>></code><br/> </div><table class="memberdecls"> <tr><td colspan="2"><h2><a name="define-members"></a> Defines</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a01295.html#aa19dfd0e5ec770c2acbb90b6ca2af2f6">OSGINTROSPECTION_VERSION</a>   1</td></tr> <tr><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">OSGINTROSPECTION_EXPORT const <br class="typebreak"/> char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01295.html#aafe5b1d034d487cbee01c49289634caa">osgIntrospectionGetVersion</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="a01295.html#aafe5b1d034d487cbee01c49289634caa" title="osgIntrospectionGetVersion() returns the library version number.">osgIntrospectionGetVersion()</a> returns the library version number. <a href="#aafe5b1d034d487cbee01c49289634caa"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">OSGINTROSPECTION_EXPORT const <br class="typebreak"/> char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01295.html#a200d3f4f21b366f53532a5711e2d53b9">osgIntrospectionGetLibraryName</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">getLibraryName_osgIntrospection() returns the library name in human friendly form. <a href="#a200d3f4f21b366f53532a5711e2d53b9"></a><br/></td></tr> </table> <hr/><h2>Define Documentation</h2> <a class="anchor" id="aa19dfd0e5ec770c2acbb90b6ca2af2f6"></a><!-- doxytag: member="Version::OSGINTROSPECTION_VERSION" ref="aa19dfd0e5ec770c2acbb90b6ca2af2f6" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define OSGINTROSPECTION_VERSION   1</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Function Documentation</h2> <a class="anchor" id="a200d3f4f21b366f53532a5711e2d53b9"></a><!-- doxytag: member="Version::osgIntrospectionGetLibraryName" ref="a200d3f4f21b366f53532a5711e2d53b9" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OSGINTROSPECTION_EXPORT const char* osgIntrospectionGetLibraryName </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>getLibraryName_osgIntrospection() returns the library name in human friendly form. </p> </div> </div> <a class="anchor" id="aafe5b1d034d487cbee01c49289634caa"></a><!-- doxytag: member="Version::osgIntrospectionGetVersion" ref="aafe5b1d034d487cbee01c49289634caa" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OSGINTROSPECTION_EXPORT const char* osgIntrospectionGetVersion </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p><a class="el" href="a01295.html#aafe5b1d034d487cbee01c49289634caa" title="osgIntrospectionGetVersion() returns the library version number.">osgIntrospectionGetVersion()</a> returns the library version number. </p> <p>Numbering convention : OpenSceneGraph-1.0 will return 1.0 from osgIntrospectionGetVersion.</p> <p>This C function can be also used to check for the existence of the OpenSceneGraph library using autoconf and its m4 macro AC_CHECK_LIB.</p> <p>Here is the code to add to your configure.in: </p> <div class="fragment"><pre class="fragment"> # # Check for the OpenSceneGraph (OSG) Introspection library # AC_CHECK_LIB(osg, osgIntrospectionGetVersion, , [AC_MSG_ERROR(OpenSceneGraph Introspection library not found. See http://www.openscenegraph.org)],) </pre></div> </div> </div> </div> <hr> <table border="0"><tr><td> <img src="osg32-32.png" alt="osg logo" /> </td><td> <address><small>Generated at Tue May 31 2011 04:19:31 for the <a href="http://www.openscenegraph.org/">OpenSceneGraph</a> by <a href="http://www.doxygen.org">doxygen</a> 1.7.4.</small></address> <!-- Dimitri van Heesch's e-mail address removed, lest he get messages on the OpenSceneGraph --> </td></tr></table> </body> </html>