Re: [QuantLib-svn] SF.net SVN: quantlib: [14151] branches/R000900-branch

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [QuantLib-svn] SF.net SVN: quantlib: [14151] branches/R000900-branch

Ferdinando M. Ametrano-3
I'm puzzled.. this fixes the rendering problem?
wow!

On Jan 22, 2008 11:49 AM,  <[hidden email]> wrote:

> Revision: 14151
>           http://quantlib.svn.sourceforge.net/quantlib/?rev=14151&view=rev
> Author:   ericehlers
> Date:     2008-01-22 02:48:59 -0800 (Tue, 22 Jan 2008)
>
> Log Message:
> -----------
> Fix a rendering problem in IE
>
> Modified Paths:
> --------------
>     branches/R000900-branch/ObjectHandler/Docs/pages/design.docs
>     branches/R000900-branch/QuantLibAddin/Docs/pages/design.docs
>
> Modified: branches/R000900-branch/ObjectHandler/Docs/pages/design.docs
> ===================================================================
> --- branches/R000900-branch/ObjectHandler/Docs/pages/design.docs        2008-01-21 16:51:18 UTC (rev 14150)
> +++ branches/R000900-branch/ObjectHandler/Docs/pages/design.docs        2008-01-22 10:48:59 UTC (rev 14151)
> @@ -181,8 +181,10 @@
>  \code
>  #include "objecthandler.hpp"
>
> -void ObjectHandler::storeObject(const Handle &handle, const obj_ptr &object) {
> -   objectList_[handle] = object;
> +void ObjectHandler::storeObject(
> +        const Handle &handle,
> +        const obj_ptr &object) {
> +    objectList_[handle] = object;
>  }
>
>  obj_ptr ObjectHandler::retrieveObject(const Handle &handle) {
>
> Modified: branches/R000900-branch/QuantLibAddin/Docs/pages/design.docs
> ===================================================================
> --- branches/R000900-branch/QuantLibAddin/Docs/pages/design.docs        2008-01-21 16:51:18 UTC (rev 14150)
> +++ branches/R000900-branch/QuantLibAddin/Docs/pages/design.docs        2008-01-22 10:48:59 UTC (rev 14151)
> @@ -135,7 +135,8 @@
>              return boost::static_pointer_cast<void>(blackScholesProcess_);
>          }
>      private:
> -        boost::shared_ptr<QuantLib::BlackScholesProcess> blackScholesProcess_;
> +        boost::shared_ptr<QuantLib::BlackScholesProcess>
> +            blackScholesProcess_;
>      };
>  }
>  \endcode
> @@ -160,19 +161,22 @@
>
>          boost::shared_ptr<BlackVolTermStructure> blackVolTermStructure =
>              OH_GET_OBJECT(BlackVolTermStructure, handleBlackVol);
> -        boost::shared_ptr<QuantLib::BlackVolTermStructure> blackVolTermStructureP =
> -            OH_GET_REFERENCE(QuantLib::BlackVolTermStructure, blackVolTermStructure);
> +        boost::shared_ptr<QuantLib::BlackVolTermStructure>
> +            blackVolTermStructureP = OH_GET_REFERENCE(
> +                QuantLib::BlackVolTermStructure,
> +                blackVolTermStructure);
>          QuantLib::Handle<QuantLib::BlackVolTermStructure>
>              blackVolTermStructureH(blackVolTermStructureP);
>
>          // construct new BlackScholesProcess object
>
> -        blackScholesProcess_ = boost::shared_ptr<QuantLib::BlackScholesProcess> (
> -            new QuantLib::BlackScholesProcess(
> -                underlyingH,
> -                flatDividendTS,
> -                flatTermStructure,
> -                blackVolTermStructureH));
> +        blackScholesProcess_ =
> +            boost::shared_ptr<QuantLib::BlackScholesProcess>(
> +                new QuantLib::BlackScholesProcess(
> +                    underlyingH,
> +                    flatDividendTS,
> +                    flatTermStructure,
> +                    blackVolTermStructureH));
>      }
>
>  }
> @@ -222,8 +226,10 @@
>
>          boost::shared_ptr<BlackScholesProcess> blackScholesProcess =
>              OH_GET_OBJECT(BlackScholesProcess, handleBlackScholes);
> -        const boost::shared_ptr<QuantLib::BlackScholesProcess> blackScholesProcessQL =
> -            OH_GET_REFERENCE(QuantLib::BlackScholesProcess, blackScholesProcess);
> +        const boost::shared_ptr<QuantLib::BlackScholesProcess>
> +            blackScholesProcessQL = OH_GET_REFERENCE(
> +                QuantLib::BlackScholesProcess,
> +                blackScholesProcess);
>
>          // format inputs to QuantLib::VanillaOption constructor
>          ...
> @@ -247,7 +253,8 @@
>              const std::string &engineID,
>              const long &timeSteps) {
>          boost::shared_ptr<QuantLib::PricingEngine> pricingEngine =
> -            Create<boost::shared_ptr<QuantLib::PricingEngine> >()(engineID, timeSteps);
> +            Create<boost::shared_ptr<QuantLib::PricingEngine> >()(
> +                engineID, timeSteps);
>          mInstrument->setPricingEngine(pricingEngine);
>          updateProperty(IDX_NPV, mInstrument->NPV());
>          updateProperty(IDX_ENGINE, engineID);
> @@ -436,7 +443,8 @@
>  interface, e.g.:</p>
>  \verbatim
>  <Constructor name='qlVanillaOption'>
> -<description>construct and return a handle to a Vanilla Option object</description>
> +<description>construct and return a handle to
> +a Vanilla Option object</description>
>  <libraryFunction>VanillaOption</libraryFunction>
>  <functionCategory>QuantLib</functionCategory>
>  <Parameters>
> @@ -479,7 +487,8 @@
>  in the metadata, causing for example the following source code to be
>  autogenerated:
>  \code
> -returnValue = objectPointer->getObject.func1(param1, param2).func2(param3, param4);
> +returnValue = objectPointer->getObject.func1(
> +    param1, param2).func2(param3, param4);
>  \endcode
>
>  */
>
>
> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> QuantLib-cvs mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-cvs
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev