CppUnit project page CppUnit home page

CppTL::Enum Namespace Reference


Functions

template<class ForwardItType>
ForwardItEnumerator
< ForwardItType > 
range (ForwardItType begin, ForwardItType end)
template<class ForwardItType, class ValueType>
ForwardItEnumerator
< ForwardItType, typename
ValueType::type > 
range (ForwardItType begin, ForwardItType end, ValueType)
template<class ForwardItType, class Adaptor>
TransformForwardItEnumerator
< ForwardItType, Adaptor > 
rangeTransform (ForwardItType begin, ForwardItType end, Adaptor adaptor)
template<class ContainerType>
ContainerEnumerator
< ContainerType > 
container (const ContainerType &enumeratedContainer)
template<class ContainerType, class ValueType>
ContainerEnumerator
< ContainerType, typename
ValueType::type > 
container (const ContainerType &enumeratedContainer, ValueType)
template<class ForwardItType>
MapKeysEnumerator< ForwardItType > keysRange (ForwardItType begin, ForwardItType end)
template<class ForwardItType, class ValueType>
MapKeysEnumerator
< ForwardItType, typename
ValueType::type > 
keysRange (ForwardItType begin, ForwardItType end, ValueType)
template<class ContainerType>
MapKeysEnumerator< typename
ContainerType::const_iterator,
typename RemoveConst< typename
ContainerType::value_type::first_type >
::type > 
keys (const ContainerType &container)
template<class ContainerType, class ValueType>
MapKeysEnumerator< typename
ContainerType::const_iterator,
typename ValueType::type > 
keys (const ContainerType &container, ValueType)
template<class ContainerType>
MapValuesEnumerator< typename
ContainerType::const_iterator,
typename RemoveConst< typename
ContainerType::value_type::second_type >
::type > 
values (const ContainerType &container)
template<class ContainerType, class ValueType>
MapValuesEnumerator< typename
ContainerType::const_iterator,
typename ValueType::type > 
values (const ContainerType &container, ValueType)
template<class ForwardItType>
MapValuesEnumerator
< ForwardItType > 
valuesRange (ForwardItType begin, ForwardItType end)
template<class ForwardItType, class ValueType>
MapValuesEnumerator
< ForwardItType, typename
ValueType::type > 
valuesRange (ForwardItType begin, ForwardItType end, ValueType)
template<class EnumeratorType>
AnyEnumerator< typename
EnumeratorType::value_type > 
any (const EnumeratorType &enumerator)
template<class EnumeratorType, class Adaptor>
TransformEnumerator< Adaptor,
EnumeratorType > 
transform (const EnumeratorType &enumerator, Adaptor adaptor)
template<class EnumeratorType>
TransformEnumerator
< AddressOfAdaptor< typename
EnumeratorType::value_type >
, EnumeratorType > 
addressOfTransform (const EnumeratorType &enumerator)
template<class EnumeratorType, class Predicate>
FilterEnumerator
< EnumeratorType, Predicate > 
filter (const EnumeratorType &enumerator, Predicate predicate)
template<class EnumeratorType>
SliceEnumerator< EnumeratorType > slice (const EnumeratorType &enumerator, unsigned int beginIndex, unsigned int endIndex=-1)
template<class ThinEnumeratorType>
SugarEnumerator
< ThinEnumeratorType > 
sugar (const ThinEnumeratorType &e)
 Implements full Enumerator interface for an enumerator providing only is_open(), current() and advance().
