![]() |
Bridges-C++
3.2.0
Bridges(C++API)
|
#include <Shakespeare.h>
A Shakespeare Data source object containing sonnets, poems and plays.
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.
Refer to tutorial examples to using this data source in data structure assignments.
Public Member Functions | |
Shakespeare () | |
Shakespeare (const string &title, const string &type, const string &text) | |
string | getTitle () const |
void | setTitle (const string &title) |
string | getType () const |
void | setType (const string &type) |
string | getText () const |
void | setText (const string &text) |
|
inline |
Constructor
|
inline |
Constructor
title | title of sonnet, play or poem |
type | (sonnet, play or poem) |
text | full text of entity |
|
inline |
Get full text of sonnet, play or poem
|
inline |
Get title of sonnet, play or poem
|
inline |
Get type of sonnet, play or poem
|
inline |
set full text of sonnet, play or poem
text | full text (string) to be set |
|
inline |
set title of sonnet, play or poem
title | (string) to be set |
|
inline |
set type to sonnet, play or poem
type | (string) to be set |