Imported Upstream version 16.3.2
[platform/upstream/libzypp.git] / zypp / base / ValueTransform.h
index 13543ba..d49142b 100644 (file)
@@ -22,20 +22,20 @@ namespace zypp
   namespace base
   {
     ///////////////////////////////////////////////////////////////////
-    /// \class ValueTransform<_Tp,_UnaryFunction>
+    /// \class ValueTransform
     /// \brief Helper managing raw values with transformed representation
     ///
-    /// This helper enforces to explicitly state wheter you are using
+    /// This helper enforces to explicitly state whether you are using
     /// the raw or the variable replaced value. Usually you set \c raw
-    /// and get \c transformed (uness writing \c raw to some config file).
+    /// and get \c transformed (unless writing \c raw to some config file).
     ///
     /// Used e.g. vor variable replaced config strings.
     ///////////////////////////////////////////////////////////////////
-    template<class _Tp, class _UnaryFunction>
+    template<class Tp, class TUnaryFunction>
     struct ValueTransform
     {
-      typedef _Tp RawType;
-      typedef _UnaryFunction Transformator;
+      typedef Tp RawType;
+      typedef TUnaryFunction Transformator;
       typedef typename Transformator::result_type TransformedType;
 
     public:
@@ -78,7 +78,7 @@ namespace zypp
     };
 
     ///////////////////////////////////////////////////////////////////
-    /// \class ContainerTransform<_Container,_UnaryFunction>
+    /// \class ContainerTransform
     /// \brief Helper managing a container of raw values with transformed representation
     ///
     /// This helper enforces to explicitly state wheter you are using
@@ -87,11 +87,11 @@ namespace zypp
     ///
     /// Offers iterating over transformed strings in the list.
     ///////////////////////////////////////////////////////////////////
-    template<class _Container, class _UnaryFunction>
+    template<class TContainer, class TUnaryFunction>
     struct ContainerTransform
     {
-      typedef _Container Container;
-      typedef _UnaryFunction Transformator;
+      typedef TContainer Container;
+      typedef TUnaryFunction Transformator;
       typedef typename Container::size_type size_type;
       typedef typename Container::value_type RawType;
       typedef typename Transformator::result_type TransformedType;