article.cpp
Go to the documentation of this file.
00001 
00011 #include <rmscpp/content/articles/article.h>
00012 
00013 using namespace std;
00014 using namespace rms;
00015 
00016 article::article(int artid, std::string title, std::string content, int pageid, int index)
00017 {
00018   // assign the fields
00019   this->artid = artid;
00020   this->title = title;
00021   this->content = content;
00022   this->pageid = pageid;
00023   this->index = index;
00024 }
00025 
00026 int article::get_artid()
00027 {
00028   return artid;
00029 }
00030 
00031 string article::get_title()
00032 {
00033   return title;
00034 }
00035 
00036 string article::get_content()
00037 {
00038   return content;
00039 }
00040 
00041 int article::get_pageid()
00042 {
00043   return pageid;
00044 }
00045 
00046 int article::get_index()
00047 {
00048   return index;
00049 }


rmscpp
Author(s): Russell Toris
autogenerated on Sat Dec 28 2013 17:08:57