class ZSEARCHREQUEST : public ZSEARCHBASE

Z39.50 Search Request PDU Class

Inheritance:

Public Fields































Public Methods

inline INT AddDatabaseNames ()
inline INT AddLargeSetLowerBound ( INT4 argValue)
Add LargeSetLowerBound Entry
inline INT AddMediumSetElementSetNames ()
Add the Medium Set Element Name entry
inline INT AddMediumSetPresentNumber ( INT4 argValue)
Add MediumSetPresentNumber Entry
inline INT AddPreferredRecordSyntax ( STRING argValue)
Add Preferred Record Syntax
void AddProximity (BERBROWSER &Sub, INT4 Distance, INT Unit, GDT_BOOLEAN Order)
Add Term Proximity information to Search Request
inline INT AddQuery ()
Add a query subdirectory to PDU
inline INT AddReplaceIndicator ( INT4 argValue)
Add ReplaceIndicator Entry
inline INT AddResultSetName (const STRING & argValue)
Add ResultSetName Entry
inline INT AddSmallSetElementSetNames ()
Add the Small Set Element Name entry
inline INT AddSmallSetUpperBound ( INT4 argValue)
Add SmallSetUpperBound Entry
GDT_BOOLEAN AddTerm (BERBROWSER & b, const STRING& Term)
Add Search Term to Search Request
void GetDatabaseName (STRING *DBName)
Get The Database Names string
inline INT GetDatabaseNames (BERBROWSER* & Dir)
Get the Database Names Entry.
inline INT GetLargeSetLowerBound ( INT4 *argValue)
Get LargeSetLowerBound Entry
inline INT GetMediumSetElementSetNames (PBERBROWSER & Dir)
Get the Medium Set Element Name entry
inline INT GetMediumSetPresentNumber ( INT4 *argValue)
Get MediumSetPresentNumber Entry
inline INT GetPreferredRecordSyntax ( STRING *argValue)
Get Preferred Record Syntax
inline INT GetQuery (PBERBROWSER & Dir)
Get a query BERBROWSER from PDU
inline INT GetReplaceIndicator ( INT4 *argValue)
Get ReplaceIndicator Entry
inline INT GetResultSetName ( STRING *argValue)
Get ResultSetName Entry
inline INT GetSmallSetElementSetNames (PBERBROWSER & Dir)
Get the Small Set Element Name entry
inline INT GetSmallSetUpperBound ( INT4 *argValue)
Get SmallSetUpperBound Entry
inline INT HasDatabaseNames ()
Check for existence of Database Names Entry
inline INT HasLargeSetLowerBound ()
Check for Large Set Lower Bound
inline INT HasMediumSetElementSetNames ()
Check existance of Medium Set Element Name entry
inline INT HasMediumSetPresentNumber ()
Check for Medium Set Present Number
inline INT HasPreferredRecordSyntax ()
Check for Preferred Record Syntax
inline INT HasQuery ()
Check For Query
inline INT HasReplaceIndicator ()
Check for Replace Indicator
inline INT HasResultSetName ()
Check for Result Set Name
inline INT HasSmallSetElementSetNames ()
Check existance of Small Set Element Name entry
inline INT HasSmallSetUpperBound ()
Check for Small Set Upper Bound
void SetuserId (const STRING& id)
Set the user id
ZSEARCHREQUEST (PUCHR Buf, INT4 Length)
Basic Buffer Constructor
ZSEARCHREQUEST ( const STRING& RefId, const INT4 SmallSetUpperBound, const INT4 LargeSetLowerBound, const INT4 MedSetPresentNum, const INT4 ReplaceIndicator, const STRING& ResultSetName, const STRING& DatabaseNames, const CHR *SmallElementSetNames, const CHR *MediumElementSetNames, const STRING& PrefRecSyntax, const STRING& Query, const STRING& AttrSetId, const STRING& u, const INT QueryType=101)
Basic Parameter List Constructor

Private Fields

CHR GlobalUserId [256]
This is required for carrying User ID for Annotations, etc.

Private Methods

GDT_BOOLEAN AddBooleanTerm (BERBROWSER &b, const STRING &Operator, const STRING &Term1, const STRING &Term2)

Inherited from ZSEARCHBASE:

Inherited from ZPDU:

Public Methods

inline INT AddReferenceId(const STRING & argValue)
inline INT GetReferenceId( STRING *argValue)
inline INT HasReferenceId()

Protected Fields

* c_browser
BERBROWSER* c_root

Protected Methods

void Init()

Inherited from BERTREE:

Public Methods

