35 static const std::string NamesOfChecksumType[
static_cast<size_t>(ChecksumType::SIZE_OF_CHECKSUMTYPE)];
102 ChecksumType checksum_type_ = SourceFile::ChecksumType::UNKNOWN_CHECKSUM;
Representation of controlled vocabulary term list.
Definition CVTermList.h:29
Description of a file location, used to store the origin of (meta) data.
Definition SourceFile.h:23
SourceFile & operator=(const SourceFile &)=default
Assignment operator.
const std::string & getNativeIDType() const
Returns the native ID type of the spectra.
void setNativeIDTypeAccession(const std::string &accesssion)
Sets the native ID of the spectra.
std::string name_of_file_
Definition SourceFile.h:97
const std::string & getFileType() const
returns the file type
bool operator!=(const SourceFile &rhs) const
Equality operator.
SourceFile & operator=(SourceFile &&)=default
Move assignment operator.
void setPathToFile(const std::string &path_path_to_file)
sets the file path
std::string file_type_
Definition SourceFile.h:100
std::string native_id_type_accession_
Definition SourceFile.h:104
ChecksumType
Type of the checksum.
Definition SourceFile.h:27
std::string checksum_
Definition SourceFile.h:101
SourceFile(SourceFile &&)=default
Move constructor.
~SourceFile() override
Destructor.
static StringList getAllNamesOfChecksumType()
returns all checksum type names known to OpenMS
const std::string & getNameOfFile() const
returns the file name
std::string native_id_type_
Definition SourceFile.h:103
std::string path_to_file_
Definition SourceFile.h:98
void setNameOfFile(const std::string &name_of_file)
sets the file name
const std::string & getNativeIDTypeAccession() const
Returns the nativeID of the spectra.
float getFileSize() const
returns the file size in MB
ChecksumType getChecksumType() const
returns the checksum type
void setChecksum(const std::string &checksum, ChecksumType type)
sets the file's checksum
const std::string & getChecksum() const
returns the file's checksum
SourceFile(const SourceFile &)=default
Copy constructor.
void setNativeIDType(const std::string &type)
Sets the native ID type of the spectra.
double file_size_
Definition SourceFile.h:99
const std::string & getPathToFile() const
returns the file path
void setFileType(const std::string &file_type)
sets the file type
void setFileSize(float file_size)
sets the file size in MB
bool operator==(const SourceFile &rhs) const
Equality operator.
std::vector< std::string > StringList
Vector of String.
Definition ListUtils.h:44
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19