<!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"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.3.1"/> <title>LHAPDF C++ wrapper: A C++ wrapper for the LHAPDF library</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">LHAPDF C++ wrapper  <span id="projectnumber">5.4</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.3.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li class="current"><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><a href="files.html"><span>Files</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">A C++ wrapper for the <a class="el" href="namespaceLHAPDF.html" title="Namespace containing all the LHAPDF wrapper functions.">LHAPDF</a> library </div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><h1><a class="anchor" id="intro"></a> Introduction</h1> <p>The <a class="el" href="namespaceLHAPDF.html" title="Namespace containing all the LHAPDF wrapper functions.">LHAPDF</a> library provides a set of C++ wrapper functions for its Fortran subroutines. New users should browse this documentation and take a look at the <code>CCTest1.cc</code> and <code>CCTest2.cc</code> example program source files, which are good examples of how the wrapper is used.</p> <h1><a class="anchor" id="changes"></a> Recent changes</h1> <p>The <a class="el" href="namespaceLHAPDF.html" title="Namespace containing all the LHAPDF wrapper functions.">LHAPDF</a> wrapper has been improved in several ways for the <a class="el" href="namespaceLHAPDF.html" title="Namespace containing all the LHAPDF wrapper functions.">LHAPDF</a> v5.4 release:</p> <ul> <li>String passing to the Fortran functions from C++ now correctly passes the hidden length argument, fixing problems on 64 bit systems; </li> <li>The <code><a class="el" href="classLHAPDFWrap.html">LHAPDFWrap</a></code> class has been deprecated in favour of a set of wrapper functions in the <code><a class="el" href="namespaceLHAPDF.html" title="Namespace containing all the LHAPDF wrapper functions.">LHAPDF</a></code> namespace. The class interface was misleading, since no persistent state was involved and two class instances would not have been independent; </li> <li>Proper C++ <code>std::string</code> arguments can now be used for set names: <code>char*</code> string arguments can still be passed, due to implicit conversion via the string(char*) constructor.</li> </ul> <h1><a class="anchor" id="credits"></a> Credits</h1> <ul> <li>Originally by Stefan Gieseke. </li> <li>Adapted for LHAPDFv4 by Mike Whalley. </li> <li>Adapted for LHAPDFv5 by Craig Group/Mike Whalley. </li> <li>v5.4: Fortran portability, tidying, extensions and conversion to namespaced functions by Andy Buckley. </li> <li>v5.4.1: Rationalised init functions and deprecated "M" functions by Andy Buckley. </li> <li>v5.5.1: Added PDFSetInfo set metadata struct, and associated querying based on reading the PDFsets.index file. </li> </ul> </div></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Thu Nov 21 2013 06:02:29 for LHAPDF C++ wrapper by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.3.1 </small></address> </body> </html>