mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 16:48:06 +02:00
Corrected misspelt 'b' and 'c' words.
This commit is contained in:
@@ -66,7 +66,7 @@ public:
|
||||
|
||||
Symbol* lookup(const std::string& name) const;
|
||||
/// 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
|
||||
/// a namespace.
|
||||
|
||||
@@ -104,7 +104,7 @@ public:
|
||||
private:
|
||||
Symbol* lookup(const std::string& name, std::set<const NameSpace*>& alreadyVisited) const;
|
||||
/// 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
|
||||
/// a namespace.
|
||||
|
||||
|
@@ -93,7 +93,7 @@ void Utility::detectPrefixAndIncludes(const std::string& origHFile, std::vector<
|
||||
++itTmp;
|
||||
std::string defValue = *itTmp;
|
||||
istr >> x;
|
||||
// now find the corresponsing #define
|
||||
// now find the corresponding #define
|
||||
while (x.find(defValue) == std::string::npos)
|
||||
istr >> x;
|
||||
//now parse until a class def is found without a ; at the end
|
||||
|
@@ -41,7 +41,7 @@ class ODBC_API TypeInfo
|
||||
///
|
||||
/// This class provides mapping between C and SQL datatypes as well
|
||||
/// 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
|
||||
/// fillTypeInfo member function.
|
||||
///
|
||||
|
@@ -46,7 +46,7 @@ class SQLite_API Notifier
|
||||
///
|
||||
/// There can be only one set of callbacks per session (i.e. registering a new
|
||||
/// 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.
|
||||
{
|
||||
public:
|
||||
@@ -119,7 +119,7 @@ public:
|
||||
/// and triggers the event.
|
||||
|
||||
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.
|
||||
/// Therefore, callers should check for return value - if it is zero, callback completed succesfuly
|
||||
/// and transaction was committed.
|
||||
|
@@ -109,7 +109,7 @@ public:
|
||||
/// However, prior to the next message being processed and sent to
|
||||
/// the target, the previous operation must have been either completed
|
||||
/// 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.
|
||||
/// Values "0" and "" mean no timeout. Only valid when logging
|
||||
@@ -125,7 +125,7 @@ public:
|
||||
|
||||
std::size_t wait();
|
||||
/// 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();
|
||||
/// Registers the channel with the global LoggingFactory.
|
||||
|
@@ -56,7 +56,7 @@ public:
|
||||
/// reference as an argument.
|
||||
///
|
||||
/// 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
|
||||
/// thrown, the transaction is rolled back and exception propagated to calling code.
|
||||
///
|
||||
@@ -84,7 +84,7 @@ public:
|
||||
|
||||
~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()).
|
||||
///
|
||||
/// If an exception is thrown during rollback, the exception is logged
|
||||
|
@@ -69,7 +69,7 @@ public:
|
||||
/// Returns the calculated checksum.
|
||||
|
||||
Type type() const;
|
||||
/// Which type of checksum are we calulcating
|
||||
/// Which type of checksum are we calculating.
|
||||
|
||||
private:
|
||||
Type _type;
|
||||
|
@@ -110,7 +110,7 @@ public:
|
||||
|
||||
static ClockDiff resolution();
|
||||
/// 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.
|
||||
|
||||
static ClockDiff accuracy();
|
||||
|
@@ -388,7 +388,7 @@ protected:
|
||||
/// This function is meant for converting unsigned integral data types to
|
||||
/// unsigned data types. Negative values can not be converted and if one is
|
||||
/// 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<T>::is_specialized);
|
||||
|
@@ -124,7 +124,7 @@ class Foundation_API FileOutputStream: public FileIOS, public std::ostream
|
||||
{
|
||||
public:
|
||||
FileOutputStream();
|
||||
/// Creats an unopened FileOutputStream.
|
||||
/// Creates an unopened FileOutputStream.
|
||||
|
||||
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
|
||||
@@ -161,7 +161,7 @@ class Foundation_API FileStream: public FileIOS, public std::iostream
|
||||
{
|
||||
public:
|
||||
FileStream();
|
||||
/// Creats an unopened FileStream.
|
||||
/// Creates an unopened FileStream.
|
||||
|
||||
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
|
||||
|
@@ -49,7 +49,7 @@ class Foundation_API RegularExpression
|
||||
/// (see http://www.pcre.org).
|
||||
{
|
||||
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 can be passed only to matching functions, and some can be used
|
||||
/// everywhere.
|
||||
|
@@ -52,7 +52,7 @@ public:
|
||||
/// will generally ignore the hint.
|
||||
|
||||
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;
|
||||
/// Points past the last byte of the end address of the SharedMemory segment. Will be null for illegal segments.
|
||||
|
@@ -38,7 +38,7 @@ template <class Key, class Value, class KeyHashFunction = HashFunction<Key> >
|
||||
class SimpleHashTable
|
||||
/// 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
|
||||
/// 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.
|
||||
|
@@ -71,7 +71,7 @@ public:
|
||||
/// 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".
|
||||
///
|
||||
/// Encoding name comparision are be case insensitive.
|
||||
/// Encoding name comparisons are case insensitive.
|
||||
|
||||
virtual const CharacterMap& characterMap() const = 0;
|
||||
/// Returns the CharacterMap for the encoding.
|
||||
|
@@ -404,7 +404,7 @@ void LocalDateTimeTest::testTimezone()
|
||||
// iterations. Do this with both a LocalDateTime object and
|
||||
// a ANSI C time_t. Then create a LocalDateTime based on the
|
||||
// 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.
|
||||
LocalDateTime dt2;
|
||||
t = std::time(NULL);
|
||||
|
@@ -134,7 +134,7 @@ public:
|
||||
void setFileType(FileType type);
|
||||
/// 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.
|
||||
///
|
||||
/// Throws a FTPException in case of a FTP-specific error, or a
|
||||
|
@@ -207,7 +207,7 @@ public:
|
||||
const std::string& mediaType,
|
||||
const std::string& filename = "");
|
||||
/// 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.
|
||||
/// Returned part store is allocated on the heap; it is caller's
|
||||
/// responsibility to delete it after use. Typical use is handler
|
||||
|
@@ -103,7 +103,7 @@ private:
|
||||
/// for directories.
|
||||
|
||||
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:
|
||||
std::set<std::string> _storeExtensions;
|
||||
|
Reference in New Issue
Block a user