template<class ForwardItType>
AnyEnumerator< typename
RemoveConst< typename
ForwardItType::value_type >
::type > 
anyRange (ForwardItType begin, ForwardItType end)
template<class ForwardItType, class ValueType>
AnyEnumerator< typename
ValueType::type > 
anyRange (ForwardItType begin, ForwardItType end, ValueType type)
template<class ForwardItType, class Adaptor>
AnyEnumerator< typename
Adaptor::result_type > 
anyRangeTransform (ForwardItType begin, ForwardItType end, Adaptor adaptor)
template<class ContainerType>
AnyEnumerator< typename
RemoveConst< typename
ContainerType::value_type >
::type > 
anyContainer (const ContainerType &enumeratedContainer)
template<class ContainerType, class ValueType>
AnyEnumerator< typename
ValueType::type > 
anyContainer (const ContainerType &enumeratedContainer, ValueType type)
template<class ForwardItType>
AnyEnumerator< typename
RemoveConst< typename
ForwardItType::value_type::first_type >
::type > 
anyKeysRange (ForwardItType begin, ForwardItType end)
template<class ForwardItType, class ValueType>
AnyEnumerator< typename
ValueType::type > 
anyKeysRange (ForwardItType begin, ForwardItType end, ValueType type)
template<class ContainerType, class ValueType>
AnyEnumerator< typename
ValueType::type > 
anyKeys (const ContainerType &container, ValueType type)
template<class ContainerType>
AnyEnumerator< typename
RemoveConst< typename
ContainerType::value_type::first_type >
::type > 
anyKeys (const ContainerType &container)
template<class ForwardItType>
AnyEnumerator< typename
RemoveConst< typename
ForwardItType::value_type::second_type >
::type > 
anyValuesRange (ForwardItType begin, ForwardItType end)
template<class ForwardItType, class ValueType>
AnyEnumerator< typename
ValueType::type > 
anyValuesRange (ForwardItType begin, ForwardItType end, ValueType type)
template<class ContainerType>
AnyEnumerator< typename
RemoveConst< typename
ContainerType::value_type::second_type >
::type > 
anyValues (const ContainerType &container)
template<class ContainerType, class ValueType>
AnyEnumerator< typename
ValueType::type > 
anyValues (const ContainerType &container, ValueType type)
template<class EnumeratorType, class Adaptor>
AnyEnumerator< typename
Adaptor::result_type > 
anyTransform (const EnumeratorType &enumerator, Adaptor adaptor)
template<class EnumeratorType>
AnyEnumerator< typename
EnumeratorType::value_type * > 
anyAddressOfTransform (const EnumeratorType &enumerator)
template<class EnumeratorType, class Predicate>
AnyEnumerator< typename
EnumeratorType::value_type > 
anyFilter (const EnumeratorType &enumerator, Predicate predicate)
template<class EnumeratorType>
AnyEnumerator< typename
EnumeratorType::value_type > 
anySlice (const EnumeratorType &enumerator, unsigned int beginIndex, unsigned int endIndex=-1)
template<class ThinEnumeratorType>
AnyEnumerator< typename
ThinEnumeratorType::value_type > 
anySugar (const ThinEnumeratorType &e)


Function Documentation

template<class EnumeratorType>
TransformEnumerator< AddressOfAdaptor< typename EnumeratorType::value_type>, EnumeratorType > CppTL::Enum::addressOfTransform ( const EnumeratorType &  enumerator  )  [inline]

Referenced by anyAddressOfTransform().

template<class EnumeratorType>
AnyEnumerator< typename EnumeratorType::value_type> CppTL::Enum::any ( const EnumeratorType &  enumerator  )  [inline]

template<class EnumeratorType>
AnyEnumerator< typename EnumeratorType::value_type *> CppTL::Enum::anyAddressOfTransform ( const EnumeratorType &  enumerator  )  [inline]

References addressOfTransform(), and any().

template<class ContainerType, class ValueType>
AnyEnumerator< typename ValueType::type> CppTL::Enum::anyContainer ( const ContainerType &  enumeratedContainer,
ValueType  type 
) [inline]

References any(), and container().

Referenced by CppTL::Method::getArgTypes().

template<class ContainerType>
AnyEnumerator< typename RemoveConst< typename ContainerType::value_type>::type> CppTL::Enum::anyContainer ( const ContainerType &  enumeratedContainer  )  [inline]

