Container::PrivateGenericImplementation::SearchPolicyInterface< T > Struct Template Reference

#include <Container.hpp>

List of all members.


Detailed Description

template<typename T>
struct Container::PrivateGenericImplementation::SearchPolicyInterface< T >

The Search policy interface for ChainedList.


Public Types

enum  { DefaultConstructibleAndCopyable }
 The policy must provide this enum, set to true or false. More...
typedef T & Result

Static Public Member Functions

static bool Compare (const T &a, const T &b)
 Compare an item with a given item.
static Result DefaultValue ()
 Returns the default value when not found.
static Result From (T *x)
 Convert the type to the required type for comparing.


Member Typedef Documentation

template<typename T>
typedef T& Container::PrivateGenericImplementation::SearchPolicyInterface< T >::Result


Member Enumeration Documentation

template<typename T>
anonymous enum

The policy must provide this enum, set to true or false.

Enumerator:
DefaultConstructibleAndCopyable 


Member Function Documentation

template<typename T>
static bool Container::PrivateGenericImplementation::SearchPolicyInterface< T >::Compare ( const T &  a,
const T &  b 
) [static]

Compare an item with a given item.

template<typename T>
static Result Container::PrivateGenericImplementation::SearchPolicyInterface< T >::DefaultValue (  )  [static]

Returns the default value when not found.

template<typename T>
static Result Container::PrivateGenericImplementation::SearchPolicyInterface< T >::From ( T *  x  )  [static]

Convert the type to the required type for comparing.


The documentation for this struct was generated from the following file:

(C) An X-Ryl669 project 2007

This document describes Unlimited Zooming Interface source code. UZI stands for Unlimited Zooming Interface, and source code license is