Public Member Functions | Private Attributes
rms::slide Class Reference

#include <slide.h>

List of all members.

Public Member Functions

std::string get_caption ()
std::string get_img ()
int get_index ()
int get_slideid ()
 slide (int slideid, std::string img, std::string caption, int index)

Private Attributes

std::string caption
std::string img
int index
int slideid

Detailed Description

A slide object to store information about a slide in the RMS.

Definition at line 28 of file slide.h.


Constructor & Destructor Documentation

slide::slide ( int  slideid,
std::string  img,
std::string  caption,
int  index 
)

Creates a slide with the given information.

Parameters:
slideidthe slide ID number
imgthe slide's image file name
captionthe slide's caption
indexthe index in the slideshow

Definition at line 16 of file slide.cpp.


Member Function Documentation

string slide::get_caption ( )

Get tthe slide's caption.

Returns:
the slide's caption

Definition at line 35 of file slide.cpp.

string slide::get_img ( )

Get the slide's image file name.

Returns:
the slide's image file name

Definition at line 30 of file slide.cpp.

Get the index in the slideshow for this slide.

Returns:
the index in the slideshow

Definition at line 40 of file slide.cpp.

Get the slide ID number.

Returns:
the slide ID number

Definition at line 25 of file slide.cpp.


Member Data Documentation

std::string rms::slide::caption [private]

the image file name and caption

Definition at line 68 of file slide.h.

std::string rms::slide::img [private]

Definition at line 68 of file slide.h.

int rms::slide::index [private]

the slide ID and index in the slideshow

Definition at line 67 of file slide.h.

int rms::slide::slideid [private]

Definition at line 67 of file slide.h.


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


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