Lines Matching refs:std

20 std::ostream &operator<<(std::ostream &os, const UiStrategyCfg &info)
22 os << "confirmPageId: " << info.confirmPageId << std::endl;
23 os << "labelLogId: { " << info.labelLogId << " }" << std::endl;
24 os << "labelLogResId: { " << info.labelLogResId << " }" << std::endl;
25 os << "labelUpdId: { " << info.labelUpdId << " }" << std::endl;
26 os << info.progressPage << std::endl;
31 std::ostream &operator<<(std::ostream &os, const ResPage &info)
33 os << "resPage: {" << std::endl;
34 os << "\tsucessPageId: " << info.successPageId << std::endl;
35 os << "\tfailPageId: " << info.failPageId << std::endl;
36 os << "}" << std::endl;
40 std::ostream &operator<<(std::ostream &os, const ProgressPage &info)
42 os << "progressPage: {" << std::endl;
43 os << "\tprocessPageId: " << info.progressPageId << std::endl;
44 os << "\tprgrsComId: " << info.progressComId << std::endl;
45 os << "\tprgrsType: " << info.progressType << std::endl;
46 os << "\tlogoComId: " << info.logoComId << std::endl;
47 os << "\tlogoType: " << info.logoType << std::endl;
52 std::unordered_map<std::string, UiStrategyCfg> UiStrategy::strategies_;
53 std::vector<std::string> UiStrategy::modeStr_ = {
62 void UiStrategy::RegisterUiMode(const std::string &mode)
68 const std::unordered_map<std::string, UiStrategyCfg> &UiStrategy::GetStrategy()
73 bool UiStrategy::LoadStrategy(const JsonNode &node, const std::string &mode)
75 auto it = std::find(modeStr_.begin(), modeStr_.end(), mode);
91 std::unordered_map<std::string, UiStrategyCfg>().swap(strategies_);
95 std::unordered_map<std::string, UiStrategyCfg>().swap(strategies_);