 |
OpenMS
3.0.0
|
|
Go to the documentation of this file.
41 #include <OpenMS/OpenMSConfig.h>
80 static const std::string NamesOfDataType[SIZE_OF_DATATYPE];
155 operator std::
string() const;
185 operator
long double() const;
194 operator
double() const;
203 operator
float() const;
212 operator
short int() const;
221 operator
unsigned short int() const;
231 operator
int() const;
240 operator
unsigned int() const;
249 operator
long int() const;
258 operator
unsigned long int() const;
267 operator
long long() const;
276 operator
unsigned long long() const;
293 const
char* toChar() const;
327 DataValue& operator=(const std::
string&);
347 DataValue& operator=(const
unsigned short int);
355 DataValue& operator=(const
unsigned long);
359 DataValue& operator=(const
unsigned long long);
390 return value_type_ == EMPTY_VALUE;
415 const int32_t & getUnit()
const;
418 void setUnit(
const int32_t & unit);
462 void clear_() noexcept;
integer list
Definition: DataValue.h:73
const std::string & toString(const DriftTimeUnit value)
string value
Definition: DataValue.h:69
static QString toQString(const String &this_s)
Definition: StringUtils.h:201
string list
Definition: DataValue.h:72
void setUnitType(const UnitType &u)
Definition: DataValue.h:403
A more convenient string class.
Definition: String.h:58
DataType value_type_
Type of the currently stored value.
Definition: DataValue.h:440
bool operator!=(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:824
bool isEmpty() const
Test if the value is empty.
Definition: DataValue.h:388
std::vector< double > DoubleList
Vector of double precision real types.
Definition: ListUtils.h:62
empty
Definition: DataValue.h:75
UnitType
Supported types for DataValue.
Definition: DataValue.h:83
Class to hold strings, numeric values, vectors of strings and vectors of numeric values using the stl...
Definition: ParamValue.h:54
std::vector< Int > IntList
Vector of signed integers.
Definition: ListUtils.h:55
bool operator<(const MultiplexDeltaMasses &dm1, const MultiplexDeltaMasses &dm2)
DataType
Supported types for DataValue.
Definition: DataValue.h:67
bool hasUnit() const
Check if the value has a unit.
Definition: DataValue.h:409
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
integer value
Definition: DataValue.h:70
Class to hold strings, numeric values, lists of strings and lists of numeric values.
Definition: DataValue.h:58
UnitType getUnitType() const
returns the type of value stored
Definition: DataValue.h:398
unit.ontology UO
Definition: DataValue.h:85
int32_t unit_
The unit of the data value (if it has one) using UO identifier, otherwise -1.
Definition: DataValue.h:446
UnitType unit_type_
Type of the currently stored unit.
Definition: DataValue.h:443
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
static const DataValue EMPTY
Empty data value for comparisons.
Definition: DataValue.h:64
double value
Definition: DataValue.h:71
ptrdiff_t SignedSize
Signed Size type e.g. used as pointer difference.
Definition: Types.h:134
bool operator==(const IDBoostGraph::ProteinGroup &lhs, const IDBoostGraph::ProteinGroup &rhs)
ms.ontology MS
Definition: DataValue.h:86
double list
Definition: DataValue.h:74