From: <sv...@ww...> - 2005-02-14 16:20:49
|
Author: delta Date: 2005-02-14 08:20:34 -0800 (Mon, 14 Feb 2005) New Revision: 1471 Modified: trunk/CSP/SimData/CHANGES.current trunk/CSP/SimData/Include/SimData/Enum.h trunk/CSP/SimData/Include/SimData/Random.h trunk/CSP/SimData/Include/SimData/Ref.h trunk/CSP/SimData/Include/SimData/ScopedPointer.h Log: * Exported more symbols to help compilation with vs 2005. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=1471 Modified: trunk/CSP/SimData/CHANGES.current =================================================================== --- trunk/CSP/SimData/CHANGES.current 2005-02-14 13:10:16 UTC (rev 1470) +++ trunk/CSP/SimData/CHANGES.current 2005-02-14 16:20:34 UTC (rev 1471) @@ -1,6 +1,9 @@ Version 0.4.0 (in progress) =========================== +2005-02-14:delta + * Exported more symbols to help compilation with vs 2005. + 2005-02-05: onsight * Expose _postCreate so that complete objects can be created from Python + XML data. This is experimental (used by CSP layout), Modified: trunk/CSP/SimData/Include/SimData/Enum.h =================================================================== --- trunk/CSP/SimData/Include/SimData/Enum.h 2005-02-14 13:10:16 UTC (rev 1470) +++ trunk/CSP/SimData/Include/SimData/Enum.h 2005-02-14 16:20:34 UTC (rev 1471) @@ -245,7 +245,7 @@ * Enumeration Foo::MyEnumeration("apple orange cherry"); * @endcode */ -class Enumeration { +class SIMDATA_EXPORT Enumeration { friend class EnumLink; /// Reference counted smart-pointer to the associated EnumerationCore. Ref<EnumerationCore const> __core; @@ -624,7 +624,7 @@ * @ingroup BaseTypes */ template <Enumeration const &E> -class Enum: public EnumLink { +class SIMDATA_EXPORT Enum: public EnumLink { public: Enum(std::string const &token): EnumLink(E, token) {} Enum(): EnumLink(E) {} Modified: trunk/CSP/SimData/Include/SimData/Random.h =================================================================== --- trunk/CSP/SimData/Include/SimData/Random.h 2005-02-14 13:10:16 UTC (rev 1470) +++ trunk/CSP/SimData/Include/SimData/Random.h 2005-02-14 16:20:34 UTC (rev 1471) @@ -451,7 +451,7 @@ * typically about 20%. */ template <class RNG> -class RandomNumberGenerator: public RandomNumberGeneratorInterface { +class SIMDATA_EXPORT RandomNumberGenerator: public RandomNumberGeneratorInterface { /** Random number generator state. */ Modified: trunk/CSP/SimData/Include/SimData/Ref.h =================================================================== --- trunk/CSP/SimData/Include/SimData/Ref.h 2005-02-14 13:10:16 UTC (rev 1470) +++ trunk/CSP/SimData/Include/SimData/Ref.h 2005-02-14 16:20:34 UTC (rev 1471) @@ -116,7 +116,7 @@ * @author Mark Rose <mr...@st...> */ template<class CLASS> -class Ref { +class SIMDATA_EXPORT Ref { public: typedef std::vector< Ref<CLASS> > vector; typedef std::list< Ref<CLASS> > list; Modified: trunk/CSP/SimData/Include/SimData/ScopedPointer.h =================================================================== --- trunk/CSP/SimData/Include/SimData/ScopedPointer.h 2005-02-14 13:10:16 UTC (rev 1470) +++ trunk/CSP/SimData/Include/SimData/ScopedPointer.h 2005-02-14 16:20:34 UTC (rev 1471) @@ -44,7 +44,7 @@ * was borrowed from Boost C++. */ template <class T> -class ScopedPointer: public NonCopyable { +class SIMDATA_EXPORT ScopedPointer: public NonCopyable { T *_ptr; public: typedef T Type; |