A Book object, used along with the books data source.
This is a convenience class provided for users who wish to use this data source as part of their application. It provides an API that makes it easy to access the attributes of this data set.
Refer to tutorial examples to using this data source in data structure assignments.
- Author
- Kalpathi Subramanian
- Date
- 1/16/17
|
| Book () |
|
| Book (const string &authorName, int authorBirth, int authorDeath, const string &title, const vector< string > &lang, const vector< string > &genre, const vector< string > &subject, int numChars, int numWords, int numSentences, int numDifficultWords, const string &url, int downloads) |
|
string | getAuthorName () const |
|
void | setAuthorName (const string &authorName) |
|
int | getAuthorBirth () const |
|
void | setAuthorBirth (int authorBirth) |
|
int | getAuthorDeath () const |
|
void | setAuthorDeath (int authorDeath) |
|
string | getTitle () const |
|
void | setTitle (const string &title) |
|
vector< string > | getLang () const |
|
void | setLang (const vector< string > &lang) |
|
vector< string > | getGenre () const |
|
void | setGenre (const vector< string > &genre) |
|
vector< string > | getSubject () const |
|
void | setSubject (const vector< string > &subject) |
|
string | getURL () const |
|
void | setURL (const string &url) |
|
int | getNumChars () const |
|
void | setNumChars (int numChars) |
|
int | getNumWords () const |
|
void | setNumWords (int numWords) |
|
int | getNumSentences () const |
|
void | setNumSentences (int numSentences) |
|
int | getNumDifficultWords () const |
|
void | setNumDifficultWords (int numDifficultWords) |
|
int | getDownloads () const |
|
void | setDownloads (int downloads) |
|