References any(), and container().

template<class EnumeratorType, class Predicate>
AnyEnumerator< typename EnumeratorType::value_type> CppTL::Enum::anyFilter ( const EnumeratorType &  enumerator,
Predicate  predicate 
) [inline]

References any(), and filter().

template<class ContainerType>
AnyEnumerator< typename RemoveConst< typename ContainerType::value_type::first_type>::type> CppTL::Enum::anyKeys ( const ContainerType &  container  )  [inline]

References any(), and keys().

template<class ContainerType, class ValueType>
AnyEnumerator< typename ValueType::type> CppTL::Enum::anyKeys ( const ContainerType &  container,
ValueType  type 
) [inline]

References any(), and keys().

template<class ForwardItType, class ValueType>
AnyEnumerator< typename ValueType::type> CppTL::Enum::anyKeysRange ( ForwardItType  begin,
ForwardItType  end,
ValueType  type 
) [inline]

References any(), and keysRange().

template<class ForwardItType>
AnyEnumerator< typename RemoveConst< typename ForwardItType::value_type::first_type>::type> CppTL::Enum::anyKeysRange ( ForwardItType  begin,
ForwardItType  end 
) [inline]

References any(), and keysRange().

template<class ForwardItType, class ValueType>
AnyEnumerator< typename ValueType::type> CppTL::Enum::anyRange ( ForwardItType  begin,
ForwardItType  end,
ValueType  type 
) [inline]

References any(), and range().

template<class ForwardItType>
AnyEnumerator< typename RemoveConst< typename ForwardItType::value_type>::type> CppTL::Enum::anyRange ( ForwardItType  begin,
ForwardItType  end 
) [inline]

References any(), and range().

template<class ForwardItType, class Adaptor>
AnyEnumerator< typename Adaptor::result_type> CppTL::Enum::anyRangeTransform ( ForwardItType  begin,
ForwardItType  end,
Adaptor  adaptor 
) [inline]

References any(), and rangeTransform().

template<class EnumeratorType>
AnyEnumerator< typename EnumeratorType::value_type> CppTL::Enum::anySlice ( const EnumeratorType &  enumerator,
unsigned int  beginIndex,
unsigned int  endIndex = -1 
) [inline]

References any(), and slice().

template<class ThinEnumeratorType>
AnyEnumerator< typename ThinEnumeratorType::value_type> CppTL::Enum::anySugar ( const ThinEnumeratorType &  e  )  [inline]

References any(), and sugar().

template<class EnumeratorType, class Adaptor>
AnyEnumerator< typename Adaptor::result_type> CppTL::Enum::anyTransform ( const EnumeratorType &  enumerator,
Adaptor  adaptor 
) [inline]

References any(), and transform().

template<class ContainerType, class ValueType>
AnyEnumerator< typename ValueType::type> CppTL::Enum::anyValues ( const ContainerType &  container,
ValueType  type 
) [inline]

References any(), and values().

template<class ContainerType>
AnyEnumerator< typename RemoveConst< typename ContainerType::value_type::second_type>::type> CppTL::Enum::anyValues ( const ContainerType &  container  )  [inline]

References any(), and values().

template<class ForwardItType, class ValueType>
AnyEnumerator< typename ValueType::type> CppTL::Enum::anyValuesRange ( ForwardItType  begin,
ForwardItType  end,
ValueType  type 
) [inline]

References any(), and valuesRange().

template<class ForwardItType>
AnyEnumerator< typename RemoveConst< typename ForwardItType::value_type::second_type>::type> CppTL::Enum::anyValuesRange ( ForwardItType  begin,
ForwardItType  end 
) [inline]

References any(), and valuesRange().

template<class ContainerType, class ValueType>
ContainerEnumerator<ContainerType, typename ValueType::type> CppTL::Enum::container ( const ContainerType &  enumeratedContainer,
ValueType   
) [inline]