void AddPointer(UCHR *p)
void DeletePointers()
void Error(CHR *Msg)
void ExitOnError(INT YesOrNo)
PUCHR GetRecord(INT4 *len)
void GetRecordLength(INT4 *Length)
void HexDir()
void HexDir(ostream &os)
friend ostream& operator<<(ostream& os, BERTREE& b)

Protected Fields

UCHR* c_buf
PDATA_DIR c_dir
INT c_exit_on_error
UCHR** c_ptrlist
c_ptrlist_count
c_ptrlist_maxcount

Private Fields

friend class BERBROWSER

Documentation

Z39.50 Search Request PDU Class
ZSEARCHREQUEST(PUCHR Buf, INT4 Length)
Basic Buffer Constructor

ZSEARCHREQUEST( const STRING& RefId, const INT4 SmallSetUpperBound, const INT4 LargeSetLowerBound, const INT4 MedSetPresentNum, const INT4 ReplaceIndicator, const STRING& ResultSetName, const STRING& DatabaseNames, const CHR *SmallElementSetNames, const CHR *MediumElementSetNames, const STRING& PrefRecSyntax, const STRING& Query, const STRING& AttrSetId, const STRING& u, const INT QueryType=101)
Basic Parameter List Constructor

inline INT HasSmallSetUpperBound()
Check for Small Set Upper Bound

inline INT GetSmallSetUpperBound( INT4 *argValue)
Get SmallSetUpperBound Entry

inline INT AddSmallSetUpperBound( INT4 argValue)
Add SmallSetUpperBound Entry

inline INT HasLargeSetLowerBound()
Check for Large Set Lower Bound

inline INT GetLargeSetLowerBound( INT4 *argValue)
Get LargeSetLowerBound Entry

inline INT AddLargeSetLowerBound( INT4 argValue)
Add LargeSetLowerBound Entry

inline INT HasMediumSetPresentNumber()
Check for Medium Set Present Number

inline INT GetMediumSetPresentNumber( INT4 *argValue)
Get MediumSetPresentNumber Entry

inline INT AddMediumSetPresentNumber( INT4 argValue)
Add MediumSetPresentNumber Entry

inline INT HasReplaceIndicator()
Check for Replace Indicator

inline INT GetReplaceIndicator( INT4 *argValue)
Get ReplaceIndicator Entry

inline INT AddReplaceIndicator( INT4 argValue)
Add ReplaceIndicator Entry

inline INT HasResultSetName()
Check for Result Set Name

inline INT GetResultSetName( STRING *argValue)
Get ResultSetName Entry

inline INT AddResultSetName(const STRING & argValue)
Add ResultSetName Entry

inline INT HasDatabaseNames()
Check for existence of Database Names Entry

inline INT AddDatabaseNames()

inline INT GetDatabaseNames(BERBROWSER* & Dir)
Get the Database Names Entry.

void GetDatabaseName(STRING *DBName)
Get The Database Names string

inline INT HasSmallSetElementSetNames()
Check existance of Small Set Element Name entry

inline INT AddSmallSetElementSetNames()
Add the Small Set Element Name entry

inline INT GetSmallSetElementSetNames(PBERBROWSER & Dir)
Get the Small Set Element Name entry

inline INT HasMediumSetElementSetNames()
Check existance of Medium Set Element Name entry

inline INT AddMediumSetElementSetNames()
Add the Medium Set Element Name entry

inline INT GetMediumSetElementSetNames(PBERBROWSER & Dir)
Get the Medium Set Element Name entry

inline INT HasPreferredRecordSyntax()
Check for Preferred Record Syntax

inline INT GetPreferredRecordSyntax( STRING *argValue)
Get Preferred Record Syntax

inline INT AddPreferredRecordSyntax( STRING argValue)
Add Preferred Record Syntax

inline INT HasQuery()
Check For Query

inline INT AddQuery()
Add a query subdirectory to PDU

inline INT GetQuery(PBERBROWSER & Dir)
Get a query BERBROWSER from PDU

GDT_BOOLEAN AddTerm(BERBROWSER & b, const STRING& Term)
Add Search Term to Search Request

void SetuserId(const STRING& id)
Set the user id

void AddProximity(BERBROWSER &Sub, INT4 Distance, INT Unit, GDT_BOOLEAN Order)
Add Term Proximity information to Search Request

CHR GlobalUserId[256]
This is required for carrying User ID for Annotations, etc.

GDT_BOOLEAN AddBooleanTerm(BERBROWSER &b, const STRING &Operator, const STRING &Term1, const STRING &Term2)

This class has no child classes.

alphabetic index hierarchy of classes

this page has been generated automatically by doc++

(c)opyright by Malte Z&oumlckler, Roland Wunderling
contact: doc++@zib.de