#include <article.h>
Public Member Functions | |
article (int artid, std::string title, std::string content, int pageid, int index) | |
int | get_artid () |
std::string | get_content () |
int | get_index () |
int | get_pageid () |
std::string | get_title () |
Private Attributes | |
int | artid |
std::string | content |
int | index |
int | pageid |
std::string | title |
An article account object to store information on an article in the RMS.
article::article | ( | int | artid, |
std::string | title, | ||
std::string | content, | ||
int | pageid, | ||
int | index | ||
) |
Create an article with the given information.
artid | the article ID number |
title | the title of the article |
content | the HTML content of the article |
pageid | the page ID this article belongs to |
index | the index on the page for this article |
Definition at line 16 of file article.cpp.
int article::get_artid | ( | ) |
string article::get_content | ( | ) |
int article::get_index | ( | ) |
Get the index on the page for this article.
Definition at line 46 of file article.cpp.
int article::get_pageid | ( | ) |
Get the page ID this article belongs to.
Definition at line 41 of file article.cpp.
string article::get_title | ( | ) |
int rms::article::artid [private] |
std::string rms::article::content [private] |
int rms::article::index [private] |
int rms::article::pageid [private] |
std::string rms::article::title [private] |