source: icGREP/icgrep-devel/icgrep/kernels/UCD_property_kernel.h @ 5902

Last change on this file since 5902 was 5887, checked in by cameron, 18 months ago

Separate compilation of Unicode property kernels

File size: 735 bytes
Line 
1/*
2 *  Copyright (c) 2018 International Characters.
3 *  This software is licensed to the public under the Open Software License 3.0.
4 */
5#ifndef UCD_PROPERTY_KERNEL_H
6#define UCD_PROPERTY_KERNEL_H
7
8#include <pablo/pablo_kernel.h>  // for PabloKernel
9
10namespace re { class Name; }
11
12namespace kernel {
13   
14class UnicodePropertyKernelBuilder : public pablo::PabloKernel {
15public:
16    UnicodePropertyKernelBuilder(const std::unique_ptr<kernel::KernelBuilder> & kb,
17                                 re::Name * property_value_name);
18    bool isCachable() const override { return true; }
19    bool hasSignature() const override { return false; }
20protected:
21    void generatePabloMethod() override;
22private:
23    re::Name * mName;
24};
25
26}
27#endif
Note: See TracBrowser for help on using the repository browser.