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:
};
///////////////////////////////////////////////////////////////////
- /// \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
///
/// 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;