5 #include <boost/optional.hpp> 6 #include <magic_enum.hpp> 8 #include <QJsonDocument> 21 template <
class InnerClass>
22 boost::optional<InnerClass>
toInner();
25 template <
class InnerClass>
28 return InnerClass{this->
data};
31 static boost::optional<SeventvEventAPIMessage> parseSeventvEventAPIBaseMessage(
34 QJsonDocument jsonDoc(QJsonDocument::fromJson(blob.toUtf8()));
SeventvEventAPIOpcode op
Definition: SeventvEventAPIMessage.hpp:17
QJsonObject data
Definition: SeventvEventAPIMessage.hpp:15
Definition: SeventvEventAPIMessage.hpp:14
Definition: Application.cpp:48
SeventvEventAPIMessage(QJsonObject _json)
Definition: SeventvEventAPIMessage.cpp:5
SeventvEventAPIOpcode
Definition: SeventvEventAPISubscription.hpp:20
boost::optional< InnerClass > toInner()
Definition: SeventvEventAPIMessage.hpp:26