#include <javascript_file.h>
Public Member Functions | |
int | get_fileid () |
std::string | get_path () |
std::string | get_url () |
javascript_file (int fileid, std::string url, std::string path) | |
Private Attributes | |
int | fileid |
std::string | path |
std::string | url |
A Javascript file object to store information on a Javascript file in the RMS.
Definition at line 28 of file javascript_file.h.
javascript_file::javascript_file | ( | int | fileid, |
std::string | url, | ||
std::string | path | ||
) |
Create a Javascript file object with the given information.
fileid | the Javascript file ID number |
url | the remote URL of the Javascript file to be downloaded into RMS |
path | the local path of the file to save on the RMS server |
Definition at line 16 of file javascript_file.cpp.
int javascript_file::get_fileid | ( | ) |
Get the Javascript file ID number.
Definition at line 24 of file javascript_file.cpp.
string javascript_file::get_path | ( | ) |
Get the local path of the file to save on the RMS server.
Definition at line 34 of file javascript_file.cpp.
string javascript_file::get_url | ( | ) |
Get the remote URL of the Javascript file to be downloaded into RMS.
Definition at line 29 of file javascript_file.cpp.
int rms::javascript_file::fileid [private] |
the file ID
Definition at line 60 of file javascript_file.h.
std::string rms::javascript_file::path [private] |
the remote URL and local path
Definition at line 61 of file javascript_file.h.
std::string rms::javascript_file::url [private] |
Definition at line 61 of file javascript_file.h.