OpenMS
Citation Struct Reference

Stores Citations for individual TOPP tools. More...

#include <OpenMS/APPLICATIONS/TOPPBase.h>

Collaboration diagram for Citation:
[legend]

Public Member Functions

std::string toString () const
 mangle members to string More...
 

Public Attributes

std::string authors
 list of authors in AMA style, i.e. "surname initials", ... More...
 
std::string title
 title of article More...
 
std::string when_where
 suggested format: journal. year; volume, issue: pages More...
 
std::string doi
 plain DOI (no urls), e.g. 10.1021/pr100177k More...
 

Detailed Description

Stores Citations for individual TOPP tools.

An example would be

Citation c = {"Pfeuffer J, Bielow C, Wein S, Jeong K, Netz E, Walter A, Alka O et al.",
"OpenMS 3 enables reproducible analysis of large-scale mass spectrometry data",
"Nat Methods 21, 365–367 (2024)",
"10.1038/s41592-024-02197-7"};
const double c
Definition: Constants.h:188

Suggested format is AMA, e.g. https://www.lib.jmu.edu/citation/amaguide.pdf

Member Function Documentation

◆ toString()

std::string toString ( ) const
inline

mangle members to string

References Citation::authors, Citation::doi, Citation::title, and Citation::when_where.

Member Data Documentation

◆ authors

std::string authors

list of authors in AMA style, i.e. "surname initials", ...

Referenced by Citation::toString().

◆ doi

std::string doi

plain DOI (no urls), e.g. 10.1021/pr100177k

Referenced by Citation::toString().

◆ title

std::string title

title of article

Referenced by Citation::toString().

◆ when_where

std::string when_where

suggested format: journal. year; volume, issue: pages

Referenced by Citation::toString().