/src/harfbuzz/src/OT/Layout/GSUB/ReverseChainSingleSubst.hh
Line | Count | Source |
1 | | #ifndef OT_LAYOUT_GSUB_REVERSECHAINSINGLESUBST_HH |
2 | | #define OT_LAYOUT_GSUB_REVERSECHAINSINGLESUBST_HH |
3 | | |
4 | | #include "Common.hh" |
5 | | #include "ReverseChainSingleSubstFormat1.hh" |
6 | | |
7 | | namespace OT { |
8 | | namespace Layout { |
9 | | namespace GSUB_impl { |
10 | | |
11 | | struct ReverseChainSingleSubst |
12 | | { |
13 | | protected: |
14 | | union { |
15 | | struct { HBUINT16 v; } format; /* Format identifier */ |
16 | | ReverseChainSingleSubstFormat1 format1; |
17 | | } u; |
18 | | |
19 | | public: |
20 | | template <typename context_t, typename ...Ts> |
21 | | typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const |
22 | 0 | { |
23 | 0 | if (unlikely (!c->may_dispatch (this, &u.format.v))) return c->no_dispatch_return_value (); |
24 | 0 | TRACE_DISPATCH (this, u.format.v); |
25 | 0 | switch (u.format.v) { |
26 | 0 | case 1: return_trace (c->dispatch (u.format1, std::forward<Ts> (ds)...)); |
27 | 0 | default:return_trace (c->default_return_value ()); |
28 | 0 | } |
29 | 0 | } Unexecuted instantiation: OT::hb_intersects_context_t::return_t OT::Layout::GSUB_impl::ReverseChainSingleSubst::dispatch<OT::hb_intersects_context_t>(OT::hb_intersects_context_t*) const Unexecuted instantiation: hb_sanitize_context_t::return_t OT::Layout::GSUB_impl::ReverseChainSingleSubst::dispatch<hb_sanitize_context_t>(hb_sanitize_context_t*) const Unexecuted instantiation: OT::hb_have_non_1to1_context_t::return_t OT::Layout::GSUB_impl::ReverseChainSingleSubst::dispatch<OT::hb_have_non_1to1_context_t>(OT::hb_have_non_1to1_context_t*) const Unexecuted instantiation: OT::hb_ot_apply_context_t::return_t OT::Layout::GSUB_impl::ReverseChainSingleSubst::dispatch<OT::hb_ot_apply_context_t>(OT::hb_ot_apply_context_t*) const Unexecuted instantiation: OT::hb_closure_context_t::return_t OT::Layout::GSUB_impl::ReverseChainSingleSubst::dispatch<OT::hb_closure_context_t>(OT::hb_closure_context_t*) const Unexecuted instantiation: OT::hb_closure_lookups_context_t::return_t OT::Layout::GSUB_impl::ReverseChainSingleSubst::dispatch<OT::hb_closure_lookups_context_t>(OT::hb_closure_lookups_context_t*) const Unexecuted instantiation: OT::hb_collect_glyphs_context_t::return_t OT::Layout::GSUB_impl::ReverseChainSingleSubst::dispatch<OT::hb_collect_glyphs_context_t>(OT::hb_collect_glyphs_context_t*) const Unexecuted instantiation: OT::hb_would_apply_context_t::return_t OT::Layout::GSUB_impl::ReverseChainSingleSubst::dispatch<OT::hb_would_apply_context_t>(OT::hb_would_apply_context_t*) const Unexecuted instantiation: hb_subset_context_t::return_t OT::Layout::GSUB_impl::ReverseChainSingleSubst::dispatch<hb_subset_context_t>(hb_subset_context_t*) const Unexecuted instantiation: OT::hb_accelerate_subtables_context_t::return_t OT::Layout::GSUB_impl::ReverseChainSingleSubst::dispatch<OT::hb_accelerate_subtables_context_t>(OT::hb_accelerate_subtables_context_t*) const Unexecuted instantiation: hb_get_glyph_alternates_dispatch_t::return_t OT::Layout::GSUB_impl::ReverseChainSingleSubst::dispatch<hb_get_glyph_alternates_dispatch_t, unsigned int&, unsigned int&, unsigned int*&, unsigned int*&>(hb_get_glyph_alternates_dispatch_t*, unsigned int&, unsigned int&, unsigned int*&, unsigned int*&) const Unexecuted instantiation: hb_collect_glyph_alternates_dispatch_t::return_t OT::Layout::GSUB_impl::ReverseChainSingleSubst::dispatch<hb_collect_glyph_alternates_dispatch_t, hb_map_t*&, hb_map_t*&>(hb_collect_glyph_alternates_dispatch_t*, hb_map_t*&, hb_map_t*&) const |
30 | | }; |
31 | | |
32 | | } |
33 | | } |
34 | | } |
35 | | |
36 | | #endif /* HB_OT_LAYOUT_GSUB_REVERSECHAINSINGLESUBST_HH */ |