OpenMS
Loading...
Searching...
No Matches
RibonucleotideEntry Struct Reference

Holds a Ribonucleotide together with optional ambiguity codes. More...

#include <OpenMS/CHEMISTRY/RibonucleotideDataProvider.h>

Collaboration diagram for RibonucleotideEntry:
[legend]

Public Member Functions

 RibonucleotideEntry ()=default
 
 ~RibonucleotideEntry ()=default
 
 RibonucleotideEntry (const RibonucleotideEntry &)=delete
 
RibonucleotideEntryoperator= (const RibonucleotideEntry &)=delete
 
 RibonucleotideEntry (RibonucleotideEntry &&)=default
 
RibonucleotideEntryoperator= (RibonucleotideEntry &&)=default
 
bool isAmbiguous () const
 Returns true if this entry represents an ambiguous modification.
 

Public Attributes

std::unique_ptr< Ribonucleotideribo
 
String alternative_code_1
 code of first alternative (empty if unambiguous)
 
String alternative_code_2
 code of second alternative (empty if unambiguous)
 

Detailed Description

Holds a Ribonucleotide together with optional ambiguity codes.

When a ribonucleotide represents an ambiguous modification (e.g., a methyl group whose localization cannot be determined), the two alternative codes identify the concrete modifications it could represent.

Constructor & Destructor Documentation

◆ RibonucleotideEntry() [1/3]

RibonucleotideEntry ( )
default

◆ ~RibonucleotideEntry()

~RibonucleotideEntry ( )
default

◆ RibonucleotideEntry() [2/3]

◆ RibonucleotideEntry() [3/3]

Member Function Documentation

◆ isAmbiguous()

bool isAmbiguous ( ) const
inline

Returns true if this entry represents an ambiguous modification.

◆ operator=() [1/2]

RibonucleotideEntry & operator= ( const RibonucleotideEntry )
delete

◆ operator=() [2/2]

RibonucleotideEntry & operator= ( RibonucleotideEntry &&  )
default

Member Data Documentation

◆ alternative_code_1

String alternative_code_1

code of first alternative (empty if unambiguous)

◆ alternative_code_2

String alternative_code_2

code of second alternative (empty if unambiguous)

◆ ribo

std::unique_ptr<Ribonucleotide> ribo