BeagleQueryPart

BeagleQueryPart

Synopsis

#define             BEAGLE_QUERY_PART_TARGET_ALL
enum                BeagleQueryPartLogic;
struct              BeagleQueryPart;
void                beagle_query_part_set_logic         (BeagleQueryPart *part,
                                                         BeagleQueryPartLogic logic);

Object Hierarchy

  GObject
   +----BeagleQueryPart
         +----BeagleQueryPartText
         +----BeagleQueryPartWildcard
         +----BeagleQueryPartUri
         +----BeagleQueryPartDate
         +----BeagleQueryPartOr
         +----BeagleQueryPartProperty
         +----BeagleQueryPartHuman

Description

Details

BEAGLE_QUERY_PART_TARGET_ALL

#define BEAGLE_QUERY_PART_TARGET_ALL "_all"


enum BeagleQueryPartLogic

typedef enum {
        BEAGLE_QUERY_PART_LOGIC_REQUIRED = 1,
	BEAGLE_QUERY_PART_LOGIC_PROHIBITED = 2
} BeagleQueryPartLogic;


struct BeagleQueryPart

struct BeagleQueryPart;


beagle_query_part_set_logic ()

void                beagle_query_part_set_logic         (BeagleQueryPart *part,
                                                         BeagleQueryPartLogic logic);

Set the BeagleQueryLogic for a BeagleQueryPart. This is used to determine whether this part should be required or prohibited.

part :

a BeagleQueryPart

logic :

a value in enum BeagleQueryLogic