template<class ContainerType>
ContainerEnumerator<ContainerType> CppTL::Enum::container ( const ContainerType &  enumeratedContainer  )  [inline]

template<class EnumeratorType, class Predicate>
FilterEnumerator<EnumeratorType,Predicate> CppTL::Enum::filter ( const EnumeratorType &  enumerator,
Predicate  predicate 
) [inline]

Referenced by anyFilter().

template<class ContainerType, class ValueType>
MapKeysEnumerator< typename ContainerType::const_iterator , typename ValueType::type > CppTL::Enum::keys ( const ContainerType &  container,
ValueType   
) [inline]

References keysRange().

template<class ContainerType>
MapKeysEnumerator< typename ContainerType::const_iterator , typename RemoveConst< typename ContainerType::value_type::first_type>::type > CppTL::Enum::keys ( const ContainerType &  container  )  [inline]

References keysRange().

Referenced by anyKeys().

template<class ForwardItType, class ValueType>
MapKeysEnumerator<ForwardItType, typename ValueType::type> CppTL::Enum::keysRange ( ForwardItType  begin,
ForwardItType  end,
ValueType   
) [inline]

template<class ForwardItType>
MapKeysEnumerator<ForwardItType> CppTL::Enum::keysRange ( ForwardItType  begin,
ForwardItType  end 
) [inline]

Referenced by anyKeysRange(), and keys().

template<class ForwardItType, class ValueType>
ForwardItEnumerator<ForwardItType, typename ValueType::type> CppTL::Enum::range ( ForwardItType  begin,
ForwardItType  end,
ValueType   
) [inline]

template<class ForwardItType>
ForwardItEnumerator<ForwardItType> CppTL::Enum::range ( ForwardItType  begin,
ForwardItType  end 
) [inline]

Referenced by anyRange().

template<class ForwardItType, class Adaptor>
TransformForwardItEnumerator<ForwardItType,Adaptor> CppTL::Enum::rangeTransform ( ForwardItType  begin,
ForwardItType  end,
Adaptor  adaptor 
) [inline]

Referenced by anyRangeTransform().

template<class EnumeratorType>
SliceEnumerator<EnumeratorType> CppTL::Enum::slice ( const EnumeratorType &  enumerator,
unsigned int  beginIndex,
unsigned int  endIndex = -1 
) [inline]

template<class ThinEnumeratorType>
SugarEnumerator<ThinEnumeratorType> CppTL::Enum::sugar ( const ThinEnumeratorType &  e  )  [inline]

Implements full Enumerator interface for an enumerator providing only is_open(), current() and advance().

Referenced by anySugar().

template<class EnumeratorType, class Adaptor>
TransformEnumerator<Adaptor, EnumeratorType> CppTL::Enum::transform ( const EnumeratorType &  enumerator,
Adaptor  adaptor 
) [inline]

Referenced by anyTransform().

template<class ContainerType, class ValueType>
MapValuesEnumerator< typename ContainerType::const_iterator , typename ValueType::type > CppTL::Enum::values ( const ContainerType &  container,
ValueType   
) [inline]

References CPPTL_TYPENAME.

template<class ContainerType>
MapValuesEnumerator< typename ContainerType::const_iterator , typename RemoveConst< typename ContainerType::value_type::second_type>::type > CppTL::Enum::values ( const ContainerType &  container  )  [inline]

Referenced by anyValues().

template<class ForwardItType, class ValueType>
MapValuesEnumerator< ForwardItType, typename ValueType::type > CppTL::Enum::valuesRange ( ForwardItType  begin,
ForwardItType  end,
ValueType   
) [inline]

template<class ForwardItType>
MapValuesEnumerator<ForwardItType> CppTL::Enum::valuesRange ( ForwardItType  begin,
ForwardItType  end 
) [inline]

Referenced by anyValuesRange().


SourceForge Logo hosts this site. Send comments to:
CppUnit Developers