XJ music engine  1.9.6
In-game runtime engine for XJ music.
ParseStrong.h
Go to the documentation of this file.
1 // Copyright (c) XJ Music Inc. (https://xjmusic.com) All Rights Reserved.
2 
3 #ifndef XJ_MUSIC_ENTITIES_MEME_PARSE_STRONG_H
4 #define XJ_MUSIC_ENTITIES_MEME_PARSE_STRONG_H
5 
6 #include <regex>
7 #include <vector>
8 #include <string>
9 
10 namespace XJ {
11 
19  class ParseStrong {
20  public:
21  static const std::regex rgx;
22  std::string body;
23  bool valid;
24  explicit ParseStrong(const std::string &raw);
25  static ParseStrong fromString(const std::string &raw);
26  bool isAllowed(const std::vector<ParseStrong> &memes) const;
27  };
28 
29 }
30 
31 #endif//XJ_MUSIC_ENTITIES_MEME_PARSE_STRONG_H
Definition: ParseStrong.h:19
std::string body
Definition: ParseStrong.h:22
bool isAllowed(const std::vector< ParseStrong > &memes) const
Definition: ParseStrong.cpp:30
static const std::regex rgx
Definition: ParseStrong.h:21
static ParseStrong fromString(const std::string &raw)
Definition: ParseStrong.cpp:26
ParseStrong(const std::string &raw)
Definition: ParseStrong.cpp:7
bool valid
Definition: ParseStrong.h:23
Definition: ActiveAudio.h:11