dlib C++ Library - lzp_buffer.h

    // Copyright (C) 2005  Davis E. King (davis@dlib.net)
    // License: Boost Software License   See LICENSE.txt for the full license.
    #ifndef DLIB_LZP_BUFFEr_
    #define DLIB_LZP_BUFFEr_

    #include "lzp_buffer/lzp_buffer_kernel_1.h"
    #include "lzp_buffer/lzp_buffer_kernel_2.h"
    #include "lzp_buffer/lzp_buffer_kernel_c.h"

    #include "sliding_buffer.h"

    namespace dlib
    {

        class lzp_buffer
        {

            lzp_buffer() {}

            typedef sliding_buffer<unsigned char>::kernel_1a sb1;

        public:

            //----------- kernels ---------------

            // kernel_1a
            typedef     lzp_buffer_kernel_1<sb1>
                        kernel_1a;
            typedef     lzp_buffer_kernel_c<kernel_1a>
                        kernel_1a_c;

            // kernel_2a
            typedef     lzp_buffer_kernel_2<sb1>
                        kernel_2a;
            typedef     lzp_buffer_kernel_c<kernel_2a>
                        kernel_2a_c;

        };
    }

    #endif // DLIB_LZP_BUFFEr_