23#include <osl/diagnose.h>
29 std::vector<ORowSetValueDecoratorRef>
m_aKeys;
37 static std::unique_ptr<OKeyValue> createKeyValue(sal_Int32 nVal);
41 m_aKeys.push_back(_aValueRef);
44 OUString
getKeyString(std::vector<ORowSetValueDecoratorRef>::size_type i)
const
46 OSL_ENSURE(m_aKeys.size() >
i,
"Wrong index for KEyValue");
47 return m_aKeys[
i]->getValue().getString();
49 double getKeyDouble(std::vector<ORowSetValueDecoratorRef>::size_type i)
const
51 OSL_ENSURE(m_aKeys.size() >
i,
"Wrong index for KEyValue");
52 return m_aKeys[
i]->getValue().getDouble();
55 sal_Int32
getValue()
const {
return m_nValue; }
std::vector< ORowSetValueDecoratorRef > m_aKeys
double getKeyDouble(std::vector< ORowSetValueDecoratorRef >::size_type i) const
sal_Int32 getValue() const
void pushKey(const ORowSetValueDecoratorRef &_aValueRef)
OUString getKeyString(std::vector< ORowSetValueDecoratorRef >::size_type i) const