proj home

Files   Classes   Functions   Hierarchy  

policyselector.h

Go to the documentation of this file.
00001 #ifndef POLICYSELECTOR_H
00002 #define POLICYSELECTOR_H
00003 
00004 #include <policydefault.h>
00005 
00012 template < typename T=policydefault >
00013 class policyselector : public T
00014 {
00015 public:
00016 
00018   typename T::P1 p1;
00020   typename T::P2 p2;
00022   typename T::P3 p3;
00023 };
00024 
00028 template< typename P, typename PI=policydefault >
00029 class policyov1 : public PI
00030 {
00031 public:
00032   typedef P P1;
00033 };
00034 
00038 template< typename P, typename PI=policydefault >
00039 class policyov2 : public PI
00040 {
00041 public:
00042   typedef P P2;
00043 };
00044 
00048 template< typename P, typename PI=policydefault >
00049 class policyov3 : public PI
00050 {
00051 public:
00052   typedef P P3;
00053 };
00054 
00055 
00056 #endif
00057 
00058 

Generated on Fri Mar 4 00:49:30 2011 for Chelton Evans Source by  doxygen 1.5.8