Bridges-C++  3.4.4
Bridges(C++ API)
Public Member Functions | List of all members
bridges::dataset::Book Class Reference

#include <Book.h>

Detailed Description

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

Public Member Functions

 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)
 

Constructor & Destructor Documentation

◆ Book() [1/2]

bridges::dataset::Book::Book ( )
inline

◆ Book() [2/2]

bridges::dataset::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 
)
inline

Member Function Documentation

◆ getAuthorBirth()

int bridges::dataset::Book::getAuthorBirth ( ) const
inline

◆ getAuthorDeath()

int bridges::dataset::Book::getAuthorDeath ( ) const
inline

◆ getAuthorName()

string bridges::dataset::Book::getAuthorName ( ) const
inline

◆ getDownloads()

int bridges::dataset::Book::getDownloads ( ) const
inline

◆ getGenre()

vector<string> bridges::dataset::Book::getGenre ( ) const
inline

◆ getLang()

vector<string> bridges::dataset::Book::getLang ( ) const
inline

◆ getNumChars()

int bridges::dataset::Book::getNumChars ( ) const
inline

◆ getNumDifficultWords()

int bridges::dataset::Book::getNumDifficultWords ( ) const
inline

◆ getNumSentences()

int bridges::dataset::Book::getNumSentences ( ) const
inline

◆ getNumWords()

int bridges::dataset::Book::getNumWords ( ) const
inline

◆ getSubject()

vector<string> bridges::dataset::Book::getSubject ( ) const
inline

◆ getTitle()

string bridges::dataset::Book::getTitle ( ) const
inline

◆ getURL()

string bridges::dataset::Book::getURL ( ) const
inline

◆ setAuthorBirth()

void bridges::dataset::Book::setAuthorBirth ( int  authorBirth)
inline

◆ setAuthorDeath()

void bridges::dataset::Book::setAuthorDeath ( int  authorDeath)
inline

◆ setAuthorName()

void bridges::dataset::Book::setAuthorName ( const string &  authorName)
inline

◆ setDownloads()

void bridges::dataset::Book::setDownloads ( int  downloads)
inline

◆ setGenre()

void bridges::dataset::Book::setGenre ( const vector< string > &  genre)
inline

◆ setLang()

void bridges::dataset::Book::setLang ( const vector< string > &  lang)
inline

◆ setNumChars()

void bridges::dataset::Book::setNumChars ( int  numChars)
inline

◆ setNumDifficultWords()

void bridges::dataset::Book::setNumDifficultWords ( int  numDifficultWords)
inline

◆ setNumSentences()

void bridges::dataset::Book::setNumSentences ( int  numSentences)
inline

◆ setNumWords()

void bridges::dataset::Book::setNumWords ( int  numWords)
inline

◆ setSubject()

void bridges::dataset::Book::setSubject ( const vector< string > &  subject)
inline

◆ setTitle()

void bridges::dataset::Book::setTitle ( const string &  title)
inline

◆ setURL()

void bridges::dataset::Book::setURL ( const string &  url)
inline

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