XJ music engine  1.9.6
In-game runtime engine for XJ music.
MemeConstellation.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_CONSTELLATION_H
4 #define XJ_MUSIC_ENTITIES_MEME_CONSTELLATION_H
5 
6 #include <algorithm>
7 #include <iterator>
8 #include <map>
9 #include <ostream>
10 #include <set>
11 #include <sstream>
12 #include <string>
13 #include <unordered_map>
14 #include <variant>
15 #include <vector>
16 
17 namespace XJ {
18 
26  public:
27  static const std::string CONSTELLATION_DELIMITER;
28 
29  static std::string fromNames(const std::set<std::string> &names);
30 
31  static std::set<std::string> toNames(const std::string& constellation);
32 
33  private:
34  static std::string join(const std::string &delimiter, const std::set<std::string> &pieces);
35 
36  static std::set<std::string> split(const std::string &str, const std::string &delimiter);
37  };
38 }
39 
40 #endif//XJ_MUSIC_ENTITIES_MEME_CONSTELLATION_H
Definition: MemeConstellation.h:25
static std::set< std::string > toNames(const std::string &constellation)
Definition: MemeConstellation.cpp:15
static std::string fromNames(const std::set< std::string > &names)
Definition: MemeConstellation.cpp:7
static const std::string CONSTELLATION_DELIMITER
Definition: MemeConstellation.h:27
Definition: ActiveAudio.h:11