Corrected more words.

This commit is contained in:
martin-osborne 2015-04-10 11:31:12 +01:00
parent e9dce11e50
commit 4cf45ea4a3
69 changed files with 118 additions and 118 deletions

View File

@ -33,7 +33,7 @@ public:
int readRequest(char* buffer, int length); int readRequest(char* buffer, int length);
/// Read up to length bytes from request body into buffer. /// Read up to length bytes from request body into buffer.
/// Returns the number of bytes read, 0 if eof or -1 if an error occured. /// Returns the number of bytes read, 0 if eof or -1 if an error occurred.
void writeResponse(const char* buffer, int length); void writeResponse(const char* buffer, int length);
/// Writes the given characters as response to the given request_rec. /// Writes the given characters as response to the given request_rec.

View File

@ -44,7 +44,7 @@ namespace Crypto {
class Crypto_API OpenSSLInitializer class Crypto_API OpenSSLInitializer
/// Initalizes the OpenSSL library. /// Initializes the OpenSSL library.
/// ///
/// The class ensures the earliest initialization and the /// The class ensures the earliest initialization and the
/// latest shutdown of the OpenSSL library. /// latest shutdown of the OpenSSL library.

View File

@ -57,7 +57,7 @@ public:
/// Returns host info. /// Returns host info.
static bool hasMicrosecond(); static bool hasMicrosecond();
/// Rturns true if microseconds are suported. /// Returns true if microseconds are suported.
static MYSQL* handle(Poco::Data::Session& session); static MYSQL* handle(Poco::Data::Session& session);
/// Returns native MySQL handle for the session. /// Returns native MySQL handle for the session.

View File

@ -82,7 +82,7 @@ private:
static const std::string _libDir; static const std::string _libDir;
/// Varible determining the location of the library directory /// Varible determining the location of the library directory
/// on the database installation system. /// on the database installation system.
/// Used to enable PLpgSQL language programmaticaly when /// Used to enable PLpgSQL language programmatically when
/// it is not enabled. /// it is not enabled.
static SessionPtr _pSession; static SessionPtr _pSession;

View File

@ -79,7 +79,7 @@ protected:
void compileImpl(); void compileImpl();
/// Compiles the statement, doesn't bind yet. /// Compiles the statement, doesn't bind yet.
/// Returns true if the statement was succesfully compiled. /// Returns true if the statement was succesfully compiled.
/// The way SQLite handles batches of statmeents is by compiling /// The way SQLite handles batches of statements is by compiling
/// one at a time and returning a pointer to the next one. /// one at a time and returning a pointer to the next one.
/// The remainder of the statement is kept in a string /// The remainder of the statement is kept in a string
/// buffer pointed to by _pLeftover member. /// buffer pointed to by _pLeftover member.

View File

@ -60,10 +60,10 @@ public:
/// Returns native DB handle. /// Returns native DB handle.
static std::string lastError(sqlite3* pDb); static std::string lastError(sqlite3* pDb);
/// Retreives the last error code from sqlite and converts it to a string. /// Retrieves the last error code from sqlite and converts it to a string.
static std::string lastError(const Session& session); static std::string lastError(const Session& session);
/// Retreives the last error code from sqlite and converts it to a string. /// Retrieves the last error code from sqlite and converts it to a string.
static void throwException(int rc, const std::string& addErrMsg = std::string()); static void throwException(int rc, const std::string& addErrMsg = std::string());
/// Throws for an error code the appropriate exception /// Throws for an error code the appropriate exception

View File

@ -140,7 +140,7 @@ public:
bool isValueNull(const std::string& str, bool deflt); bool isValueNull(const std::string& str, bool deflt);
/// Overload for const reference to std::string. /// Overload for const reference to std::string.
/// ///
/// Returns true when folowing conditions are met: /// Returns true when following conditions are met:
/// ///
/// - string is empty /// - string is empty
/// - getEmptyStringIsNull() returns true /// - getEmptyStringIsNull() returns true
@ -148,7 +148,7 @@ public:
bool isValueNull(const Poco::UTF16String& str, bool deflt); bool isValueNull(const Poco::UTF16String& str, bool deflt);
/// Overload for const reference to UTF16String. /// Overload for const reference to UTF16String.
/// ///
/// Returns true when folowing conditions are met: /// Returns true when following conditions are met:
/// ///
/// - string is empty /// - string is empty
/// - getEmptyStringIsNull() returns true /// - getEmptyStringIsNull() returns true

View File

@ -1474,7 +1474,7 @@ inline AbstractBindingVec& io(AbstractBindingVec& bv)
template <typename T> template <typename T>
inline AbstractBinding::Ptr bind(T t, const std::string& name) inline AbstractBinding::Ptr bind(T t, const std::string& name)
/// Convenience function for a more compact Binding creation. /// Convenience function for a more compact Binding creation.
/// This funtion differs from use() in its value copy semantics. /// This function differs from use() in its value copy semantics.
{ {
return new CopyBinding<T>(t, name, AbstractBinding::PD_IN); return new CopyBinding<T>(t, name, AbstractBinding::PD_IN);
} }
@ -1483,7 +1483,7 @@ inline AbstractBinding::Ptr bind(T t, const std::string& name)
template <typename T> template <typename T>
inline AbstractBinding::Ptr bind(T t) inline AbstractBinding::Ptr bind(T t)
/// Convenience function for a more compact Binding creation. /// Convenience function for a more compact Binding creation.
/// This funtion differs from use() in its value copy semantics. /// This function differs from use() in its value copy semantics.
{ {
return Poco::Data::Keywords::bind(t, ""); return Poco::Data::Keywords::bind(t, "");
} }

View File

@ -205,7 +205,7 @@ namespace std
template<> template<>
inline void swap<Poco::Data::BLOB>(Poco::Data::BLOB& b1, inline void swap<Poco::Data::BLOB>(Poco::Data::BLOB& b1,
Poco::Data::BLOB& b2) Poco::Data::BLOB& b2)
/// Full template specalization of std:::swap for BLOB /// Full template specialization of std:::swap for BLOB
{ {
b1.swap(b2); b1.swap(b2);
} }
@ -213,7 +213,7 @@ namespace std
template<> template<>
inline void swap<Poco::Data::CLOB>(Poco::Data::CLOB& c1, inline void swap<Poco::Data::CLOB>(Poco::Data::CLOB& c1,
Poco::Data::CLOB& c2) Poco::Data::CLOB& c2)
/// Full template specalization of std:::swap for CLOB /// Full template specialization of std:::swap for CLOB
{ {
c1.swap(c2); c1.swap(c2);
} }

View File

@ -63,7 +63,7 @@ class Data_API RecordSet: private Statement
/// ///
/// The third (optional) argument passed to the Recordset constructor is a RowFormatter /// The third (optional) argument passed to the Recordset constructor is a RowFormatter
/// implementation. The formatter is used in conjunction with << operator for recordset /// implementation. The formatter is used in conjunction with << operator for recordset
/// data formating. /// data formatting.
/// ///
/// The number of rows in the RecordSet can be limited by specifying /// The number of rows in the RecordSet can be limited by specifying
/// a limit for the Statement. /// a limit for the Statement.

View File

@ -178,13 +178,13 @@ public:
/// Converts the column names to string. /// Converts the column names to string.
void formatNames() const; void formatNames() const;
/// Fomats the column names. /// Formats the column names.
const std::string& valuesToString() const; const std::string& valuesToString() const;
/// Converts the row values to string and returns the formated string. /// Converts the row values to string and returns the formatted string.
void formatValues() const; void formatValues() const;
/// Fomats the row values. /// Formats the row values.
bool operator == (const Row& other) const; bool operator == (const Row& other) const;
/// Equality operator. /// Equality operator.

View File

@ -53,7 +53,7 @@ class Data_API RowFormatter
/// ///
/// To accommodate for various formatting needs, a formatter can operate in two modes: /// To accommodate for various formatting needs, a formatter can operate in two modes:
/// ///
/// - progressive: formatted individual row strings are gemerated and returned from each /// - progressive: formatted individual row strings are generated and returned from each
/// call to formatValues; /// call to formatValues;
/// std::string& formatNames(const NameVecPtr, std::string&) and /// std::string& formatNames(const NameVecPtr, std::string&) and
/// std::string& formatValues(const ValueVec&, std::string&) member calls should be /// std::string& formatValues(const ValueVec&, std::string&) member calls should be
@ -65,7 +65,7 @@ class Data_API RowFormatter
/// void formatValues(const ValueVec&) member calls should be used in this case /// void formatValues(const ValueVec&) member calls should be used in this case
/// ///
/// When formatter is used in conjunction with Row/RecordSet, the formatting members corresponding /// When formatter is used in conjunction with Row/RecordSet, the formatting members corresponding
/// to the formater mode are expected to be implemented. If a call is propagated to this parent /// to the formatter mode are expected to be implemented. If a call is propagated to this parent
/// class, the functions do nothing or silently return empty string respectively. /// class, the functions do nothing or silently return empty string respectively.
/// ///
{ {
@ -134,10 +134,10 @@ public:
/// to empty strings and row count to INVALID_ROW_COUNT. /// to empty strings and row count to INVALID_ROW_COUNT.
Mode getMode() const; Mode getMode() const;
/// Returns the formater mode. /// Returns the formatter mode.
void setMode(Mode mode); void setMode(Mode mode);
/// Sets the fromatter mode. /// Sets the formatter mode.
protected: protected:

View File

@ -142,7 +142,7 @@ namespace std
template<> template<>
inline void swap<Poco::Data::RowIterator>(Poco::Data::RowIterator& s1, inline void swap<Poco::Data::RowIterator>(Poco::Data::RowIterator& s1,
Poco::Data::RowIterator& s2) Poco::Data::RowIterator& s2)
/// Full template specalization of std:::swap for RowIterator /// Full template specialization of std:::swap for RowIterator
{ {
s1.swap(s2); s1.swap(s2);
} }

View File

@ -51,10 +51,10 @@ class Data_API SQLChannel: public Poco::Channel
/// DateTime DATE)" /// DateTime DATE)"
/// ///
/// The table name is configurable through "table" property. /// The table name is configurable through "table" property.
/// Other than DateTime filed name used for optiona time-based archiving purposes, currently the /// Other than DateTime filed name used for optional time-based archiving purposes, currently the
/// field names are not mandated. However, it is recomended to use names as specified above. /// field names are not mandated. However, it is recommended to use names as specified above.
/// ///
/// To provide as non-intrusive operation as possbile, the log entries are cached and /// To provide as non-intrusive operation as possible, the log entries are cached and
/// inserted into the target database asynchronously by default . The blocking, however, will occur /// inserted into the target database asynchronously by default . The blocking, however, will occur
/// before the next entry insertion with default timeout of 1 second. The default settings can be /// before the next entry insertion with default timeout of 1 second. The default settings can be
/// overriden (see async, timeout and throw properties for details). /// overriden (see async, timeout and throw properties for details).
@ -150,15 +150,15 @@ private:
typedef Poco::SharedPtr<ArchiveStrategy> StrategyPtr; typedef Poco::SharedPtr<ArchiveStrategy> StrategyPtr;
void initLogStatement(); void initLogStatement();
/// Initiallizes the log statement. /// Initializes the log statement.
void initArchiveStatements(); void initArchiveStatements();
/// Initiallizes the archive statement. /// Initializes the archive statement.
void logAsync(const Message& msg); void logAsync(const Message& msg);
/// Waits for previous operation completion and /// Waits for previous operation completion and
/// calls logSync(). If the previous operation times out, /// calls logSync(). If the previous operation times out,
/// and _throw is true, TimeoutException is thrown, oterwise /// and _throw is true, TimeoutException is thrown, otherwise
/// the timeout is ignored and log entry is lost. /// the timeout is ignored and log entry is lost.
void logSync(const Message& msg); void logSync(const Message& msg);

View File

@ -78,7 +78,7 @@ class Data_API Session
/// The above example assigns the variable i to the ":data" placeholder in the SQL query. The query is parsed and compiled exactly /// The above example assigns the variable i to the ":data" placeholder in the SQL query. The query is parsed and compiled exactly
/// once, but executed 100 times. At the end the values 0 to 99 will be present in the Table "DUMMY". /// once, but executed 100 times. At the end the values 0 to 99 will be present in the Table "DUMMY".
/// ///
/// A faster implementaton of the above code will simply create a vector of int /// A faster implementation of the above code will simply create a vector of int
/// and use the vector as parameter to the use clause (you could also use set or multiset instead): /// and use the vector as parameter to the use clause (you could also use set or multiset instead):
/// ///
/// std::vector<int> data; /// std::vector<int> data;
@ -486,7 +486,7 @@ namespace std
template<> template<>
inline void swap<Poco::Data::Session>(Poco::Data::Session& s1, inline void swap<Poco::Data::Session>(Poco::Data::Session& s1,
Poco::Data::Session& s2) Poco::Data::Session& s2)
/// Full template specalization of std:::swap for Session /// Full template specialization of std:::swap for Session
{ {
s1.swap(s2); s1.swap(s2);
} }

View File

@ -111,7 +111,7 @@ namespace std
template<> template<>
inline void swap<Poco::Data::SimpleRowFormatter>(Poco::Data::SimpleRowFormatter& s1, inline void swap<Poco::Data::SimpleRowFormatter>(Poco::Data::SimpleRowFormatter& s1,
Poco::Data::SimpleRowFormatter& s2) Poco::Data::SimpleRowFormatter& s2)
/// Full template specalization of std:::swap for SimpleRowFormatter /// Full template specialization of std:::swap for SimpleRowFormatter
{ {
s1.swap(s2); s1.swap(s2);
} }

View File

@ -803,7 +803,7 @@ namespace std
template<> template<>
inline void swap<Poco::Data::Statement>(Poco::Data::Statement& s1, inline void swap<Poco::Data::Statement>(Poco::Data::Statement& s1,
Poco::Data::Statement& s2) Poco::Data::Statement& s2)
/// Full template specalization of std:::swap for Statement /// Full template specialization of std:::swap for Statement
{ {
s1.swap(s2); s1.swap(s2);
} }

View File

@ -184,7 +184,7 @@ protected:
virtual std::size_t next() = 0; virtual std::size_t next() = 0;
/// Retrieves the next row or set of rows from the resultset and /// Retrieves the next row or set of rows from the resultset and
/// returns the number of rows retreved. /// returns the number of rows retrieved.
/// ///
/// Will throw, if the resultset is empty. /// Will throw, if the resultset is empty.
/// Expects the statement to be compiled and bound. /// Expects the statement to be compiled and bound.
@ -253,7 +253,7 @@ protected:
/// - std::list /// - std::list
SessionImpl& session(); SessionImpl& session();
/// Rteurns session associated with this statement. /// Returns session associated with this statement.
virtual AbstractBinding::BinderPtr binder() = 0; virtual AbstractBinding::BinderPtr binder() = 0;
/// Returns the concrete binder used by the statement. /// Returns the concrete binder used by the statement.

View File

@ -253,7 +253,7 @@ public:
ActiveResult<TArgs> notifyAsync(const void* pSender, const TArgs& args) ActiveResult<TArgs> notifyAsync(const void* pSender, const TArgs& args)
/// Sends a notification to all registered delegates. The order is /// Sends a notification to all registered delegates. The order is
/// determined by the TStrategy. This method is not blocking and will /// determined by the TStrategy. This method is not blocking and will
/// immediately return. The delegates are invoked in a seperate thread. /// immediately return. The delegates are invoked in a separate thread.
/// Call activeResult.wait() to wait until the notification has ended. /// Call activeResult.wait() to wait until the notification has ended.
/// While executing, other objects can change the delegate list. These changes don't /// While executing, other objects can change the delegate list. These changes don't
/// influence the current active notifications but are activated with /// influence the current active notifications but are activated with
@ -344,7 +344,7 @@ protected:
} }
TStrategy _strategy; /// The strategy used to notify observers. TStrategy _strategy; /// The strategy used to notify observers.
bool _enabled; /// Stores if an event is enabled. Notfies on disabled events have no effect bool _enabled; /// Stores if an event is enabled. Notifies on disabled events have no effect
/// but it is possible to change the observers. /// but it is possible to change the observers.
mutable TMutex _mutex; mutable TMutex _mutex;
@ -455,7 +455,7 @@ public:
ActiveResult<void> notifyAsync(const void* pSender) ActiveResult<void> notifyAsync(const void* pSender)
/// Sends a notification to all registered delegates. The order is /// Sends a notification to all registered delegates. The order is
/// determined by the TStrategy. This method is not blocking and will /// determined by the TStrategy. This method is not blocking and will
/// immediately return. The delegates are invoked in a seperate thread. /// immediately return. The delegates are invoked in a separate thread.
/// Call activeResult.wait() to wait until the notification has ended. /// Call activeResult.wait() to wait until the notification has ended.
/// While executing, other objects can change the delegate list. These changes don't /// While executing, other objects can change the delegate list. These changes don't
/// influence the current active notifications but are activated with /// influence the current active notifications but are activated with
@ -544,7 +544,7 @@ protected:
} }
TStrategy _strategy; /// The strategy used to notify observers. TStrategy _strategy; /// The strategy used to notify observers.
bool _enabled; /// Stores if an event is enabled. Notfies on disabled events have no effect bool _enabled; /// Stores if an event is enabled. Notifies on disabled events have no effect
/// but it is possible to change the observers. /// but it is possible to change the observers.
mutable TMutex _mutex; mutable TMutex _mutex;

View File

@ -69,7 +69,7 @@ public:
virtual void onReplace(const void* pSender, std::set<TKey>& elemsToRemove) = 0; virtual void onReplace(const void* pSender, std::set<TKey>& elemsToRemove) = 0;
/// Used by the Strategy to indicate which elements should be removed from /// Used by the Strategy to indicate which elements should be removed from
/// the cache. Note that onReplace does not change the current list of keys. /// the cache. Note that onReplace does not change the current list of keys.
/// The cache object is reponsible to remove the elements. /// The cache object is responsible to remove the elements.
}; };

View File

@ -203,7 +203,7 @@ public:
Any& swap(Any& other) Any& swap(Any& other)
/// Swaps the content of the two Anys. /// Swaps the content of the two Anys.
/// ///
/// When small object optimizaton is enabled, swap only /// When small object optimization is enabled, swap only
/// has no-throw guarantee when both (*this and other) /// has no-throw guarantee when both (*this and other)
/// objects are allocated on the heap. /// objects are allocated on the heap.
{ {

View File

@ -31,7 +31,7 @@ template <class C>
class AutoReleasePool class AutoReleasePool
/// An AutoReleasePool implements simple garbage collection for /// An AutoReleasePool implements simple garbage collection for
/// reference-counted objects. /// reference-counted objects.
/// It temporarily takes ownwership of reference-counted objects that /// It temporarily takes ownership of reference-counted objects that
/// nobody else wants to take ownership of and releases them /// nobody else wants to take ownership of and releases them
/// at a later, appropriate point in time. /// at a later, appropriate point in time.
/// ///

View File

@ -45,7 +45,7 @@ class Foundation_API BinaryWriter
/// data type sizes (e.g., 32-bit and 64-bit architectures), as the sizes /// data type sizes (e.g., 32-bit and 64-bit architectures), as the sizes
/// of some of the basic types may be different. For example, writing a /// of some of the basic types may be different. For example, writing a
/// long integer on a 64-bit system and reading it on a 32-bit system /// long integer on a 64-bit system and reading it on a 32-bit system
/// may yield an incorrent result. Use fixed-size types (Int32, Int64, etc.) /// may yield an incorrect result. Use fixed-size types (Int32, Int64, etc.)
/// in such a case. /// in such a case.
{ {
public: public:

View File

@ -160,7 +160,7 @@ public:
/// on a Saturday, week 1 will be the week starting on Monday, January 3. /// on a Saturday, week 1 will be the week starting on Monday, January 3.
/// January 1 and 2 will fall within week 0 (or the last week of the previous year). /// January 1 and 2 will fall within week 0 (or the last week of the previous year).
/// ///
/// For 2007, which starts on a Monday, week 1 will be the week startung on Monday, January 1. /// For 2007, which starts on a Monday, week 1 will be the week starting on Monday, January 1.
/// There will be no week 0 in 2007. /// There will be no week 0 in 2007.
int day() const; int day() const;
@ -247,7 +247,7 @@ protected:
/// Computes the Julian day for an UTC time. /// Computes the Julian day for an UTC time.
static double toJulianDay(int year, int month, int day, int hour = 0, int minute = 0, int second = 0, int millisecond = 0, int microsecond = 0); static double toJulianDay(int year, int month, int day, int hour = 0, int minute = 0, int second = 0, int millisecond = 0, int microsecond = 0);
/// Computes the Julian day for a gregorian calendar date and time. /// Computes the Julian day for a Gregorian calendar date and time.
/// See <http://vsg.cape.com/~pbaum/date/jdimp.htm>, section 2.3.1 for the algorithm. /// See <http://vsg.cape.com/~pbaum/date/jdimp.htm>, section 2.3.1 for the algorithm.
static Timestamp::UtcTimeVal toUtcTime(double julianDay); static Timestamp::UtcTimeVal toUtcTime(double julianDay);

View File

@ -281,7 +281,7 @@ protected:
/// pre-allocated buffer inside the holder). /// pre-allocated buffer inside the holder).
/// ///
/// Called from clone() member function of the implementation when /// Called from clone() member function of the implementation when
/// smal object optimization is enabled. /// small object optimization is enabled.
{ {
#ifdef POCO_NO_SOO #ifdef POCO_NO_SOO
(void)pVarHolder; (void)pVarHolder;

View File

@ -143,7 +143,7 @@ namespace std
template<> template<>
inline void swap<Poco::Dynamic::VarIterator>(Poco::Dynamic::VarIterator& s1, inline void swap<Poco::Dynamic::VarIterator>(Poco::Dynamic::VarIterator& s1,
Poco::Dynamic::VarIterator& s2) Poco::Dynamic::VarIterator& s2)
/// Full template specalization of std:::swap for VarIterator /// Full template specialization of std:::swap for VarIterator
{ {
s1.swap(s2); s1.swap(s2);
} }

View File

@ -54,7 +54,7 @@ class Foundation_API FileChannel: public Channel
/// ///
/// The rotation strategy can be specified with the /// The rotation strategy can be specified with the
/// "rotation" property, which can take one of the /// "rotation" property, which can take one of the
/// follwing values: /// following values:
/// ///
/// * never: no log rotation /// * never: no log rotation
/// * [day,][hh]:mm: the file is rotated on specified day/time /// * [day,][hh]:mm: the file is rotated on specified day/time

View File

@ -30,7 +30,7 @@ namespace Poco {
template <class Engine> template <class Engine>
class HMACEngine: public DigestEngine class HMACEngine: public DigestEngine
/// This class implementes the HMAC message /// This class implements the HMAC message
/// authentication code algorithm, as specified /// authentication code algorithm, as specified
/// in RFC 2104. The underlying DigestEngine /// in RFC 2104. The underlying DigestEngine
/// (MD5Engine, SHA1Engine, etc.) must be given as /// (MD5Engine, SHA1Engine, etc.) must be given as

View File

@ -37,7 +37,7 @@ class LinearHashTable
/// This class implements a linear hash table. /// This class implements a linear hash table.
/// ///
/// In a linear hash table, the available address space /// In a linear hash table, the available address space
/// grows or shrinks dynamically. A linar hash table thus /// grows or shrinks dynamically. A linear hash table thus
/// supports any number of insertions or deletions without /// supports any number of insertions or deletions without
/// lookup or insertion performance deterioration. /// lookup or insertion performance deterioration.
/// ///

View File

@ -103,7 +103,7 @@ public:
} }
ConstIterator find(const KeyType& key) const ConstIterator find(const KeyType& key) const
/// Finds the first occurence of the key and /// Finds the first occurrence of the key and
/// returns iterator pointing to the found entry /// returns iterator pointing to the found entry
/// or iterator pointing to the end if entry is /// or iterator pointing to the end if entry is
/// not found. /// not found.
@ -118,7 +118,7 @@ public:
} }
Iterator find(const KeyType& key) Iterator find(const KeyType& key)
/// Finds the first occurence of the key and /// Finds the first occurrence of the key and
/// returns iterator pointing to the found entry /// returns iterator pointing to the found entry
/// or iterator pointing to the end if entry is /// or iterator pointing to the end if entry is
/// not found. /// not found.

View File

@ -171,7 +171,7 @@ public:
/// on a Saturday, week 1 will be the week starting on Monday, January 3. /// on a Saturday, week 1 will be the week starting on Monday, January 3.
/// January 1 and 2 will fall within week 0 (or the last week of the previous year). /// January 1 and 2 will fall within week 0 (or the last week of the previous year).
/// ///
/// For 2007, which starts on a Monday, week 1 will be the week startung on Monday, January 1. /// For 2007, which starts on a Monday, week 1 will be the week starting on Monday, January 1.
/// There will be no week 0 in 2007. /// There will be no week 0 in 2007.
int day() const; int day() const;
@ -210,7 +210,7 @@ public:
/// Returns the microsecond (0 to 999) /// Returns the microsecond (0 to 999)
double julianDay() const; double julianDay() const;
/// Returns the julian day for the date. /// Returns the Julian day for the date.
int tzd() const; int tzd() const;
/// Returns the time zone differential. /// Returns the time zone differential.

View File

@ -389,22 +389,22 @@ public:
/// Returns true if the log level is at least PRIO_TRACE. /// Returns true if the log level is at least PRIO_TRACE.
static std::string format(const std::string& fmt, const std::string& arg); static std::string format(const std::string& fmt, const std::string& arg);
/// Replaces all occurences of $0 in fmt with the string given in arg and /// Replaces all occurrences of $0 in fmt with the string given in arg and
/// returns the result. To include a dollar sign in the result string, /// returns the result. To include a dollar sign in the result string,
/// specify two dollar signs ($$) in the format string. /// specify two dollar signs ($$) in the format string.
static std::string format(const std::string& fmt, const std::string& arg0, const std::string& arg1); static std::string format(const std::string& fmt, const std::string& arg0, const std::string& arg1);
/// Replaces all occurences of $<n> in fmt with the string given in arg<n> and /// Replaces all occurrences of $<n> in fmt with the string given in arg<n> and
/// returns the result. To include a dollar sign in the result string, /// returns the result. To include a dollar sign in the result string,
/// specify two dollar signs ($$) in the format string. /// specify two dollar signs ($$) in the format string.
static std::string format(const std::string& fmt, const std::string& arg0, const std::string& arg1, const std::string& arg2); static std::string format(const std::string& fmt, const std::string& arg0, const std::string& arg1, const std::string& arg2);
/// Replaces all occurences of $<n> in fmt with the string given in arg<n> and /// Replaces all occurrences of $<n> in fmt with the string given in arg<n> and
/// returns the result. To include a dollar sign in the result string, /// returns the result. To include a dollar sign in the result string,
/// specify two dollar signs ($$) in the format string. /// specify two dollar signs ($$) in the format string.
static std::string format(const std::string& fmt, const std::string& arg0, const std::string& arg1, const std::string& arg2, const std::string& arg3); static std::string format(const std::string& fmt, const std::string& arg0, const std::string& arg1, const std::string& arg2, const std::string& arg3);
/// Replaces all occurences of $<n> in fmt with the string given in arg<n> and /// Replaces all occurrences of $<n> in fmt with the string given in arg<n> and
/// returns the result. To include a dollar sign in the result string, /// returns the result. To include a dollar sign in the result string,
/// specify two dollar signs ($$) in the format string. /// specify two dollar signs ($$) in the format string.
@ -450,7 +450,7 @@ public:
static Logger* has(const std::string& name); static Logger* has(const std::string& name);
/// Returns a pointer to the Logger with the given name if it /// Returns a pointer to the Logger with the given name if it
/// exists, or a null pointer otherwse. /// exists, or a null pointer otherwise.
static void destroy(const std::string& name); static void destroy(const std::string& name);
/// Destroys the logger with the specified name. Does nothing /// Destroys the logger with the specified name. Does nothing

View File

@ -51,7 +51,7 @@ namespace Poco {
class Foundation_API MD4Engine: public DigestEngine class Foundation_API MD4Engine: public DigestEngine
/// This class implementes the MD4 message digest algorithm, /// This class implements the MD4 message digest algorithm,
/// described in RFC 1320. /// described in RFC 1320.
{ {
public: public:

View File

@ -51,7 +51,7 @@ namespace Poco {
class Foundation_API MD5Engine: public DigestEngine class Foundation_API MD5Engine: public DigestEngine
/// This class implementes the MD5 message digest algorithm, /// This class implements the MD5 message digest algorithm,
/// described in RFC 1321. /// described in RFC 1321.
{ {
public: public:

View File

@ -180,7 +180,7 @@ public:
bool operator < (const Nullable<C>& other) const bool operator < (const Nullable<C>& other) const
/// Compares two Nullable objects. Return true if this object's /// Compares two Nullable objects. Return true if this object's
/// value is smaler than the other object's value. /// value is smaller than the other object's value.
/// Null value is smaller than a non-null value. /// Null value is smaller than a non-null value.
{ {
if (_isNull && other._isNull) return false; if (_isNull && other._isNull) return false;

View File

@ -31,7 +31,7 @@ namespace Poco {
template <class PRF> template <class PRF>
class PBKDF2Engine: public DigestEngine class PBKDF2Engine: public DigestEngine
/// This class implementes the Password-Based Key Derivation Function 2, /// This class implements the Password-Based Key Derivation Function 2,
/// as specified in RFC 2898. The underlying DigestEngine (HMACEngine, etc.), /// as specified in RFC 2898. The underlying DigestEngine (HMACEngine, etc.),
/// which must accept the passphrase as constructor argument (std::string), /// which must accept the passphrase as constructor argument (std::string),
/// must be given as template argument. /// must be given as template argument.

View File

@ -136,7 +136,7 @@ private:
void parsePattern(); void parsePattern();
/// Will parse the _pattern string into the vector of PatternActions, /// Will parse the _pattern string into the vector of PatternActions,
/// which contains the message key, any text that needs to be written first /// which contains the message key, any text that needs to be written first
/// a proprety in case of %[] and required length. /// a property in case of %[] and required length.
std::vector<PatternAction> _patternActions; std::vector<PatternAction> _patternActions;
bool _localTime; bool _localTime;

View File

@ -53,7 +53,7 @@ class RecursiveDirectoryIterator
/// The class can follow different traversal strategies: /// The class can follow different traversal strategies:
/// * depth-first strategy; /// * depth-first strategy;
/// * siblings-first strategy. /// * siblings-first strategy.
/// The stategies are set by template parameter. /// The strategies are set by template parameter.
/// There are two corresponding typedefs: /// There are two corresponding typedefs:
/// * SimpleRecursiveDirectoryIterator; /// * SimpleRecursiveDirectoryIterator;
/// * SiblingsFirstRecursiveDirectoryIterator. /// * SiblingsFirstRecursiveDirectoryIterator.

View File

@ -83,7 +83,7 @@ public:
RE_NEWLINE_CRLF = 0x00300000, /// assume newline is CRLF ("\r\n") [ctor] RE_NEWLINE_CRLF = 0x00300000, /// assume newline is CRLF ("\r\n") [ctor]
RE_NEWLINE_ANY = 0x00400000, /// assume newline is any valid Unicode newline character [ctor] RE_NEWLINE_ANY = 0x00400000, /// assume newline is any valid Unicode newline character [ctor]
RE_NEWLINE_ANYCRLF = 0x00500000, /// assume newline is any of CR, LF, CRLF [ctor] RE_NEWLINE_ANYCRLF = 0x00500000, /// assume newline is any of CR, LF, CRLF [ctor]
RE_GLOBAL = 0x10000000, /// replace all occurences (/g) [subst] RE_GLOBAL = 0x10000000, /// replace all occurrences (/g) [subst]
RE_NO_VARS = 0x20000000 /// treat dollar in replacement string as ordinary character [subst] RE_NO_VARS = 0x20000000 /// treat dollar in replacement string as ordinary character [subst]
}; };
@ -187,19 +187,19 @@ public:
/// Substitute in subject all matches of the pattern with replacement. /// Substitute in subject all matches of the pattern with replacement.
/// If RE_GLOBAL is specified as option, all matches are replaced. Otherwise, /// If RE_GLOBAL is specified as option, all matches are replaced. Otherwise,
/// only the first match is replaced. /// only the first match is replaced.
/// Occurences of $<n> (for example, $1, $2, ...) in replacement are replaced /// Occurrences of $<n> (for example, $1, $2, ...) in replacement are replaced
/// with the corresponding captured string. $0 is the original subject string. /// with the corresponding captured string. $0 is the original subject string.
/// Returns the number of replaced occurences. /// Returns the number of replaced occurrences.
int subst(std::string& subject, std::string::size_type offset, const std::string& replacement, int options = 0) const; int subst(std::string& subject, std::string::size_type offset, const std::string& replacement, int options = 0) const;
/// Substitute in subject all matches of the pattern with replacement, /// Substitute in subject all matches of the pattern with replacement,
/// starting at offset. /// starting at offset.
/// If RE_GLOBAL is specified as option, all matches are replaced. Otherwise, /// If RE_GLOBAL is specified as option, all matches are replaced. Otherwise,
/// only the first match is replaced. /// only the first match is replaced.
/// Unless RE_NO_VARS is specified, occurences of $<n> (for example, $0, $1, $2, ... $9) /// Unless RE_NO_VARS is specified, occurrences of $<n> (for example, $0, $1, $2, ... $9)
/// in replacement are replaced with the corresponding captured string. /// in replacement are replaced with the corresponding captured string.
/// $0 is the captured substring. $1 ... $n are the substrings maching the subpatterns. /// $0 is the captured substring. $1 ... $n are the substrings matching the subpatterns.
/// Returns the number of replaced occurences. /// Returns the number of replaced occurrences.
static bool match(const std::string& subject, const std::string& pattern, int options = 0); static bool match(const std::string& subject, const std::string& pattern, int options = 0);
/// Matches the given subject string against the regular expression given in pattern, /// Matches the given subject string against the regular expression given in pattern,

View File

@ -34,7 +34,7 @@ namespace Poco {
class Foundation_API SHA1Engine: public DigestEngine class Foundation_API SHA1Engine: public DigestEngine
/// This class implementes the SHA-1 message digest algorithm. /// This class implements the SHA-1 message digest algorithm.
/// (FIPS 180-1, see http://www.itl.nist.gov/fipspubs/fip180-1.htm) /// (FIPS 180-1, see http://www.itl.nist.gov/fipspubs/fip180-1.htm)
{ {
public: public:

View File

@ -388,7 +388,7 @@ S translate(const S& str, const typename S::value_type* from, const typename S::
template <class S> template <class S>
S& translateInPlace(S& str, const S& from, const S& to) S& translateInPlace(S& str, const S& from, const S& to)
/// Replaces in str all occurences of characters in from /// Replaces in str all occurrences of characters in from
/// with the corresponding (by position) characters in to. /// with the corresponding (by position) characters in to.
/// If there is no corresponding character, the character /// If there is no corresponding character, the character
/// is removed. /// is removed.
@ -491,7 +491,7 @@ S& removeInPlace(S& str, const typename S::value_type ch, typename S::size_type
template <class S> template <class S>
S replace(const S& str, const S& from, const S& to, typename S::size_type start = 0) S replace(const S& str, const S& from, const S& to, typename S::size_type start = 0)
/// Replace all occurences of from (which must not be the empty string) /// Replace all occurrences of from (which must not be the empty string)
/// in str with to, starting at position start. /// in str with to, starting at position start.
{ {
S result(str); S result(str);

View File

@ -69,7 +69,7 @@ public:
/// Returns true if token exists, false otherwise. /// Returns true if token exists, false otherwise.
std::size_t find(const std::string& token, std::size_t pos = 0) const; std::size_t find(const std::string& token, std::size_t pos = 0) const;
/// Returns the index of the first occurence of the token /// Returns the index of the first occurrence of the token
/// starting at position pos. /// starting at position pos.
/// Throws a NotFoundException if the token is not found. /// Throws a NotFoundException if the token is not found.

View File

@ -122,7 +122,7 @@ class TaskCustomNotification: public TaskNotification
/// This is a template for "custom" notification. /// This is a template for "custom" notification.
/// Unlike other notifications, this notification /// Unlike other notifications, this notification
/// is instantiated and posted by the task itself. /// is instantiated and posted by the task itself.
/// The purpose is to provide generic notifiation /// The purpose is to provide generic notification
/// mechanism between the task and its observer(s). /// mechanism between the task and its observer(s).
{ {
public: public:

View File

@ -97,22 +97,22 @@ public:
/// ///
/// The queryConvert function must return the Unicode scalar value /// The queryConvert function must return the Unicode scalar value
/// represented by this byte sequence or -1 if the byte sequence is malformed /// represented by this byte sequence or -1 if the byte sequence is malformed
/// or -n where n is number of bytes requested for the sequence, if lenght is /// or -n where n is number of bytes requested for the sequence, if length is
/// shorter than the sequence. /// shorter than the sequence.
/// The length of the sequence might not be determined by the first byte, /// The length of the sequence might not be determined by the first byte,
/// in which case the conversion becomes an iterative process: /// in which case the conversion becomes an iterative process:
/// First call with length == 1 might return -2, /// First call with length == 1 might return -2,
/// Then a second call with lenght == 2 might return -4 /// Then a second call with length == 2 might return -4
/// Eventually, the third call with length == 4 should return either a /// Eventually, the third call with length == 4 should return either a
/// Unicode scalar value, or -1 if the byte sequence is malformed. /// Unicode scalar value, or -1 if the byte sequence is malformed.
/// The default implementation returns (int) bytes[0]. /// The default implementation returns (int) bytes[0].
virtual int sequenceLength(const unsigned char* bytes, int length) const; virtual int sequenceLength(const unsigned char* bytes, int length) const;
/// The sequenceLength function is used to get the lenth of the sequence pointed /// The sequenceLength function is used to get the lenth of the sequence pointed
/// by bytes. The length paramater should be greater or equal to the length of /// by bytes. The length parameter should be greater or equal to the length of
/// the sequence. /// the sequence.
/// ///
/// The sequenceLength function must return the lenght of the sequence /// The sequenceLength function must return the length of the sequence
/// represented by this byte sequence or a negative value -n if length is /// represented by this byte sequence or a negative value -n if length is
/// shorter than the sequence, where n is the number of byte requested /// shorter than the sequence, where n is the number of byte requested
/// to determine the length of the sequence. /// to determine the length of the sequence.
@ -120,7 +120,7 @@ public:
/// in which case the conversion becomes an iterative process as long as the /// in which case the conversion becomes an iterative process as long as the
/// result is negative: /// result is negative:
/// First call with length == 1 might return -2, /// First call with length == 1 might return -2,
/// Then a second call with lenght == 2 might return -4 /// Then a second call with length == 2 might return -4
/// Eventually, the third call with length == 4 should return 4. /// Eventually, the third call with length == 4 should return 4.
/// The default implementation returns 1. /// The default implementation returns 1.

View File

@ -111,7 +111,7 @@ public:
void setOSPriority(int prio, int policy = POLICY_DEFAULT); void setOSPriority(int prio, int policy = POLICY_DEFAULT);
/// Sets the thread's priority, using an operating system specific /// Sets the thread's priority, using an operating system specific
/// priority value. Use getMinOSPriority() and getMaxOSPriority() to /// priority value. Use getMinOSPriority() and getMaxOSPriority() to
/// obtain mininum and maximum priority values. Additionally, /// obtain minimum and maximum priority values. Additionally,
/// a scheduling policy can be specified. The policy is currently /// a scheduling policy can be specified. The policy is currently
/// only used on POSIX platforms where the values SCHED_OTHER (default), /// only used on POSIX platforms where the values SCHED_OTHER (default),
/// SCHED_FIFO and SCHED_RR are supported. /// SCHED_FIFO and SCHED_RR are supported.

View File

@ -304,7 +304,7 @@ struct TypeAppender<TypeList<Head, Tail>, T>
template <class Head, class T> template <class Head, class T>
struct TypeOneEraser; struct TypeOneEraser;
/// TypeOneEraser erases the first occurence of the type T in Head. /// TypeOneEraser erases the first occurrence of the type T in Head.
/// Usage: /// Usage:
/// ///
/// typedef TypeListType<char, int, float>::HeadType Type3; /// typedef TypeListType<char, int, float>::HeadType Type3;
@ -336,7 +336,7 @@ struct TypeOneEraser<TypeList<Head, Tail>, T>
template <class Head, class T> template <class Head, class T>
struct TypeAllEraser; struct TypeAllEraser;
/// TypeAllEraser erases all the occurences of the type T in Head. /// TypeAllEraser erases all the occurrences of the type T in Head.
/// Usage: /// Usage:
/// ///
/// typedef TypeListType<char, int, float, int>::HeadType Type4; /// typedef TypeListType<char, int, float, int>::HeadType Type4;
@ -368,7 +368,7 @@ struct TypeAllEraser<TypeList<Head, Tail>, T>
template <class Head> template <class Head>
struct TypeDuplicateEraser; struct TypeDuplicateEraser;
/// TypeDuplicateEraser erases all but the first occurence of the type T in Head. /// TypeDuplicateEraser erases all but the first occurrence of the type T in Head.
/// Usage: /// Usage:
/// ///
/// typedef TypeListType<char, int, float, int>::HeadType Type4; /// typedef TypeListType<char, int, float, int>::HeadType Type4;
@ -397,7 +397,7 @@ public:
template <class Head, class T, class R> template <class Head, class T, class R>
struct TypeOneReplacer; struct TypeOneReplacer;
/// TypeOneReplacer replaces the first occurence /// TypeOneReplacer replaces the first occurrence
/// of the type T in Head with type R. /// of the type T in Head with type R.
/// Usage: /// Usage:
/// ///
@ -430,7 +430,7 @@ struct TypeOneReplacer<TypeList<Head, Tail>, T, R>
template <class Head, class T, class R> template <class Head, class T, class R>
struct TypeAllReplacer; struct TypeAllReplacer;
/// TypeAllReplacer replaces all the occurences /// TypeAllReplacer replaces all the occurrences
/// of the type T in Head with type R. /// of the type T in Head with type R.
/// Usage: /// Usage:
/// ///

View File

@ -37,7 +37,7 @@ template <
> >
class UniqueAccessExpireLRUCache: public AbstractCache<TKey, TValue, StrategyCollection<TKey, TValue>, TMutex, TEventMutex> class UniqueAccessExpireLRUCache: public AbstractCache<TKey, TValue, StrategyCollection<TKey, TValue>, TMutex, TEventMutex>
/// A UniqueAccessExpireLRUCache combines LRU caching and time based per entry expire caching. /// A UniqueAccessExpireLRUCache combines LRU caching and time based per entry expire caching.
/// One can define for each cache entry a seperate timepoint /// One can define for each cache entry a separate timepoint
/// but also limit the size of the cache (per default: 1024). /// but also limit the size of the cache (per default: 1024).
/// Each TValue object must thus offer the following method: /// Each TValue object must thus offer the following method:
/// ///

View File

@ -37,7 +37,7 @@ template <
> >
class UniqueExpireLRUCache: public AbstractCache<TKey, TValue, StrategyCollection<TKey, TValue>, TMutex, TEventMutex> class UniqueExpireLRUCache: public AbstractCache<TKey, TValue, StrategyCollection<TKey, TValue>, TMutex, TEventMutex>
/// A UniqueExpireLRUCache combines LRU caching and time based per entry expire caching. /// A UniqueExpireLRUCache combines LRU caching and time based per entry expire caching.
/// One can define for each cache entry a seperate timepoint /// One can define for each cache entry a separate timepoint
/// but also limit the size of the cache (per default: 1024). /// but also limit the size of the cache (per default: 1024).
/// Each TValue object must thus offer the following method: /// Each TValue object must thus offer the following method:
/// ///

View File

@ -89,7 +89,7 @@ public:
#endif #endif
void value(const std::string& value); void value(const std::string& value);
/// A string value is read; it will be fromatted and written to the output. /// A string value is read; it will be formatted and written to the output.
void value(double d); void value(double d);
/// A double value is read; it will be written to the output. /// A double value is read; it will be written to the output.

View File

@ -121,7 +121,7 @@ public:
protected: protected:
DatagramSocket(SocketImpl* pImpl); DatagramSocket(SocketImpl* pImpl);
/// Creates the Socket and attaches the given SocketImpl. /// Creates the Socket and attaches the given SocketImpl.
/// The socket takes owership of the SocketImpl. /// The socket takes ownership of the SocketImpl.
/// ///
/// The SocketImpl must be a StreamSocketImpl, otherwise /// The SocketImpl must be a StreamSocketImpl, otherwise
/// an InvalidArgumentException will be thrown. /// an InvalidArgumentException will be thrown.

View File

@ -258,7 +258,7 @@ public:
/// The stream is valid until endList() is called. /// The stream is valid until endList() is called.
/// ///
/// Optionally, a path to a directory or file can be specified. /// Optionally, a path to a directory or file can be specified.
/// According to the FTP prototol, if a path to a filename is /// According to the FTP protocol, if a path to a filename is
/// given, only information for the specific file is returned. /// given, only information for the specific file is returned.
/// If a path to a directory is given, a listing of that directory /// If a path to a directory is given, a listing of that directory
/// is returned. If no path is given, a listing of the current /// is returned. If no path is given, a listing of the current

View File

@ -88,7 +88,7 @@ public:
/// Returns the connection timeout for HTTP connections. /// Returns the connection timeout for HTTP connections.
void setMaxKeepAliveRequests(int maxKeepAliveRequests); void setMaxKeepAliveRequests(int maxKeepAliveRequests);
/// Specifies the maximun number of requests allowed /// Specifies the maximum number of requests allowed
/// during a persistent connection. 0 means unlimited /// during a persistent connection. 0 means unlimited
/// connections. /// connections.

View File

@ -80,7 +80,7 @@ public:
protected: protected:
ICMPSocket(SocketImpl* pImpl); ICMPSocket(SocketImpl* pImpl);
/// Creates the Socket and attaches the given SocketImpl. /// Creates the Socket and attaches the given SocketImpl.
/// The socket takes owership of the SocketImpl. /// The socket takes ownership of the SocketImpl.
/// ///
/// The SocketImpl must be a ICMPSocketImpl, otherwise /// The SocketImpl must be a ICMPSocketImpl, otherwise
/// an InvalidArgumentException will be thrown. /// an InvalidArgumentException will be thrown.

View File

@ -113,8 +113,8 @@ protected:
class Net_API MailInputStream: public MailIOS, public std::istream class Net_API MailInputStream: public MailIOS, public std::istream
/// This class is used for reading E-Mail messages from a /// This class is used for reading E-Mail messages from a
/// POP3 server. All occurences of "\r\n..\r\n" are replaced with /// POP3 server. All occurrences of "\r\n..\r\n" are replaced with
/// "\r\n.\r\n". The first occurence of "\r\n.\r\n" denotes the end /// "\r\n.\r\n". The first occurrence of "\r\n.\r\n" denotes the end
/// of the stream. /// of the stream.
{ {
public: public:
@ -129,7 +129,7 @@ public:
class Net_API MailOutputStream: public MailIOS, public std::ostream class Net_API MailOutputStream: public MailIOS, public std::ostream
/// This class is used for writing E-Mail messages to a /// This class is used for writing E-Mail messages to a
/// SMTP server. All occurences of "\r\n.\r\n" are replaced with /// SMTP server. All occurrences of "\r\n.\r\n" are replaced with
/// "\r\n..\r\n". /// "\r\n..\r\n".
{ {
public: public:

View File

@ -123,7 +123,7 @@ public:
/// Assigns another NetworkInterface. /// Assigns another NetworkInterface.
bool operator < (const NetworkInterface& other) const; bool operator < (const NetworkInterface& other) const;
/// Operatorr less-than. /// Operator less-than.
bool operator == (const NetworkInterface& other) const; bool operator == (const NetworkInterface& other) const;
/// Operator equal. Compares interface indices. /// Operator equal. Compares interface indices.

View File

@ -121,7 +121,7 @@ public:
protected: protected:
RawSocket(SocketImpl* pImpl); RawSocket(SocketImpl* pImpl);
/// Creates the Socket and attaches the given SocketImpl. /// Creates the Socket and attaches the given SocketImpl.
/// The socket takes owership of the SocketImpl. /// The socket takes ownership of the SocketImpl.
/// ///
/// The SocketImpl must be a StreamSocketImpl, otherwise /// The SocketImpl must be a StreamSocketImpl, otherwise
/// an InvalidArgumentException will be thrown. /// an InvalidArgumentException will be thrown.

View File

@ -35,7 +35,7 @@ class MailMessage;
class Net_API SMTPClientSession class Net_API SMTPClientSession
/// This class implements an Simple Mail /// This class implements an Simple Mail
/// Transfer Procotol (SMTP, RFC 2821) /// Transfer Protocol (SMTP, RFC 2821)
/// client for sending e-mail messages. /// client for sending e-mail messages.
{ {
public: public:

View File

@ -299,7 +299,7 @@ public:
protected: protected:
Socket(SocketImpl* pImpl); Socket(SocketImpl* pImpl);
/// Creates the Socket and attaches the given SocketImpl. /// Creates the Socket and attaches the given SocketImpl.
/// The socket takes owership of the SocketImpl. /// The socket takes ownership of the SocketImpl.
poco_socket_t sockfd() const; poco_socket_t sockfd() const;
/// Returns the socket descriptor for this socket. /// Returns the socket descriptor for this socket.

View File

@ -96,7 +96,7 @@ public:
class Net_API TimeoutNotification: public SocketNotification class Net_API TimeoutNotification: public SocketNotification
/// This notification is sent if no other event has occured /// This notification is sent if no other event has occurred
/// for a specified time. /// for a specified time.
{ {
public: public:

View File

@ -83,7 +83,7 @@ class Net_API SocketReactor: public Poco::Runnable
/// becomes writable. The ErrorNotification will be dispatched if /// becomes writable. The ErrorNotification will be dispatched if
/// there is an error condition on a socket. /// there is an error condition on a socket.
/// ///
/// If the timeout expires and no event has occured, a /// If the timeout expires and no event has occurred, a
/// TimeoutNotification will be dispatched to all event handlers /// TimeoutNotification will be dispatched to all event handlers
/// registered for it. This is done in the onTimeout() method /// registered for it. This is done in the onTimeout() method
/// which can be overridden by subclasses to perform custom /// which can be overridden by subclasses to perform custom
@ -158,7 +158,7 @@ public:
/// reactor.addEventHandler(obs); /// reactor.addEventHandler(obs);
bool hasEventHandler(const Socket& socket, const Poco::AbstractObserver& observer); bool hasEventHandler(const Socket& socket, const Poco::AbstractObserver& observer);
/// Returns true if the observer is reistered with SocketReactor for the given socket. /// Returns true if the observer is registered with SocketReactor for the given socket.
void removeEventHandler(const Socket& socket, const Poco::AbstractObserver& observer); void removeEventHandler(const Socket& socket, const Poco::AbstractObserver& observer);
/// Unregisters an event handler with the SocketReactor. /// Unregisters an event handler with the SocketReactor.

View File

@ -160,7 +160,7 @@ public:
StreamSocket(SocketImpl* pImpl); StreamSocket(SocketImpl* pImpl);
/// Creates the Socket and attaches the given SocketImpl. /// Creates the Socket and attaches the given SocketImpl.
/// The socket takes owership of the SocketImpl. /// The socket takes ownership of the SocketImpl.
/// ///
/// The SocketImpl must be a StreamSocketImpl, otherwise /// The SocketImpl must be a StreamSocketImpl, otherwise
/// an InvalidArgumentException will be thrown. /// an InvalidArgumentException will be thrown.

View File

@ -226,29 +226,29 @@ public:
/// ///
/// Specifying a size of 0 will set an unlimited cache size. /// Specifying a size of 0 will set an unlimited cache size.
/// ///
/// This method may only be called on SERVER_USE Context objets. /// This method may only be called on SERVER_USE Context objects.
std::size_t getSessionCacheSize() const; std::size_t getSessionCacheSize() const;
/// Returns the current maximum size of the server session cache. /// Returns the current maximum size of the server session cache.
/// ///
/// This method may only be called on SERVER_USE Context objets. /// This method may only be called on SERVER_USE Context objects.
void setSessionTimeout(long seconds); void setSessionTimeout(long seconds);
/// Sets the timeout (in seconds) of cached sessions on the server. /// Sets the timeout (in seconds) of cached sessions on the server.
/// A cached session will be removed from the cache if it has /// A cached session will be removed from the cache if it has
/// not been used for the given number of seconds. /// not been used for the given number of seconds.
/// ///
/// This method may only be called on SERVER_USE Context objets. /// This method may only be called on SERVER_USE Context objects.
long getSessionTimeout() const; long getSessionTimeout() const;
/// Returns the timeout (in seconds) of cached sessions on the server. /// Returns the timeout (in seconds) of cached sessions on the server.
/// ///
/// This method may only be called on SERVER_USE Context objets. /// This method may only be called on SERVER_USE Context objects.
void flushSessionCache(); void flushSessionCache();
/// Flushes the SSL session cache on the server. /// Flushes the SSL session cache on the server.
/// ///
/// This method may only be called on SERVER_USE Context objets. /// This method may only be called on SERVER_USE Context objects.
void enableExtendedCertificateVerification(bool flag = true); void enableExtendedCertificateVerification(bool flag = true);
/// Enable or disable the automatic post-connection /// Enable or disable the automatic post-connection

View File

@ -51,11 +51,11 @@ class NetSSL_API SSLManager
/// Proper initialization of SSLManager is critical. /// Proper initialization of SSLManager is critical.
/// ///
/// SSLManager can be initialized manually, by calling initializeServer() /// SSLManager can be initialized manually, by calling initializeServer()
/// and/or initializeClient(), or intialization can be automatic. In the latter /// and/or initializeClient(), or initialization can be automatic. In the latter
/// case, a Poco::Util::Application instance must be available and the required /// case, a Poco::Util::Application instance must be available and the required
/// configuration properties must be set (see below). /// configuration properties must be set (see below).
/// ///
/// Note that manual intialization must happen very early in the application, /// Note that manual initialization must happen very early in the application,
/// before defaultClientContext() or defaultServerContext() are called. /// before defaultClientContext() or defaultServerContext() are called.
/// ///
/// If defaultClientContext() and defaultServerContext() are never called /// If defaultClientContext() and defaultServerContext() are never called

View File

@ -31,7 +31,7 @@ namespace Net {
class NetSSL_API SecureSMTPClientSession: public SMTPClientSession class NetSSL_API SecureSMTPClientSession: public SMTPClientSession
/// This class implements an Simple Mail /// This class implements an Simple Mail
/// Transfer Procotol (SMTP, RFC 2821) /// Transfer Protocol (SMTP, RFC 2821)
/// client for sending e-mail messages that /// client for sending e-mail messages that
/// supports the STARTTLS command for secure /// supports the STARTTLS command for secure
/// connections. /// connections.

View File

@ -53,7 +53,7 @@ class NetSSL_Win_API SSLManager
/// Proper initialization of SSLManager is critical. /// Proper initialization of SSLManager is critical.
/// ///
/// SSLManager can be initialized manually, by calling initializeServer() /// SSLManager can be initialized manually, by calling initializeServer()
/// and/or initializeClient(), or intialization can be automatic. In the latter /// and/or initializeClient(), or initialization can be automatic. In the latter
/// case, a Poco::Util::Application instance must be available and the required /// case, a Poco::Util::Application instance must be available and the required
/// configuration properties must be set (see below). /// configuration properties must be set (see below).
/// ///

View File

@ -31,7 +31,7 @@ namespace Net {
class NetSSL_Win_API SecureSMTPClientSession: public SMTPClientSession class NetSSL_Win_API SecureSMTPClientSession: public SMTPClientSession
/// This class implements an Simple Mail /// This class implements an Simple Mail
/// Transfer Procotol (SMTP, RFC 2821) /// Transfer Protocol (SMTP, RFC 2821)
/// client for sending e-mail messages that /// client for sending e-mail messages that
/// supports the STARTTLS command for secure /// supports the STARTTLS command for secure
/// connections. /// connections.

View File

@ -293,7 +293,7 @@ public:
/// Sets the document info. /// Sets the document info.
void setInfo(Info info, const LocalDateTime& dt); void setInfo(Info info, const LocalDateTime& dt);
/// Sets the document creation or moidification date. /// Sets the document creation or modification date.
std::string getInfo(Info info); std::string getInfo(Info info);
/// Returns the document info. /// Returns the document info.

View File

@ -302,7 +302,7 @@ public:
/// Creates a view (see ConfigurationView) into the configuration. /// Creates a view (see ConfigurationView) into the configuration.
std::string expand(const std::string& value) const; std::string expand(const std::string& value) const;
/// Replaces all occurences of ${<property>} in value with the /// Replaces all occurrences of ${<property>} in value with the
/// value of the <property>. If <property> does not exist, /// value of the <property>. If <property> does not exist,
/// nothing is changed. /// nothing is changed.
/// ///

View File

@ -41,8 +41,8 @@ public:
/// Creates the WinRegistryConfiguration. /// Creates the WinRegistryConfiguration.
/// The rootPath must start with one of the root key names /// The rootPath must start with one of the root key names
/// like HKEY_CLASSES_ROOT, e.g. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services. /// like HKEY_CLASSES_ROOT, e.g. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.
/// All further keys are relativ to the root path and can be /// All further keys are relative to the root path and can be
/// dot seperated, e.g. the path MyService.ServiceName will be converted to /// dot separated, e.g. the path MyService.ServiceName will be converted to
/// HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MyService\ServiceName. /// HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MyService\ServiceName.
/// The extraSam parameter will be passed along to WinRegistryKey, to control /// The extraSam parameter will be passed along to WinRegistryKey, to control
/// registry virtualization for example. /// registry virtualization for example.