creativity  v1.3.0
Agent-based model of creativity and piracy
Public Attributes | Friends | List of all members
creativity::gui::BookStore::ColRec Class Reference

ColumnRecord object for a BookStore. More...

#include <creativity/gui/BookStore.hpp>

Public Attributes

Gtk::TreeModelColumn< eris::eris_id_t > id
 Book ID.
 
Gtk::TreeModelColumn< eris::eris_id_t > author
 Author ID.
 
Gtk::TreeModelColumn< double > pos_x
 x coordinate of the book
 
Gtk::TreeModelColumn< double > pos_y
 y coordinate of the book
 
Gtk::TreeModelColumn< double > quality
 quality parameter of the book (the mean of realized quality draws)
 
Gtk::TreeModelColumn< double > price
 price of the book, or NaN if the book is not on the market
 
Gtk::TreeModelColumn< double > revenue
 revenue of the book in the current period
 
Gtk::TreeModelColumn< double > revenue_lifetime
 Cumulative revenue of the book since its creation.
 
Gtk::TreeModelColumn< std::string > pos_str
 position of the book as a string such as (-7.16,0.440)
 
Gtk::TreeModelColumn< std::string > market_str
 market type string ("Priv.", "Pub.", or "No")
 
Gtk::TreeModelColumn< bool > market_private
 True if on the market and that market is private.
 
Gtk::TreeModelColumn< bool > market_public
 True if on the market and that market is public.
 
Gtk::TreeModelColumn< bool > market_any
 True if the book is currently on either market.
 
Gtk::TreeModelColumn< unsigned int > age
 Age of the book in simulation periods since it was written.
 
Gtk::TreeModelColumn< unsigned int > created
 Age of the book in simulation periods since it was written.
 
Gtk::TreeModelColumn< unsigned int > sales
 Copies sold in the current period.
 
Gtk::TreeModelColumn< unsigned int > sales_lifetime_private
 Lifetime copies sold on the private market.
 
Gtk::TreeModelColumn< unsigned int > sales_lifetime_public
 Lifetime copies sold on the public market.
 
Gtk::TreeModelColumn< unsigned int > sales_lifetime
 Lifetime copies sold (both private/public)
 
Gtk::TreeModelColumn< unsigned int > pirated
 Copies sold in the current period.
 
Gtk::TreeModelColumn< unsigned int > pirated_lifetime
 Lifetime copies sold.
 
Gtk::TreeModelColumn< unsigned int > copies
 Copies created (sold or pirated) in the current period.
 
Gtk::TreeModelColumn< unsigned int > copies_lifetime
 Lifetime copies created (sold or pirated)
 
Gtk::TreeModelColumn< unsigned int > lifetime_private
 Number of periods the book has been or was on the private market.
 

Friends

class BookStore
 

Detailed Description

ColumnRecord object for a BookStore.

This object contains the columns for this Book model. This should not be used directly, but rather accessed via the public columns member.

Inheritance diagram for creativity::gui::BookStore::ColRec:
[legend]
Collaboration diagram for creativity::gui::BookStore::ColRec:
[legend]

The documentation for this class was generated from the following file: