Corrected misspelt 'b' and 'c' words.

This commit is contained in:
martin-osborne
2015-04-06 17:56:13 +01:00
parent 7e730aa9b8
commit 12c0594db6
18 changed files with 23 additions and 23 deletions

View File

@@ -66,7 +66,7 @@ public:
Symbol* lookup(const std::string& name) const; Symbol* lookup(const std::string& name) const;
/// Looks up the given name in the symbol table /// Looks up the given name in the symbol table
/// and returns the corresponsing symbol, or null /// and returns the corresponding symbol, or null
/// if no symbol can be found. The name can include /// if no symbol can be found. The name can include
/// a namespace. /// a namespace.
@@ -104,7 +104,7 @@ public:
private: private:
Symbol* lookup(const std::string& name, std::set<const NameSpace*>& alreadyVisited) const; Symbol* lookup(const std::string& name, std::set<const NameSpace*>& alreadyVisited) const;
/// Looks up the given name in the symbol table /// Looks up the given name in the symbol table
/// and returns the corresponsing symbol, or null /// and returns the corresponding symbol, or null
/// if no symbol can be found. The name can include /// if no symbol can be found. The name can include
/// a namespace. /// a namespace.

View File

@@ -93,7 +93,7 @@ void Utility::detectPrefixAndIncludes(const std::string& origHFile, std::vector<
++itTmp; ++itTmp;
std::string defValue = *itTmp; std::string defValue = *itTmp;
istr >> x; istr >> x;
// now find the corresponsing #define // now find the corresponding #define
while (x.find(defValue) == std::string::npos) while (x.find(defValue) == std::string::npos)
istr >> x; istr >> x;
//now parse until a class def is found without a ; at the end //now parse until a class def is found without a ; at the end

View File

@@ -41,7 +41,7 @@ class ODBC_API TypeInfo
/// ///
/// This class provides mapping between C and SQL datatypes as well /// This class provides mapping between C and SQL datatypes as well
/// as datatypes supported by the underlying database. In order for database /// as datatypes supported by the underlying database. In order for database
/// types to be available, a valid conection handle must be supplied at either /// types to be available, a valid connection handle must be supplied at either
/// object construction time, or at a later point in time, through call to /// object construction time, or at a later point in time, through call to
/// fillTypeInfo member function. /// fillTypeInfo member function.
/// ///

View File

@@ -46,7 +46,7 @@ class SQLite_API Notifier
/// ///
/// There can be only one set of callbacks per session (i.e. registering a new /// There can be only one set of callbacks per session (i.e. registering a new
/// callback automatically unregisters the previous one). All callbacks are /// callback automatically unregisters the previous one). All callbacks are
/// registered and enabled at Notifier contruction time and can be disabled /// registered and enabled at Notifier construction time and can be disabled
/// at a later point time. /// at a later point time.
{ {
public: public:
@@ -119,7 +119,7 @@ public:
/// and triggers the event. /// and triggers the event.
static int sqliteCommitCallbackFn(void* pVal); static int sqliteCommitCallbackFn(void* pVal);
/// Commit callback event dispatcher. If an exception occurs, it is catched inside this function, /// Commit callback event dispatcher. If an exception occurs, it is caught inside this function,
/// non-zero value is returned, which causes SQLite engine to turn commit into a rollback. /// non-zero value is returned, which causes SQLite engine to turn commit into a rollback.
/// Therefore, callers should check for return value - if it is zero, callback completed succesfuly /// Therefore, callers should check for return value - if it is zero, callback completed succesfuly
/// and transaction was committed. /// and transaction was committed.

View File

@@ -109,7 +109,7 @@ public:
/// However, prior to the next message being processed and sent to /// However, prior to the next message being processed and sent to
/// the target, the previous operation must have been either completed /// the target, the previous operation must have been either completed
/// or timed out (see timeout and throw properties for details on /// or timed out (see timeout and throw properties for details on
/// how abnormal conditos are handled). /// how abnormal conditions are handled).
/// ///
/// * timeout: Timeout (ms) to wait for previous log operation completion. /// * timeout: Timeout (ms) to wait for previous log operation completion.
/// Values "0" and "" mean no timeout. Only valid when logging /// Values "0" and "" mean no timeout. Only valid when logging
@@ -125,7 +125,7 @@ public:
std::size_t wait(); std::size_t wait();
/// Waits for the completion of the previous operation and returns /// Waits for the completion of the previous operation and returns
/// the result. If chanel is in synchronous mode, returns 0 immediately. /// the result. If channel is in synchronous mode, returns 0 immediately.
static void registerChannel(); static void registerChannel();
/// Registers the channel with the global LoggingFactory. /// Registers the channel with the global LoggingFactory.

View File

@@ -56,7 +56,7 @@ public:
/// reference as an argument. /// reference as an argument.
/// ///
/// When transaction is created using this constructor, it is executed and /// When transaction is created using this constructor, it is executed and
/// commited automatically. If no error occurs, rollback is disabled and does /// committed automatically. If no error occurs, rollback is disabled and does
/// not occur at destruction time. If an error occurs resulting in exception being /// not occur at destruction time. If an error occurs resulting in exception being
/// thrown, the transaction is rolled back and exception propagated to calling code. /// thrown, the transaction is rolled back and exception propagated to calling code.
/// ///
@@ -84,7 +84,7 @@ public:
~Transaction(); ~Transaction();
/// Destroys the Transaction. /// Destroys the Transaction.
/// Rolls back the current database transaction if it has not been commited /// Rolls back the current database transaction if it has not been committed
/// (by calling commit()), or rolled back (by calling rollback()). /// (by calling commit()), or rolled back (by calling rollback()).
/// ///
/// If an exception is thrown during rollback, the exception is logged /// If an exception is thrown during rollback, the exception is logged

View File

@@ -69,7 +69,7 @@ public:
/// Returns the calculated checksum. /// Returns the calculated checksum.
Type type() const; Type type() const;
/// Which type of checksum are we calulcating /// Which type of checksum are we calculating.
private: private:
Type _type; Type _type;

View File

@@ -110,7 +110,7 @@ public:
static ClockDiff resolution(); static ClockDiff resolution();
/// Returns the resolution in units per second. /// Returns the resolution in units per second.
/// Since the Clock clas has microsecond resolution, /// Since the Clock class has microsecond resolution,
/// the returned value is always 1000000. /// the returned value is always 1000000.
static ClockDiff accuracy(); static ClockDiff accuracy();

View File

@@ -388,7 +388,7 @@ protected:
/// This function is meant for converting unsigned integral data types to /// This function is meant for converting unsigned integral data types to
/// unsigned data types. Negative values can not be converted and if one is /// unsigned data types. Negative values can not be converted and if one is
/// encountered, RangeException is thrown. /// encountered, RangeException is thrown.
/// If upper limit is within the target data type limits, the converiosn is performed. /// If upper limit is within the target data type limits, the conversion is performed.
{ {
poco_static_assert (std::numeric_limits<F>::is_specialized); poco_static_assert (std::numeric_limits<F>::is_specialized);
poco_static_assert (std::numeric_limits<T>::is_specialized); poco_static_assert (std::numeric_limits<T>::is_specialized);

View File

@@ -124,7 +124,7 @@ class Foundation_API FileOutputStream: public FileIOS, public std::ostream
{ {
public: public:
FileOutputStream(); FileOutputStream();
/// Creats an unopened FileOutputStream. /// Creates an unopened FileOutputStream.
FileOutputStream(const std::string& path, std::ios::openmode mode = std::ios::out | std::ios::trunc); FileOutputStream(const std::string& path, std::ios::openmode mode = std::ios::out | std::ios::trunc);
/// Creates the FileOutputStream for the file given by path, using /// Creates the FileOutputStream for the file given by path, using
@@ -161,7 +161,7 @@ class Foundation_API FileStream: public FileIOS, public std::iostream
{ {
public: public:
FileStream(); FileStream();
/// Creats an unopened FileStream. /// Creates an unopened FileStream.
FileStream(const std::string& path, std::ios::openmode mode = std::ios::out | std::ios::in); FileStream(const std::string& path, std::ios::openmode mode = std::ios::out | std::ios::in);
/// Creates the FileStream for the file given by path, using /// Creates the FileStream for the file given by path, using

View File

@@ -49,7 +49,7 @@ class Foundation_API RegularExpression
/// (see http://www.pcre.org). /// (see http://www.pcre.org).
{ {
public: public:
enum Options // These must match the corresponsing options in pcre.h! enum Options // These must match the corresponding options in pcre.h!
/// Some of the following options can only be passed to the constructor; /// Some of the following options can only be passed to the constructor;
/// some can be passed only to matching functions, and some can be used /// some can be passed only to matching functions, and some can be used
/// everywhere. /// everywhere.

View File

@@ -52,7 +52,7 @@ public:
/// will generally ignore the hint. /// will generally ignore the hint.
char* begin() const; char* begin() const;
/// Returns the beginn address of the SharedMemory segment. Will be null for illegal segments. /// Returns the begin address of the SharedMemory segment. Will be null for illegal segments.
char* end() const; char* end() const;
/// Points past the last byte of the end address of the SharedMemory segment. Will be null for illegal segments. /// Points past the last byte of the end address of the SharedMemory segment. Will be null for illegal segments.

View File

@@ -38,7 +38,7 @@ template <class Key, class Value, class KeyHashFunction = HashFunction<Key> >
class SimpleHashTable class SimpleHashTable
/// A SimpleHashTable stores a key value pair that can be looked up via a hashed key. /// A SimpleHashTable stores a key value pair that can be looked up via a hashed key.
/// ///
/// In comparision to a HashTable, this class handles collisions by sequentially searching the next /// In comparison to a HashTable, this class handles collisions by sequentially searching the next
/// free location. This also means that the maximum size of this table is limited, i.e. if the hash table /// free location. This also means that the maximum size of this table is limited, i.e. if the hash table
/// is full, it will throw an exception and that this class does not support remove operations. /// is full, it will throw an exception and that this class does not support remove operations.
/// On the plus side it is faster than the HashTable. /// On the plus side it is faster than the HashTable.

View File

@@ -71,7 +71,7 @@ public:
/// Returns true if the given name is one of the names of this encoding. /// Returns true if the given name is one of the names of this encoding.
/// For example, the "ISO-8859-1" encoding is also known as "Latin-1". /// For example, the "ISO-8859-1" encoding is also known as "Latin-1".
/// ///
/// Encoding name comparision are be case insensitive. /// Encoding name comparisons are case insensitive.
virtual const CharacterMap& characterMap() const = 0; virtual const CharacterMap& characterMap() const = 0;
/// Returns the CharacterMap for the encoding. /// Returns the CharacterMap for the encoding.

View File

@@ -404,7 +404,7 @@ void LocalDateTimeTest::testTimezone()
// iterations. Do this with both a LocalDateTime object and // iterations. Do this with both a LocalDateTime object and
// a ANSI C time_t. Then create a LocalDateTime based on the // a ANSI C time_t. Then create a LocalDateTime based on the
// time_t and verify that the time_t calculated value is equal // time_t and verify that the time_t calculated value is equal
// to the LocalDateTime value. The comparision operator // to the LocalDateTime value. The comparison operator
// verifies the _dateTime and _tzd members. // verifies the _dateTime and _tzd members.
LocalDateTime dt2; LocalDateTime dt2;
t = std::time(NULL); t = std::time(NULL);

View File

@@ -134,7 +134,7 @@ public:
void setFileType(FileType type); void setFileType(FileType type);
/// Sets the file type for transferring files. /// Sets the file type for transferring files.
/// ///
/// Sends a TYPE command with a corresponsing argument to the /// Sends a TYPE command with a corresponding argument to the
/// server. /// server.
/// ///
/// Throws a FTPException in case of a FTP-specific error, or a /// Throws a FTPException in case of a FTP-specific error, or a

View File

@@ -207,7 +207,7 @@ public:
const std::string& mediaType, const std::string& mediaType,
const std::string& filename = ""); const std::string& filename = "");
/// Returns either default StringPartSource part store or, /// Returns either default StringPartSource part store or,
/// if the part store factory was provided during contruction, /// if the part store factory was provided during construction,
/// the one created by PartStoreFactory. /// the one created by PartStoreFactory.
/// Returned part store is allocated on the heap; it is caller's /// Returned part store is allocated on the heap; it is caller's
/// responsibility to delete it after use. Typical use is handler /// responsibility to delete it after use. Typical use is handler

View File

@@ -103,7 +103,7 @@ private:
/// for directories. /// for directories.
void addFileRaw(std::istream& in, const ZipLocalFileHeader& hdr, const Poco::Path& fileName); void addFileRaw(std::istream& in, const ZipLocalFileHeader& hdr, const Poco::Path& fileName);
/// copys an already compressed ZipEntry from in /// Copies an already compressed ZipEntry from in
private: private:
std::set<std::string> _storeExtensions; std::set<std::string> _storeExtensions;