-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPage.cpp
64 lines (51 loc) · 879 Bytes
/
Page.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
* File: Page.cpp
* Author: carter
*
* Created on November 14, 2012, 4:15 PM
*/
#include "Page.h"
Page::Page(string title, string text, string author, string id, string date) {
setTitle(title);
setText(text);
setAuthor(author);
setId(id);
setDate(date);
}
Page::Page(const Page& orig) {
}
Page::~Page() {
}
string Page::getAuthor() {
return author;
}
void Page::setAuthor(string author) {
this->author = author;
}
//string Page::getDate() {
// return date;
//}
//
void Page::setDate(string date) {
this->date = date;
}
string Page::getText() {
return text;
}
void Page::setText(string text) {
this->text = text;
}
string Page::getTitle() {
return title;
}
void Page::setTitle(string title) {
this->title = title;
}
string Page::getId()
{
return id;
}
void Page::setId(string id)
{
this->id = id;
}