|
TT Client Library 1.0.0
C++ library for Tandem Tales clients.
|
A variable is an asset that represents a feature of the story world state that can change.
More...
#include <tt/world/Variable.h>
Public Member Functions | |
| std::string | toString () const |
| Returns a string representation of this object. | |
| const std::string & | getDescription () const |
| Returns a human-readable natural language description of the object. | |
| const Signature * | getSignature () const |
| Returns the signature of this object. | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Variable &a) |
| Override stream insertion operator to allow printing the Variable class. | |
A variable is an asset that represents a feature of the story world state that can change.
A state assign a value to each of a story world's variables.
| const std::string & tt::Variable::getDescription | ( | ) | const |
Returns a human-readable natural language description of the object.
| const Signature * tt::Variable::getSignature | ( | ) | const |
Returns the signature of this object.
| std::string tt::Variable::toString | ( | ) | const |
Returns a string representation of this object.
|
friend |
Override stream insertion operator to allow printing the Variable class.
| os | an output stream to insert into |
| a | a reference to a variable object |