TT Client Library 1.0.0
C++ library for Tandem Tales clients.
Loading...
Searching...
No Matches
Entry.h
1#pragma once
2
3#include <string>
4#include <nlohmann/json.hpp>
5
6#ifndef ENTRY_H
7#define ENTRY_H
8
9namespace tt {
17 class Entry {
18 public:
23 std::string name;
28 std::string title;
34 std::string description;
35
36 // default constructor for json deserialization
37 Entry() {}
38
44 std::string toString() const;
45 };
46
47 void from_json(const nlohmann::json& j, Entry& msg);
48 void to_json(nlohmann::json& j, const Entry& msg);
49}
50
51#endif
std::string description
A description of this element that will be shown to potential participants of a session to help them ...
Definition Entry.h:34
std::string toString() const
Returns a string representation of this object.
Definition Entry.cpp:5
std::string title
The title of this element that will be displayed to the participants or potential participants of a s...
Definition Entry.h:28
std::string name
The unique system name for this element, which is primarily used internally by the server.
Definition Entry.h:23
Tandem Tales is a platform that enables short, paired storytelling exercises between two agents over ...
Definition Client.h:22