|
OpenMS
2.5.0
|
Go to the documentation of this file.
41 #include <OpenMS/OpenMSConfig.h>
142 operator std::
string() const;
172 operator
long double() const;
181 operator
double() const;
190 operator
float() const;
199 operator
short int() const;
208 operator
unsigned short int() const;
218 operator
int() const;
227 operator
unsigned int() const;
236 operator
long int() const;
245 operator
unsigned long int() const;
254 operator
long long() const;
263 operator
unsigned long long() const;
280 const
char* toChar() const;
314 DataValue& operator=(const std::
string&);
334 DataValue& operator=(const
unsigned short int);
342 DataValue& operator=(const
unsigned long);
346 DataValue& operator=(const
unsigned long long);
361 QString toQString() const;
377 return value_type_ == EMPTY_VALUE;
402 const int32_t & getUnit()
const;
405 void setUnit(
const int32_t & unit);
449 void clear_() noexcept;
integer list
Definition: DataValue.h:71
string value
Definition: DataValue.h:67
string list
Definition: DataValue.h:70
void setUnitType(const UnitType &u)
Definition: DataValue.h:390
A more convenient string class.
Definition: String.h:58
DataType value_type_
Type of the currently stored value.
Definition: DataValue.h:427
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:375
std::vector< double > DoubleList
Vector of double precision real types.
Definition: ListUtils.h:62
UnitType
Supported types for DataValue.
Definition: DataValue.h:77
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:65
bool hasUnit() const
Check if the value has a unit.
Definition: DataValue.h:396
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
integer value
Definition: DataValue.h:68
Class to hold strings, numeric values, lists of strings and lists of numeric values.
Definition: DataValue.h:56
UnitType getUnitType() const
returns the type of value stored
Definition: DataValue.h:385
unit.ontology UO:
Definition: DataValue.h:79
int32_t unit_
The unit of the data value (if it has one) using UO identifier, otherwise -1.
Definition: DataValue.h:433
UnitType unit_type_
Type of the currently stored unit.
Definition: DataValue.h:430
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:62
double value
Definition: DataValue.h:69
String toString(const T &i)
fallback template for general purpose using Boost::Karma; more specializations below
Definition: StringUtils.h:85
bool operator==(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:806
ptrdiff_t SignedSize
Signed Size type e.g. used as pointer difference.
Definition: Types.h:134
ms.ontology MS:
Definition: DataValue.h:80
double list
Definition: DataValue.h:72