Libsaki
Core library of Pancake Mahjong
parsed_view.h
1 #ifndef SAKI_PARSED_VIEW_H
2 #define SAKI_PARSED_VIEW_H
3 
4 #include "parsed.h"
5 
6 
7 
8 namespace saki
9 {
10 
11 
12 
14 {
15 public:
16  explicit ParsedView4Ready(const Parsed4 &parsed);
17 
18  const Parsed4 &getParsed() const;
19 
21  util::Stactor<T34, 2> get1s() const;
23 
24 private:
25  const Parsed4 &mParsed;
26 };
27 
29 {
30 public:
31  explicit ParsedView4Step1(const Parsed4 &parsed);
32  util::Stactor<T34, 2> getFrees() const;
33 
34 private:
35  const Parsed4 &mParsed;
36 };
37 
38 
39 
40 } // namespace saki
41 
42 
43 
44 #endif // SAKI_PARSED_VIEW_H
Definition: parsed.h:16
Definition: parsed_view.h:28
Definition: parsed_view.h:13
Definition: ai.cpp:18
util::Stactor< T34, 2 > getIsoriders() const
Get the possible isorider of this waiting hand.
Definition: parsed_view.cpp:26
Stactor = statically allocated vector.
Definition: stactor.h:247
util::Stactor< C34, 2 > get2s() const
Get 2-tile comelds in this parse result.
Definition: parsed_view.cpp:53