VTL

View Template Library



Site map

Home
Documentation
Download
Performance
Links

Table of Contents

  1. Usage Tips
  2. Views
    1. Concepts

      1. View Concept
      2. Single Container View Concept
      3. Dual Container View Concept

    2. Single Container Views

      1. Filter View presenting only elements for which a specified predicate is true.
      2. Flagged Filter View presenting only elements for which the corresponding flag in a parallel flag container is true.
      3. Transform View presenting the elements transformed by a specified transformation.
      4. Polymorphic View dereferences the given container's elements thus presenting references to elements when the container contains pointers to them.
      5. Downcast View presenting references to only the elements of a given subclass of a container containing pointers to polymorphic elements.
      6. Unique View presenting only the first of each sequence of equal elements (comparable to UNIX uniq command).
      7. Reverse View presenting the container reversed.
      8. Window View presenting a sliding window into the container.

    3. Single Container Views for Pair Associative Containers.

      1. Map keys presenting the keys of a Pair Associative Container.
      2. Map keys filtered view presenting the filtered keys of a Pair Associative Container.
      3. Map keys transformed view presenting the transformed keys of a Pair Associative Container
      4. Map keys view presenting the filtered and transformed keys of a Pair Associative Container
      5. Map values presenting the values of a Pair Associative Container.
      6. Map values filtered view presenting the filtered values of a Pair Associative Container.
      7. Map values transformed view presenting the transformed values of a Pair Associative Container.
      8. Map values view presenting the filtered and transformed values of a Pair Associative Container.

    4. Dual Container Views

      1. Dual Container Views for unsorted containers.
        1. Zip View presenting pairs (a,b) of corresponding elements a and b of two specified contaieners.
        2. Crossproduct View presenting all possible pairs (a,b) for elements a and b of two specified containers.
        3. Union View presenting two containers concatenated.
        4. Concatenation View presenting a collection of containers concatenated.
        5. Difference View presenting the difference of two containers.
        6. Intersection View presenting the intersection of two containers.
        7. Symmetrical Difference View presenting the symmetrical difference of two containers.
      2. Views acting on sorted containers
        1. Pair Merge View combining pairs of corresponding elements a and b of two specified sorted containers.
        2. Set Union View presenting the sorted union of two sorted containers.
        3. Set Intersection View presenting the sorted intersection of two sorted containers.
        4. Set Difference View presenting the sorted set difference of two sorted containers.
        5. Set Symmetrical Difference View presenting the sorted set symmetrical difference of two sorted containers.

    5. Views working on ranges

      1. Range View constructing a view from a range [first, last).
      2. Rotate View presenting a shifted and wrapped view onto a range [first, last).

  3. Utilities
    1. Tag Classes

      1. Const View Tag denoting a view should be immutable.
      2. Mutable View Tag denoting a view should be mutable.

    2. Traits Classes

      1. deconst_traits removing const specifiers from types
      2. const_traits get const specifiers from types
      3. pointer_traits get pointer specifiers from types
      4. reference_traits get reference specifiers from types
      5. dereference_traits get dereference specifiers from types

    3. Functors

      1. dereference dereferencing it's argument
      2. is_nonzero comparing it's argument with zero

  4. Index
    1. Alphabetical Index

Modified: 18-May-2001

Pageviews: 1009

Copyright © 2000, 2001 by Gary Powell and Konrad-Zuse-Zentrum für Informationstechnik Berlin