mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-15 23:20:06 +02:00
trunk/branch integration: documentation
This commit is contained in:
@@ -92,4 +92,4 @@ private:
|
|||||||
} // namespace Poco
|
} // namespace Poco
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif // Foundation_KeyValueArgs_INCLUDED
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// LRUStrategy.h
|
// LRUStrategy.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Foundation/include/Poco/LRUStrategy.h#2 $
|
// $Id: //poco/1.4/Foundation/include/Poco/LRUStrategy.h#1 $
|
||||||
//
|
//
|
||||||
// Library: Foundation
|
// Library: Foundation
|
||||||
// Package: Cache
|
// Package: Cache
|
||||||
@@ -79,7 +79,7 @@ public:
|
|||||||
void onAdd(const void*, const KeyValueArgs <TKey, TValue>& args)
|
void onAdd(const void*, const KeyValueArgs <TKey, TValue>& args)
|
||||||
{
|
{
|
||||||
_keys.push_front(args.key());
|
_keys.push_front(args.key());
|
||||||
std::pair<IndexIterator, bool> stat = _keyIndex.insert(make_pair(args.key(), _keys.begin()));
|
std::pair<IndexIterator, bool> stat = _keyIndex.insert(std::make_pair(args.key(), _keys.begin()));
|
||||||
if (!stat.second)
|
if (!stat.second)
|
||||||
{
|
{
|
||||||
stat.first->second = _keys.begin();
|
stat.first->second = _keys.begin();
|
||||||
@@ -159,4 +159,4 @@ protected:
|
|||||||
} // namespace Poco
|
} // namespace Poco
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif // Foundation_LRUStrategy_INCLUDED
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// Logger.h
|
// Logger.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/Main/Foundation/include/Poco/Logger.h#7 $
|
// $Id: //poco/1.4/Foundation/include/Poco/Logger.h#3 $
|
||||||
//
|
//
|
||||||
// Library: Foundation
|
// Library: Foundation
|
||||||
// Package: Logging
|
// Package: Logging
|
||||||
@@ -113,6 +113,10 @@ public:
|
|||||||
|
|
||||||
void setLevel(int level);
|
void setLevel(int level);
|
||||||
/// Sets the Logger's log level.
|
/// Sets the Logger's log level.
|
||||||
|
///
|
||||||
|
/// See Message::Priority for valid log levels.
|
||||||
|
/// Setting the log level to zero turns off
|
||||||
|
/// logging for that Logger.
|
||||||
|
|
||||||
int getLevel() const;
|
int getLevel() const;
|
||||||
/// Returns the Logger's log level.
|
/// Returns the Logger's log level.
|
||||||
@@ -121,6 +125,7 @@ public:
|
|||||||
/// Sets the Logger's log level using a symbolic value.
|
/// Sets the Logger's log level using a symbolic value.
|
||||||
///
|
///
|
||||||
/// Valid values are:
|
/// Valid values are:
|
||||||
|
/// - none (turns off logging)
|
||||||
/// - fatal
|
/// - fatal
|
||||||
/// - critical
|
/// - critical
|
||||||
/// - error
|
/// - error
|
||||||
|
Reference in New Issue
Block a user