4#include <tt/world/Constant.h>
5#include <tt/world/Entity.h>
6#include <tt/util/JsonUtil.h>
29 bool operator==(
const Signature& s)
const;
46 friend std::ostream&
operator<<(std::ostream& os,
const Signature& a);
47 friend void from_json(
const nlohmann::json& j, Signature& obj);
48 friend void to_json(nlohmann::json& j,
const Signature& obj);
52 std::vector<std::unique_ptr<Value>> arguments;
54 mutable std::vector<const Value *> argumentsPtrs;
57 void from_json(
const nlohmann::json& j,
Signature& obj);
58 void to_json(nlohmann::json& j,
const Signature& obj);
A signature is a logical object that identifies a parameterized asset in a story world.
Definition Signature.h:22
std::string name
The signature's name.
Definition Signature.h:25
const std::vector< const Value * > & getArguments() const
Returns an unmodifiable list of all arguments defined in this story world ordered by the ID numbers.
Definition Signature.cpp:19
std::string toString() const
Returns a string representation of this object.
Definition Signature.cpp:31
friend std::ostream & operator<<(std::ostream &os, const Signature &a)
Override stream insertion operator to allow printing the Signature class.
Tandem Tales is a platform that enables short, paired storytelling exercises between two agents over ...
Definition Client.h:22
std::ostream & operator<<(std::ostream &os, const Client &a)
Override stream insertion operator to allow printing the Client class.
Definition Client.cpp:556