Logo Search packages:      
Sourcecode: kalzium version File versions  Download package

ChemicalDataObject::ChemicalDataObject ( const QVariant &  v,
BlueObelisk  type,
const QVariant &  errorValue = QVariant(0) 
)

Constructor.

Parameters:
vthe data of the object
typethe type of the data
errorValuethe error margin of the value v
See also:
errorValue()

Definition at line 50 of file chemicaldataobject.cpp.

References errorValue(), and type().

        : d(new ChemicalDataObjectPrivate)
{
    d->m_value = v;
    d->m_errorValue = errorValue;
    d->m_type = type;
    d->m_unit = KUnitConversion::NoUnit;
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index