Mantid
|
#include <Citation.h>
Public Member Functions | |
const std::string & | bibtex () const |
Citation (::NeXus::File *file, const std::string &group) | |
This constructor will load the data from the given file using the given group as the NeXus Group in which the NXCite is contained. More... | |
Citation (const std::string &doi="", const std::string &bibtex="", const std::string &endnote="", const std::string &url="", const std::string &description="") | |
There are some strict parameters that the function arguments must adhere to: More... | |
const std::string & | description () const |
const std::string & | doi () const |
const std::string & | endnote () const |
bool | operator== (const Citation &rhs) const |
void | saveNexus (::NeXus::File *file, const std::string &group) |
const std::string & | url () const |
Private Member Functions | |
void | loadNexus (::NeXus::File *file, const std::string &group) |
Private Attributes | |
std::string | m_bibtex |
std::string | m_description |
std::string | m_doi |
std::string | m_endnote |
std::string | m_url |
Definition at line 19 of file Citation.h.
Mantid::API::Citation::Citation | ( | ::NeXus::File * | file, |
const std::string & | group | ||
) |
This constructor will load the data from the given file using the given group as the NeXus Group in which the NXCite is contained.
Definition at line 49 of file Citation.cpp.
References loadNexus().
Mantid::API::Citation::Citation | ( | const std::string & | doi = "" , |
const std::string & | bibtex = "" , |
||
const std::string & | endnote = "" , |
||
const std::string & | url = "" , |
||
const std::string & | description = "" |
||
) |
There are some strict parameters that the function arguments must adhere to:
doi | - https://www.baylor.edu/lib/electrres/index.php?id=49231 |
bibtex | - https://www.economics.utoronto.ca/osborne/latex/BIBTEX.HTM |
endnote | - https://en.wikipedia.org/wiki/RIS_(file_format) |
url | - The website url for which the citation refers |
description | - The description of the thing that is being cited |
Definition at line 30 of file Citation.cpp.
References bibtex(), description(), doi(), endnote(), and url().
const std::string & Mantid::API::Citation::bibtex | ( | ) | const |
Definition at line 59 of file Citation.cpp.
References m_bibtex.
Referenced by Citation(), and export_Citation().
const std::string & Mantid::API::Citation::description | ( | ) | const |
Definition at line 56 of file Citation.cpp.
References m_description.
Referenced by Citation(), and export_Citation().
const std::string & Mantid::API::Citation::doi | ( | ) | const |
Definition at line 58 of file Citation.cpp.
References m_doi.
Referenced by Citation(), and export_Citation().
const std::string & Mantid::API::Citation::endnote | ( | ) | const |
Definition at line 60 of file Citation.cpp.
References m_endnote.
Referenced by Citation(), and export_Citation().
|
private |
Definition at line 62 of file Citation.cpp.
References m_bibtex, m_description, m_doi, m_endnote, and m_url.
Referenced by Citation().
bool Mantid::API::Citation::operator== | ( | const Citation & | rhs | ) | const |
Definition at line 51 of file Citation.cpp.
References m_bibtex, m_description, m_doi, m_endnote, m_url, and rhs.
void Mantid::API::Citation::saveNexus | ( | ::NeXus::File * | file, |
const std::string & | group | ||
) |
Definition at line 72 of file Citation.cpp.
References m_bibtex, m_description, m_doi, m_endnote, and m_url.
Referenced by export_Citation().
const std::string & Mantid::API::Citation::url | ( | ) | const |
Definition at line 57 of file Citation.cpp.
References m_url.
Referenced by Citation(), and export_Citation().
|
private |
Definition at line 66 of file Citation.h.
Referenced by bibtex(), loadNexus(), operator==(), and saveNexus().
|
private |
Definition at line 69 of file Citation.h.
Referenced by description(), loadNexus(), operator==(), and saveNexus().
|
private |
Definition at line 65 of file Citation.h.
Referenced by doi(), loadNexus(), operator==(), and saveNexus().
|
private |
Definition at line 67 of file Citation.h.
Referenced by endnote(), loadNexus(), operator==(), and saveNexus().
|
private |
Definition at line 68 of file Citation.h.
Referenced by loadNexus(), operator==(), saveNexus(), and url().