Commit 8e617992 authored by Laurent Montel's avatar Laurent Montel 😁

Use Q_DECL_OVERRIDE

parent 9711a251
......@@ -47,7 +47,7 @@ public:
delete mConfig;
}
virtual KConfig *config() const
KConfig *config() const Q_DECL_OVERRIDE
{
mConfig->reparseConfiguration();
return mConfig;
......
......@@ -270,6 +270,6 @@ void PersonalDataPage::automaticConfigureAccount()
void PersonalDataPage::leavePageNextRequested()
{
// override base class with doing nothing...
// Q_DECL_OVERRIDE base class with doing nothing...
}
......@@ -19,8 +19,8 @@ public:
c4_FileStream(FILE *stream_, bool owned_ = false);
virtual ~c4_FileStream();
virtual int Read(void *buffer_, int length_);
virtual bool Write(const void *buffer_, int length_);
int Read(void *buffer_, int length_) override;
bool Write(const void *buffer_, int length_) override;
FILE *_stream;
bool _owned;
......@@ -37,21 +37,21 @@ public:
virtual ~c4_FileStrategy();
/// True if we can do I/O with this object
virtual bool IsValid() const;
bool IsValid() const override;
/// Open a data file by name
virtual bool DataOpen(const char *fileName_, int mode_);
/// Read a number of bytes
virtual int DataRead(t4_i32 pos_, void *buffer_, int length_);
int DataRead(t4_i32 pos_, void *buffer_, int length_) override;
/// Write a number of bytes, return true if successful
virtual void DataWrite(t4_i32 pos_, const void *buffer_, int length_);
void DataWrite(t4_i32 pos_, const void *buffer_, int length_) override;
/// Flush and truncate file
virtual void DataCommit(t4_i32 newSize_);
void DataCommit(t4_i32 newSize_) override;
/// Support for memory-mapped files
virtual void ResetFileMapping();
void ResetFileMapping() override;
/// Report total size of the datafile
virtual t4_i32 FileSize();
t4_i32 FileSize() override;
/// Return a good value to use as fresh generation counter
virtual t4_i32 FreshGeneration();
t4_i32 FreshGeneration() override;
protected:
/// Pointer to file object
......
......@@ -20,12 +20,12 @@ public:
c4_CustomHandler(const c4_Property &prop_, c4_CustomSeq *seq_);
virtual ~c4_CustomHandler();
virtual int ItemSize(int index_);
virtual const void *Get(int index_, int &length_);
virtual void Set(int index_, const c4_Bytes &buf_);
int ItemSize(int index_) Q_DECL_OVERRIDE;
const void *Get(int index_, int &length_) Q_DECL_OVERRIDE;
void Set(int index_, const c4_Bytes &buf_) Q_DECL_OVERRIDE;
virtual void Insert(int index_, const c4_Bytes &buf_, int count_);
virtual void Remove(int index_, int count_);
void Insert(int index_, const c4_Bytes &buf_, int count_) Q_DECL_OVERRIDE;
void Remove(int index_, int count_) Q_DECL_OVERRIDE;
};
/////////////////////////////////////////////////////////////////////////////
......@@ -236,12 +236,12 @@ public:
c4_SliceViewer(c4_Sequence &seq_, int first_, int limit_, int step_);
virtual ~c4_SliceViewer();
virtual c4_View GetTemplate();
virtual int GetSize();
virtual bool GetItem(int row_, int col_, c4_Bytes &buf_);
bool SetItem(int row_, int col_, const c4_Bytes &buf_);
virtual bool InsertRows(int pos_, c4_Cursor value_, int count_ = 1);
virtual bool RemoveRows(int pos_, int count_ = 1);
c4_View GetTemplate() Q_DECL_OVERRIDE;
int GetSize() Q_DECL_OVERRIDE;
bool GetItem(int row_, int col_, c4_Bytes &buf_) Q_DECL_OVERRIDE;
bool SetItem(int row_, int col_, const c4_Bytes &buf_) Q_DECL_OVERRIDE;
bool InsertRows(int pos_, c4_Cursor value_, int count_ = 1) Q_DECL_OVERRIDE;
bool RemoveRows(int pos_, int count_ = 1) Q_DECL_OVERRIDE;
};
c4_SliceViewer::c4_SliceViewer(c4_Sequence &seq_, int first_, int limit_, int
......@@ -329,9 +329,9 @@ public:
c4_ProductViewer(c4_Sequence &seq_, const c4_View &view_);
virtual ~c4_ProductViewer();
virtual c4_View GetTemplate();
virtual int GetSize();
virtual bool GetItem(int row_, int col_, c4_Bytes &buf_);
c4_View GetTemplate() Q_DECL_OVERRIDE;
int GetSize() Q_DECL_OVERRIDE;
bool GetItem(int row_, int col_, c4_Bytes &buf_) Q_DECL_OVERRIDE;
};
c4_ProductViewer::c4_ProductViewer(c4_Sequence &seq_, const c4_View &view_):
......@@ -386,10 +386,10 @@ public:
c4_RemapWithViewer(c4_Sequence &seq_, const c4_View &view_);
virtual ~c4_RemapWithViewer();
virtual c4_View GetTemplate();
virtual int GetSize();
virtual bool GetItem(int row_, int col_, c4_Bytes &buf_);
bool SetItem(int row_, int col_, const c4_Bytes &buf_);
c4_View GetTemplate() Q_DECL_OVERRIDE;
int GetSize() Q_DECL_OVERRIDE;
bool GetItem(int row_, int col_, c4_Bytes &buf_) Q_DECL_OVERRIDE;
bool SetItem(int row_, int col_, const c4_Bytes &buf_) Q_DECL_OVERRIDE;
};
c4_RemapWithViewer::c4_RemapWithViewer(c4_Sequence &seq_, const c4_View &view_)
......@@ -443,12 +443,12 @@ public:
c4_PairViewer(c4_Sequence &seq_, const c4_View &view_);
virtual ~c4_PairViewer();
virtual c4_View GetTemplate();
virtual int GetSize();
virtual bool GetItem(int row_, int col_, c4_Bytes &buf_);
bool SetItem(int row_, int col_, const c4_Bytes &buf_);
virtual bool InsertRows(int pos_, c4_Cursor value_, int count_ = 1);
virtual bool RemoveRows(int pos_, int count_ = 1);
c4_View GetTemplate() Q_DECL_OVERRIDE;
int GetSize() Q_DECL_OVERRIDE;
bool GetItem(int row_, int col_, c4_Bytes &buf_) Q_DECL_OVERRIDE;
bool SetItem(int row_, int col_, const c4_Bytes &buf_) Q_DECL_OVERRIDE;
bool InsertRows(int pos_, c4_Cursor value_, int count_ = 1) Q_DECL_OVERRIDE;
bool RemoveRows(int pos_, int count_ = 1) Q_DECL_OVERRIDE;
};
c4_PairViewer::c4_PairViewer(c4_Sequence &seq_, const c4_View &view_): _parent
......@@ -527,10 +527,10 @@ public:
c4_ConcatViewer(c4_Sequence &seq_, const c4_View &view_);
virtual ~c4_ConcatViewer();
virtual c4_View GetTemplate();
virtual int GetSize();
virtual bool GetItem(int row_, int col_, c4_Bytes &buf_);
bool SetItem(int row_, int col_, const c4_Bytes &buf_);
c4_View GetTemplate() Q_DECL_OVERRIDE;
int GetSize() Q_DECL_OVERRIDE;
bool GetItem(int row_, int col_, c4_Bytes &buf_) Q_DECL_OVERRIDE;
bool SetItem(int row_, int col_, const c4_Bytes &buf_) Q_DECL_OVERRIDE;
};
c4_ConcatViewer::c4_ConcatViewer(c4_Sequence &seq_, const c4_View &view_):
......@@ -596,10 +596,10 @@ public:
c4_Property &new_);
virtual ~c4_RenameViewer();
virtual c4_View GetTemplate();
virtual int GetSize();
virtual bool GetItem(int row_, int col_, c4_Bytes &buf_);
virtual bool SetItem(int row_, int col_, const c4_Bytes &buf_);
c4_View GetTemplate() Q_DECL_OVERRIDE;
int GetSize() Q_DECL_OVERRIDE;
bool GetItem(int row_, int col_, c4_Bytes &buf_) Q_DECL_OVERRIDE;
bool SetItem(int row_, int col_, const c4_Bytes &buf_) Q_DECL_OVERRIDE;
//virtual bool InsertRows(int pos_, c4_Cursor value_, int count_=1);
//virtual bool RemoveRows(int pos_, int count_=1);
};
......@@ -658,9 +658,9 @@ public:
&result_);
virtual ~c4_GroupByViewer();
virtual c4_View GetTemplate();
virtual int GetSize();
virtual bool GetItem(int row_, int col_, c4_Bytes &buf_);
c4_View GetTemplate() Q_DECL_OVERRIDE;
int GetSize() Q_DECL_OVERRIDE;
bool GetItem(int row_, int col_, c4_Bytes &buf_) Q_DECL_OVERRIDE;
};
c4_GroupByViewer::c4_GroupByViewer(c4_Sequence &seq_, const c4_View &keys_,
......@@ -792,9 +792,9 @@ public:
c4_JoinPropViewer(c4_Sequence &seq_, const c4_ViewProp &sub_, bool outer_);
virtual ~c4_JoinPropViewer();
virtual c4_View GetTemplate();
virtual int GetSize();
virtual bool GetItem(int row_, int col_, c4_Bytes &buf_);
c4_View GetTemplate() Q_DECL_OVERRIDE;
int GetSize() Q_DECL_OVERRIDE;
bool GetItem(int row_, int col_, c4_Bytes &buf_) Q_DECL_OVERRIDE;
};
c4_JoinPropViewer::c4_JoinPropViewer(c4_Sequence &seq_, const c4_ViewProp &sub_,
......@@ -893,9 +893,9 @@ public:
bool outer_);
virtual ~c4_JoinViewer();
virtual c4_View GetTemplate();
virtual int GetSize();
virtual bool GetItem(int row_, int col_, c4_Bytes &buf_);
c4_View GetTemplate() Q_DECL_OVERRIDE;
int GetSize() Q_DECL_OVERRIDE;
bool GetItem(int row_, int col_, c4_Bytes &buf_) Q_DECL_OVERRIDE;
};
c4_JoinViewer::c4_JoinViewer(c4_Sequence &seq_, const c4_View &keys_, const
......
......@@ -26,20 +26,20 @@ public:
c4_CustomSeq(c4_CustomViewer *viewer_);
virtual ~c4_CustomSeq();
virtual int NumRows()const;
int NumRows()const Q_DECL_OVERRIDE;
virtual bool RestrictSearch(c4_Cursor, int &, int &);
bool RestrictSearch(c4_Cursor, int &, int &) Q_DECL_OVERRIDE;
virtual void InsertAt(int, c4_Cursor, int = 1);
virtual void RemoveAt(int, int = 1);
virtual void Move(int from_, int);
void InsertAt(int, c4_Cursor, int = 1) Q_DECL_OVERRIDE;
void RemoveAt(int, int = 1) Q_DECL_OVERRIDE;
void Move(int from_, int) Q_DECL_OVERRIDE;
bool DoGet(int row_, int col_, c4_Bytes &buf_)const;
void DoSet(int row_, int col_, const c4_Bytes &buf_);
private:
// this *is* used, as override
virtual c4_Handler *CreateHandler(const c4_Property &);
// this *is* used, as Q_DECL_OVERRIDE
c4_Handler *CreateHandler(const c4_Property &) Q_DECL_OVERRIDE;
};
/////////////////////////////////////////////////////////////////////////////
......
......@@ -45,20 +45,20 @@ protected:
public:
c4_FilterSeq(c4_Sequence &seq_, c4_Cursor low_, c4_Cursor high_);
virtual int RemapIndex(int, const c4_Sequence *)const;
int RemapIndex(int, const c4_Sequence *)const Q_DECL_OVERRIDE;
virtual int NumRows()const;
int NumRows()const Q_DECL_OVERRIDE;
virtual int Compare(int, c4_Cursor)const;
virtual bool Get(int, int, c4_Bytes &);
int Compare(int, c4_Cursor)const Q_DECL_OVERRIDE;
bool Get(int, int, c4_Bytes &) Q_DECL_OVERRIDE;
virtual void InsertAt(int, c4_Cursor, int = 1);
virtual void RemoveAt(int, int = 1);
virtual void Set(int, const c4_Property &, const c4_Bytes &);
void InsertAt(int, c4_Cursor, int = 1) Q_DECL_OVERRIDE;
void RemoveAt(int, int = 1) Q_DECL_OVERRIDE;
void Set(int, const c4_Property &, const c4_Bytes &) Q_DECL_OVERRIDE;
virtual void SetSize(int);
virtual c4_Notifier *PreChange(c4_Notifier &nf_);
virtual void PostChange(c4_Notifier &nf_);
c4_Notifier *PreChange(c4_Notifier &nf_) Q_DECL_OVERRIDE;
void PostChange(c4_Notifier &nf_) Q_DECL_OVERRIDE;
};
/////////////////////////////////////////////////////////////////////////////
......@@ -488,8 +488,8 @@ public:
c4_SortSeq(c4_Sequence &seq_, c4_Sequence *down_);
virtual ~c4_SortSeq();
virtual c4_Notifier *PreChange(c4_Notifier &nf_);
virtual void PostChange(c4_Notifier &nf_);
c4_Notifier *PreChange(c4_Notifier &nf_) Q_DECL_OVERRIDE;
void PostChange(c4_Notifier &nf_) Q_DECL_OVERRIDE;
private:
struct c4_SortInfo {
......@@ -511,7 +511,7 @@ private:
void MergeSortThis(T *ar, int size, T scratch[]);
void MergeSort(T ar[], int size);
virtual int Compare(int, c4_Cursor)const;
int Compare(int, c4_Cursor)const Q_DECL_OVERRIDE;
int PosInMap(c4_Cursor cursor_)const;
c4_SortInfo *_info;
......@@ -872,13 +872,13 @@ public:
c4_ProjectSeq(c4_Sequence &seq_, c4_Sequence &in_, bool, c4_Sequence *out_);
virtual ~c4_ProjectSeq();
virtual int NumHandlers()const;
virtual c4_Handler &NthHandler(int)const;
virtual const c4_Sequence *HandlerContext(int)const;
virtual int AddHandler(c4_Handler *);
int NumHandlers()const Q_DECL_OVERRIDE;
c4_Handler &NthHandler(int)const Q_DECL_OVERRIDE;
const c4_Sequence *HandlerContext(int)const Q_DECL_OVERRIDE;
int AddHandler(c4_Handler *) Q_DECL_OVERRIDE;
virtual bool Get(int, int, c4_Bytes &);
virtual void Set(int, const c4_Property &, const c4_Bytes &);
bool Get(int, int, c4_Bytes &) Q_DECL_OVERRIDE;
void Set(int, const c4_Property &, const c4_Bytes &) Q_DECL_OVERRIDE;
};
/////////////////////////////////////////////////////////////////////////////
......
......@@ -21,7 +21,7 @@ public:
c4_FormatHandler(const c4_Property &prop_, c4_HandlerSeq &owner_);
virtual ~c4_FormatHandler();
virtual bool IsPersistent()const;
bool IsPersistent()const Q_DECL_OVERRIDE;
protected:
c4_HandlerSeq &Owner()const;
......@@ -53,20 +53,20 @@ public:
c4_FormatX(const c4_Property &prop_, c4_HandlerSeq &seq_, int width_ =
sizeof(t4_i32));
virtual void Define(int, const t4_byte **);
virtual void OldDefine(char type_, c4_Persist &);
virtual void FlipBytes();
void Define(int, const t4_byte **) Q_DECL_OVERRIDE;
void OldDefine(char type_, c4_Persist &) Q_DECL_OVERRIDE;
void FlipBytes() Q_DECL_OVERRIDE;
virtual int ItemSize(int index_);
virtual const void *Get(int index_, int &length_);
virtual void Set(int index_, const c4_Bytes &buf_);
int ItemSize(int index_) Q_DECL_OVERRIDE;
const void *Get(int index_, int &length_) Q_DECL_OVERRIDE;
void Set(int index_, const c4_Bytes &buf_) Q_DECL_OVERRIDE;
virtual void Insert(int index_, const c4_Bytes &buf_, int count_);
virtual void Remove(int index_, int count_);
void Insert(int index_, const c4_Bytes &buf_, int count_) Q_DECL_OVERRIDE;
void Remove(int index_, int count_) Q_DECL_OVERRIDE;
virtual void Commit(c4_SaveContext &ar_);
void Commit(c4_SaveContext &ar_) Q_DECL_OVERRIDE;
virtual void Unmapped();
void Unmapped() Q_DECL_OVERRIDE;
static int DoCompare(const c4_Bytes &b1_, const c4_Bytes &b2_);
......@@ -150,7 +150,7 @@ class c4_FormatL: public c4_FormatX
public:
c4_FormatL(const c4_Property &prop_, c4_HandlerSeq &seq_);
virtual void Define(int, const t4_byte **);
void Define(int, const t4_byte **) Q_DECL_OVERRIDE;
static int DoCompare(const c4_Bytes &b1_, const c4_Bytes &b2_);
};
......@@ -218,7 +218,7 @@ class c4_FormatD: public c4_FormatX
public:
c4_FormatD(const c4_Property &prop_, c4_HandlerSeq &seq_);
virtual void Define(int, const t4_byte **);
void Define(int, const t4_byte **) Q_DECL_OVERRIDE;
static int DoCompare(const c4_Bytes &b1_, const c4_Bytes &b2_);
};
......@@ -276,20 +276,20 @@ public:
c4_FormatB(const c4_Property &prop_, c4_HandlerSeq &seq_);
virtual ~c4_FormatB();
virtual void Define(int, const t4_byte **);
virtual void OldDefine(char type_, c4_Persist &);
virtual void Commit(c4_SaveContext &ar_);
void Define(int, const t4_byte **) Q_DECL_OVERRIDE;
void OldDefine(char type_, c4_Persist &) Q_DECL_OVERRIDE;
void Commit(c4_SaveContext &ar_) Q_DECL_OVERRIDE;
virtual int ItemSize(int index_);
virtual const void *Get(int index_, int &length_);
virtual void Set(int index_, const c4_Bytes &buf_);
int ItemSize(int index_) Q_DECL_OVERRIDE;
const void *Get(int index_, int &length_) Q_DECL_OVERRIDE;
void Set(int index_, const c4_Bytes &buf_) Q_DECL_OVERRIDE;
virtual void Insert(int index_, const c4_Bytes &buf_, int count_);
virtual void Remove(int index_, int count_);
void Insert(int index_, const c4_Bytes &buf_, int count_) Q_DECL_OVERRIDE;
void Remove(int index_, int count_) Q_DECL_OVERRIDE;
virtual c4_Column *GetNthMemoCol(int index_, bool alloc_);
c4_Column *GetNthMemoCol(int index_, bool alloc_) Q_DECL_OVERRIDE;
virtual void Unmapped();
void Unmapped() Q_DECL_OVERRIDE;
static int DoCompare(const c4_Bytes &b1_, const c4_Bytes &b2_);
......@@ -882,11 +882,11 @@ class c4_FormatS: public c4_FormatB
public:
c4_FormatS(const c4_Property &prop_, c4_HandlerSeq &seq_);
virtual int ItemSize(int index_);
virtual const void *Get(int index_, int &length_);
virtual void Set(int index_, const c4_Bytes &buf_);
int ItemSize(int index_) Q_DECL_OVERRIDE;
const void *Get(int index_, int &length_) Q_DECL_OVERRIDE;
void Set(int index_, const c4_Bytes &buf_) Q_DECL_OVERRIDE;
virtual void Insert(int index_, const c4_Bytes &buf_, int count_);
void Insert(int index_, const c4_Bytes &buf_, int count_) Q_DECL_OVERRIDE;
static int DoCompare(const c4_Bytes &b1_, const c4_Bytes &b2_);
};
......@@ -961,21 +961,21 @@ public:
c4_FormatV(const c4_Property &prop_, c4_HandlerSeq &seq_);
virtual ~c4_FormatV();
virtual void Define(int rows_, const t4_byte **ptr_);
virtual void OldDefine(char type_, c4_Persist &);
virtual void Commit(c4_SaveContext &ar_);
void Define(int rows_, const t4_byte **ptr_) Q_DECL_OVERRIDE;
void OldDefine(char type_, c4_Persist &) Q_DECL_OVERRIDE;
void Commit(c4_SaveContext &ar_) Q_DECL_OVERRIDE;
virtual void FlipBytes();
void FlipBytes() Q_DECL_OVERRIDE;
virtual int ItemSize(int index_);
virtual const void *Get(int index_, int &length_);
virtual void Set(int index_, const c4_Bytes &buf_);
int ItemSize(int index_) Q_DECL_OVERRIDE;
const void *Get(int index_, int &length_) Q_DECL_OVERRIDE;
void Set(int index_, const c4_Bytes &buf_) Q_DECL_OVERRIDE;
virtual void Insert(int index_, const c4_Bytes &buf_, int count_);
virtual void Remove(int index_, int count_);
void Insert(int index_, const c4_Bytes &buf_, int count_) Q_DECL_OVERRIDE;
void Remove(int index_, int count_) Q_DECL_OVERRIDE;
virtual void Unmapped();
virtual bool HasSubview(int index_);
void Unmapped() Q_DECL_OVERRIDE;
bool HasSubview(int index_) Q_DECL_OVERRIDE;
static int DoCompare(const c4_Bytes &b1_, const c4_Bytes &b2_);
......
......@@ -94,13 +94,13 @@ public:
c4_HandlerSeq(c4_Persist *);
c4_HandlerSeq(c4_HandlerSeq &owner_, c4_Handler *handler_);
virtual int NumRows()const;
virtual void SetNumRows(int);
int NumRows()const Q_DECL_OVERRIDE;
void SetNumRows(int) Q_DECL_OVERRIDE;
virtual int NumHandlers()const;
virtual c4_Handler &NthHandler(int)const;
virtual const c4_Sequence *HandlerContext(int)const;
virtual int AddHandler(c4_Handler *);
int NumHandlers()const Q_DECL_OVERRIDE;
c4_Handler &NthHandler(int)const Q_DECL_OVERRIDE;
const c4_Sequence *HandlerContext(int)const Q_DECL_OVERRIDE;
int AddHandler(c4_Handler *) Q_DECL_OVERRIDE;
void DefineRoot();
void Restructure(c4_Field &, bool remove_);
......@@ -109,9 +109,9 @@ public:
void DetermineSpaceUsage();
c4_Field &Definition()const;
const char *Description();
const char *Description() Q_DECL_OVERRIDE;
c4_HandlerSeq &Parent()const;
virtual c4_Persist *Persist()const;
c4_Persist *Persist()const Q_DECL_OVERRIDE;
c4_Field &Field(int)const;
int NumFields()const;
......@@ -133,7 +133,7 @@ public:
static void BuildMeta(int, int, c4_View &, const c4_Field &);
protected:
virtual c4_Handler *CreateHandler(const c4_Property &);
c4_Handler *CreateHandler(const c4_Property &) Q_DECL_OVERRIDE;
virtual ~c4_HandlerSeq();
};
......
......@@ -19,23 +19,23 @@ public:
c4_ReadOnlyViewer(c4_Sequence &seq_): _base(&seq_) {}
virtual ~c4_ReadOnlyViewer() {}
virtual c4_View GetTemplate()
c4_View GetTemplate() Q_DECL_OVERRIDE
{
return _base.Clone();
}
virtual int GetSize()
int GetSize() Q_DECL_OVERRIDE
{
return _base.GetSize();
}
virtual int Lookup(c4_Cursor key_, int &count_)
int Lookup(c4_Cursor key_, int &count_) Q_DECL_OVERRIDE
{
int pos = 0;
count_ = _base.GetSize();
return _base.RestrictSearch(*key_, pos, count_);
}
virtual bool GetItem(int row_, int col_, c4_Bytes &buf_)
bool GetItem(int row_, int col_, c4_Bytes &buf_) Q_DECL_OVERRIDE
{
return _base.GetItem(row_, col_, buf_);
}
......@@ -93,13 +93,13 @@ public:
c4_HashViewer(c4_Sequence &seq_, int numKeys_, c4_Sequence *map_ = 0);
virtual ~c4_HashViewer();
virtual c4_View GetTemplate();
virtual int GetSize();
virtual int Lookup(c4_Cursor key_, int &count_);
virtual bool GetItem(int row_, int col_, c4_Bytes &buf_);
virtual bool SetItem(int row_, int col_, const c4_Bytes &buf_);
virtual bool InsertRows(int pos_, c4_Cursor value_, int count_ = 1);
virtual bool RemoveRows(int pos_, int count_ = 1);
c4_View GetTemplate() Q_DECL_OVERRIDE;
int GetSize() Q_DECL_OVERRIDE;
int Lookup(c4_Cursor key_, int &count_) Q_DECL_OVERRIDE;
bool GetItem(int row_, int col_, c4_Bytes &buf_) Q_DECL_OVERRIDE;
bool SetItem(int row_, int col_, const c4_Bytes &buf_) Q_DECL_OVERRIDE;
bool InsertRows(int pos_, c4_Cursor value_, int count_ = 1) Q_DECL_OVERRIDE;
bool RemoveRows(int pos_, int count_ = 1) Q_DECL_OVERRIDE;
};
/////////////////////////////////////////////////////////////////////////////
......@@ -535,12 +535,12 @@ public:
c4_BlockedViewer(c4_Sequence &seq_);
virtual ~c4_BlockedViewer();
virtual c4_View GetTemplate();
virtual int GetSize();
virtual bool GetItem(int row_, int col_, c4_Bytes &buf_);
virtual bool SetItem(int row_, int col_, const c4_Bytes &buf_);
virtual bool InsertRows(int pos_, c4_Cursor value_, int count_ = 1);
virtual bool RemoveRows(int pos_, int count_ = 1);
c4_View GetTemplate() Q_DECL_OVERRIDE;
int GetSize() Q_DECL_OVERRIDE;
bool GetItem(int row_, int col_, c4_Bytes &buf_) Q_DECL_OVERRIDE;
bool SetItem(int row_, int col_, const c4_Bytes &buf_) Q_DECL_OVERRIDE;
bool InsertRows(int pos_, c4_Cursor value_, int count_ = 1) Q_DECL_OVERRIDE;
bool RemoveRows(int pos_, int count_ = 1) Q_DECL_OVERRIDE;
};
/////////////////////////////////////////////////////////////////////////////
......@@ -891,13 +891,13 @@ public:
c4_OrderedViewer(c4_Sequence &seq_, int numKeys_);
virtual ~c4_OrderedViewer();
virtual c4_View GetTemplate();
virtual int GetSize();
virtual int Lookup(c4_Cursor key_, int &count_);
virtual bool GetItem(int row_, int col_, c4_Bytes &buf_);
virtual bool SetItem(int row_, int col_, const c4_Bytes &buf_);
virtual bool InsertRows(int pos_, c4_Cursor value_, int count_ = 1);
virtual bool RemoveRows(int pos_, int count_ = 1);
c4_View GetTemplate() Q_DECL_OVERRIDE;
int GetSize() Q_DECL_OVERRIDE;
int Lookup(c4_Cursor key_, int &count_) Q_DECL_OVERRIDE;
bool GetItem(int row_, int col_, c4_Bytes &buf_) Q_DECL_OVERRIDE;
bool SetItem(int row_, int col_, const c4_Bytes &buf_) Q_DECL_OVERRIDE;
bool InsertRows(int pos_, c4_Cursor value_, int count_ = 1) Q_DECL_OVERRIDE;