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

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

View File

@@ -1474,7 +1474,7 @@ inline AbstractBindingVec& io(AbstractBindingVec& bv)
template <typename T>
inline AbstractBinding::Ptr bind(T t, const std::string& name)
/// 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);
}
@@ -1483,7 +1483,7 @@ inline AbstractBinding::Ptr bind(T t, const std::string& name)
template <typename T>
inline AbstractBinding::Ptr bind(T t)
/// 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, "");
}

View File

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

View File

@@ -178,13 +178,13 @@ public:
/// Converts the column names to string.
void formatNames() const;
/// Fomats the column names.
/// Formats the column names.
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;
/// Fomats the row values.
/// Formats the row values.
bool operator == (const Row& other) const;
/// 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:
///
/// - 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;
/// std::string& formatNames(const NameVecPtr, std::string&) and
/// 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
///
/// 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.
///
{
@@ -134,10 +134,10 @@ public:
/// to empty strings and row count to INVALID_ROW_COUNT.
Mode getMode() const;
/// Returns the formater mode.
/// Returns the formatter mode.
void setMode(Mode mode);
/// Sets the fromatter mode.
/// Sets the formatter mode.
protected:

View File

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

View File

@@ -51,10 +51,10 @@ class Data_API SQLChannel: public Poco::Channel
/// DateTime DATE)"
///
/// The table name is configurable through "table" property.
/// Other than DateTime filed name used for optiona time-based archiving purposes, currently the
/// field names are not mandated. However, it is recomended to use names as specified above.
/// Other than DateTime filed name used for optional time-based archiving purposes, currently the
/// 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
/// 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).
@@ -150,15 +150,15 @@ private:
typedef Poco::SharedPtr<ArchiveStrategy> StrategyPtr;
void initLogStatement();
/// Initiallizes the log statement.
/// Initializes the log statement.
void initArchiveStatements();
/// Initiallizes the archive statement.
/// Initializes the archive statement.
void logAsync(const Message& msg);
/// Waits for previous operation completion and
/// 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.
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
/// 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):
///
/// std::vector<int> data;
@@ -486,7 +486,7 @@ namespace std
template<>
inline void swap<Poco::Data::Session>(Poco::Data::Session& s1,
Poco::Data::Session& s2)
/// Full template specalization of std:::swap for Session
/// Full template specialization of std:::swap for Session
{
s1.swap(s2);
}

View File

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

View File

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

View File

@@ -184,7 +184,7 @@ protected:
virtual std::size_t next() = 0;
/// 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.
/// Expects the statement to be compiled and bound.
@@ -253,7 +253,7 @@ protected:
/// - std::list
SessionImpl& session();
/// Rteurns session associated with this statement.
/// Returns session associated with this statement.
virtual AbstractBinding::BinderPtr binder() = 0;
/// Returns the concrete binder used by the statement.