~verifydtapn-contributers/verifydtapn/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* 
 * File:   visitor.h
 * Author: Peter G. Jensen
 *
 * Created on 16 June 2015, 23:15
 */

#ifndef VISITOR_H
#define	VISITOR_H

#include <stdint.h>

namespace ptrie
{
    template<typename T>
    class ptriepointer_t;
    
    template<typename T>
    class visitor_t
    {
    public:
        virtual bool back(int index) = 0;
        virtual bool set(int index, bool value) = 0;
        virtual bool set_remainder(int index, ptriepointer_t<T> pointer) = 0;
    };
}


#endif	/* VISITOR_H */