added argument_type and result_type to functors (patch by Volker Grabsch)
authorUllrich Koethe <ullrich.koethe@iwr.uni-heidelberg.de>
Tue May 04 22:26:04 2010 +0200 (21 months ago)
changeset 25376c8eb0e5517a
parent 2536 b71f98b0851a
child 2538 283a35c0fb24
added argument_type and result_type to functors (patch by Volker Grabsch)
include/vigra/colorconversions.hxx
     1.1 --- a/include/vigra/colorconversions.hxx	Sun May 02 13:58:13 2010 +0200
     1.2 +++ b/include/vigra/colorconversions.hxx	Tue May 04 22:26:04 2010 +0200
     1.3 @@ -329,6 +329,10 @@
     1.4          
     1.5    public:
     1.6    
     1.7 +    typedef TinyVector<unsigned char, 3> argument_type;
     1.8 +    
     1.9 +    typedef TinyVector<unsigned char, 3> result_type;
    1.10 +    
    1.11      typedef TinyVector<unsigned char, 3> value_type;
    1.12      
    1.13      RGB2RGBPrimeFunctor()
    1.14 @@ -443,6 +447,10 @@
    1.15          
    1.16    public:
    1.17    
    1.18 +    typedef TinyVector<unsigned char, 3> argument_type;
    1.19 +    
    1.20 +    typedef TinyVector<unsigned char, 3> result_type;
    1.21 +    
    1.22      typedef TinyVector<unsigned char, 3> value_type;
    1.23      
    1.24      RGB2sRGBFunctor()
    1.25 @@ -554,6 +562,10 @@
    1.26          
    1.27    public:
    1.28    
    1.29 +    typedef TinyVector<unsigned char, 3> argument_type;
    1.30 +    
    1.31 +    typedef TinyVector<unsigned char, 3> result_type;
    1.32 +    
    1.33      typedef TinyVector<unsigned char, 3> value_type;
    1.34      
    1.35      RGBPrime2RGBFunctor()
    1.36 @@ -667,6 +679,10 @@
    1.37          
    1.38    public:
    1.39    
    1.40 +    typedef TinyVector<unsigned char, 3> argument_type;
    1.41 +    
    1.42 +    typedef TinyVector<unsigned char, 3> result_type;
    1.43 +    
    1.44      typedef TinyVector<unsigned char, 3> value_type;
    1.45      
    1.46      sRGB2RGBFunctor()