Switch to unified view

a/src/rcldb/synfamily.h b/src/rcldb/synfamily.h
...
...
37
37
38
#include <xapian.h>
38
#include <xapian.h>
39
39
40
#include "debuglog.h"
40
#include "debuglog.h"
41
#include "xmacros.h"
41
#include "xmacros.h"
42
#include "strmatcher.h"
42
43
43
namespace Rcl {
44
namespace Rcl {
44
45
45
class XapSynFamily  {
46
class XapSynFamily  {
46
public:
47
public:
...
...
139
     * expansion when only either case or diac expansion is desired.
140
     * expansion when only either case or diac expansion is desired.
140
     */
141
     */
141
    bool synExpand(const std::string& term, std::vector<std::string>& result,
142
    bool synExpand(const std::string& term, std::vector<std::string>& result,
142
           SynTermTrans *filtertrans = 0);
143
           SynTermTrans *filtertrans = 0);
143
    
144
    
144
    /** Expand key to wildcard/regexp  matching keys */
145
    /** Same with also wildcard/regexp expansion of entry against the keys.
146
     * The input matcher will be modified to fit our key format. */
145
    bool keyWildExpand(const std::string& in, std::vector<std::string>& result,
147
    bool synKeyExpand(StrMatcher* in, std::vector<std::string>& result,
146
               SynTermTrans *filtertrans = 0);
148
              SynTermTrans *filtertrans = 0);
147
149
148
private:
150
private:
149
    XapSynFamily m_family;
151
    XapSynFamily m_family;
150
    std::string  m_membername;
152
    std::string  m_membername;
151
    SynTermTrans *m_trans;
153
    SynTermTrans *m_trans;