?? gistpredicate.cpp
字號:
// -*- Mode: C++ -*-
// GiSTpredicate.cpp
//
// Copyright (c) 1996, Regents of the University of California
// $Header: /cvsroot/fastdb/fastdb/GiST/libGiST/GiSTpredicate.cpp,v 1.1 2007/07/18 20:45:50 knizhnik Exp $
#include "GiST.h"
int PtrPredicate::Consistent(const GiSTentry& entry) const
{
return !entry.IsLeaf() || entry.Ptr() == page;
}
GiSTobject* PtrPredicate::Copy() const
{
return new PtrPredicate(page);
}
#ifdef PRINTING_OBJECTS
void PtrPredicate::Print(ostream& os) const
{
os << "ptr = " << page;
}
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -