15#ifndef RDBACCESSSVC_IRDBRECORD_H
16#define RDBACCESSSVC_IRDBRECORD_H
35 virtual bool isFieldNull(std::string_view fieldName)
const = 0;
40 virtual int getInt(std::string_view fieldName)
const = 0;
45 virtual long getLong(std::string_view fieldName)
const = 0;
50 virtual double getDouble(std::string_view fieldName)
const = 0;
55 virtual float getFloat(std::string_view fieldName)
const = 0;
60 virtual const std::string&
getString(std::string_view fieldName)
const = 0;
70 virtual int getInt(std::string_view fieldName,
unsigned int index)
const = 0;
76 virtual long getLong(std::string_view fieldName,
unsigned int index)
const = 0;
82 virtual double getDouble(std::string_view fieldName,
unsigned int index)
const = 0;
88 virtual float getFloat(std::string_view fieldName,
unsigned int index)
const = 0;
94 virtual const std::string&
getString(std::string_view fieldName,
unsigned int index)
const = 0;
IRDBRecord is one record in the IRDBRecordset object.
virtual double getDouble(std::string_view fieldName) const =0
Get double field value.
virtual float getFloat(std::string_view fieldName, unsigned int index) const =0
Get array float field value.
virtual float getFloat(std::string_view fieldName) const =0
Get float field value.
virtual bool isFieldNull(std::string_view fieldName) const =0
Check if the field value is NULL.
virtual ~IRDBRecord()=default
virtual long getLong(std::string_view fieldName) const =0
Get long field value.
virtual int getInt(std::string_view fieldName) const =0
Get int field value.
virtual long getLong(std::string_view fieldName, unsigned int index) const =0
Get array long field value.
virtual const std::string & getString(std::string_view fieldName, unsigned int index) const =0
Get array string field value.
virtual int getInt(std::string_view fieldName, unsigned int index) const =0
Get array int field value.
virtual double getDouble(std::string_view fieldName, unsigned int index) const =0
Get array double field value.
virtual const std::string & getString(std::string_view fieldName) const =0
Get string field value.