return _archStr == targetEntry_r._archStr;
break;
}
- // This is a builtin: comatible if mentioned in targetEntry_r
+ // This is a builtin: compatible if mentioned in targetEntry_r
return targetEntry_r._compatBits & _idBit;
}
}
/** \relates Arch::CompatEntry ComaptSet ordering.
- * \note This is purely based on _archStr, as required by class ComaptSet.
+ * \note This is purely based on _archStr, as required by class CompatSet.
*/
inline bool operator<( const Arch::CompatEntry & lhs, const Arch::CompatEntry & rhs )
{ return lhs._archStr < rhs._archStr; }
{
// _noarch must have _idBit 0.
// Other builtins have 1-bit set
- // and are intiialized done on the fly.
+ // and are initialized done on the fly.
_compatSet.insert( Arch::CompatEntry( _noarch, 0 ) );
///////////////////////////////////////////////////////////////////
// Define the CompatibleWith relation:
* should be immutable, you should use <tt>AutoDispose\<const _Tp\></tt>.
*
* Pass a filename to the application and provide the appropriate
- * code to be exectued when the file is no longer needed:
+ * code to be executed when the file is no longer needed:
* \code
* struct FileCache
* {
*
* That way the sending side does not need to know whether some receiver
* is listening. And it enables the receiver to return a reasonable value,
- * in case he's got no idea, what to else to return.
+ * in case he's got no idea, what else to return.
*
* \code
* struct Foo : public callback::ReportBase
* structure had to provide this value, so it's probabely better
* than anything you \e invent.
* \code
- * int somefunktion()
+ * int somefunction()
* {
* ...// don't know what to return?
- * return Foo::somefunktion();
+ * return Foo::somefunction();
* }
* \endcode
*
* \invariant Unified \c _pimpl asserted by CapFactory.
*
* \todo Need a trival return from matches. E.g. Conditional
- * cpabilities must be able to indicate that they should be
+ * capabilities must be able to indicate that they should be
* treated as if they were not present at all, if the precondition
- * does no apply. Same for the defaut Capability.
+ * does no apply. Same for the default Capability.
*/
class Capability
{
/**
* Class to encapsulate the \ref OnMediaLocation object
- * and the \ref FileChcker together
+ * and the \ref FileChecker together
*/
struct FetcherJob
{
/**
* This basically means, we know the key, but it is not trusted, Continue
- * yes ir no?. Nothing else is performed (import, etc)
+ * yes or no?. Nothing else is performed (import, etc)
*/
virtual bool askUserToTrustKey( const PublicKey &key);
Whenever you find something that might be worth being a
type, and not just an \c unsigned or \c string. Keep it here.
- Start with a resonable \c typedef or \c class draft, so you
+ Start with a reasonable \c typedef or \c class draft, so you
can start using the type within the implementation. If you're
in need for interface methods, add them to the draft. Think about
the interface and expected behaviour, but implement \b here just
as much as you actually need.
Goal is to provide a real class for it, or to find out that a
- typedef is sufficient, ot the type is not needed anyway.
+ typedef is sufficient, or the type is not needed anyway.
If you already implemented something which would fit into this
group, but don't want to move it here, put doxygens
/** Single line of (human readable) text.
- probabely sufficient as typedef. we may use it to classify the
+ probably sufficient as typedef. we may use it to classify the
various strings and string lists within resolvable and other classes.
More a hint to the UI describing the purpose of the string. */
typedef std::string Label;
/** Offer a License text and methods to remember confirmation. */
typedef std::string License;
- /** An rpm package group value. Also provide acces to a
+ /** An rpm package group value. Also provide access to a
* (singleton) tree like group hierarchy which contains
* all existing groups. No more need to fiddle with YStringTreeItem
* classes and forgetting to add parsed groups there for use in the UI.
//
/** Reference to a PoolItem conecting ResObject and ResStatus.
*
- * The "real" PoolItem is usg. somwhere in the ResPool. This is
+ * The "real" PoolItem is usg. somewhere in the ResPool. This is
* a reference to it. All copies made will reference (and modify)
* the same PoolItem. All changes via a PoolItem_Ref are immediately
* visible in all copies (now COW).
/**
* Interface base for resolvable objects (common data).
* That is, all data not needed for solving, but common
- * across al Resolvable kinds.
+ * across all Resolvable kinds.
*/
class ResObject : public Resolvable
{
}
/**
- * total number of packages that will be finaly deleted
+ * total number of packages that will be finally deleted
* (does not count the replaced packages)
**/
unsigned totalToDelete() const
Resolver_Ptr resolver() const;
KeyRing_Ptr keyRing() const;
public:
- /** Set the preferd locale for translated labels, descriptions,
+ /** Set the preferred locale for translated labels, descriptions,
* etc. passed to the UI.
*/
void setTextLocale( const Locale & textLocale_r );
{ _where = where_r; }
/** Return the message string provided to the ctor.
- * \note This is not neccessarily the complete error message.
+ * \note This is not necessarily the complete error message.
* The whole error message is provided by \ref asString or
* \ref dumpOn.
*/
/* http://www.boost.org/libs/functional/mem_fun.html
The header functional.hpp includes improved versions of
- the full range of member function adapters from the the
+ the full range of member function adapters from the
C++ Standard Library.
*/
using boost::mem_fun;
* \ref Cain functor.
*
* \code
- * struct Print; // functor priniting elements
+ * struct Print; // functor printing elements
* struct Count; // functor counting number of elements
*
* std::for_each( c.begin(), c.end(),
//
/** Simple handling of Units.
*
- * Unit strores factor and symbol, and a precision value for printing.
+ * Unit stores factor and symbol, and a precision value for printing.
* \ref form builds a string from a value according to the format
* specification.
* \code
* WatchFile::NO_INIT );
* if ( sysconfigFile.hasChanged() )
* {
- * // releoad the file...
+ * // reload the file...
* }
* \endcode
*/