mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
synced 2025-11-03 03:57:49 +00:00
trunk/branch integration: documentation
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// StrategyCollection.h
|
// StrategyCollection.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Foundation/include/Poco/StrategyCollection.h#2 $
|
// $Id: //poco/1.4/Foundation/include/Poco/StrategyCollection.h#1 $
|
||||||
//
|
//
|
||||||
// Library: Foundation
|
// Library: Foundation
|
||||||
// Package: Cache
|
// Package: Cache
|
||||||
@@ -52,7 +52,7 @@ namespace Poco {
|
|||||||
|
|
||||||
template <class TKey, class TValue>
|
template <class TKey, class TValue>
|
||||||
class StrategyCollection: public AbstractStrategy<TKey, TValue>
|
class StrategyCollection: public AbstractStrategy<TKey, TValue>
|
||||||
/// An StrategyCollection is a decorator masking n collections as a single one
|
/// An StrategyCollection is a decorator masking n collections as a single one.
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef std::vector<SharedPtr<AbstractStrategy<TKey, TValue> > > Strategies;
|
typedef std::vector<SharedPtr<AbstractStrategy<TKey, TValue> > > Strategies;
|
||||||
@@ -152,4 +152,4 @@ protected:
|
|||||||
} // namespace Poco
|
} // namespace Poco
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif // Foundation_StrategyCollection_INCLUDED
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// StreamUtil.h
|
// StreamUtil.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Foundation/include/Poco/StreamUtil.h#2 $
|
// $Id: //poco/1.4/Foundation/include/Poco/StreamUtil.h#1 $
|
||||||
//
|
//
|
||||||
// Library: Foundation
|
// Library: Foundation
|
||||||
// Package: Streams
|
// Package: Streams
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
|
|
||||||
// poco_ios_init
|
// poco_ios_init
|
||||||
//
|
//
|
||||||
// This is a workaround for a bug in the Microsoft
|
// This is a workaround for a bug in the Dinkumware
|
||||||
// implementation of iostreams.
|
// implementation of iostreams.
|
||||||
//
|
//
|
||||||
// Calling basic_ios::init() multiple times for the
|
// Calling basic_ios::init() multiple times for the
|
||||||
@@ -90,8 +90,21 @@
|
|||||||
// Some stream implementations, however, require that
|
// Some stream implementations, however, require that
|
||||||
// init() is called in the MyIOS constructor.
|
// init() is called in the MyIOS constructor.
|
||||||
// Therefore we replace each call to init() with
|
// Therefore we replace each call to init() with
|
||||||
// the following macro:
|
// the poco_ios_init macro defined below.
|
||||||
|
|
||||||
|
|
||||||
|
#if !defined(POCO_IOS_INIT_HACK)
|
||||||
|
// Microsoft Visual Studio with Dinkumware STL (but not STLport)
|
||||||
# if defined(_MSC_VER) && (!defined(_STLP_MSVC) || defined(_STLP_NO_OWN_IOSTREAMS))
|
# if defined(_MSC_VER) && (!defined(_STLP_MSVC) || defined(_STLP_NO_OWN_IOSTREAMS))
|
||||||
|
# define POCO_IOS_INIT_HACK 1
|
||||||
|
// QNX with Dinkumware but not GNU C++ Library
|
||||||
|
# elif defined(__QNX__) && !defined(__GLIBCPP__)
|
||||||
|
# define POCO_IOS_INIT_HACK 1
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#if defined(POCO_IOS_INIT_HACK)
|
||||||
# define poco_ios_init(buf)
|
# define poco_ios_init(buf)
|
||||||
#else
|
#else
|
||||||
# define poco_ios_init(buf) init(buf)
|
# define poco_ios_init(buf) init(buf)
|
||||||
|
|||||||
Reference in New Issue
Block a user