Ql_path Class Reference

#include <Ql_path.hxx>

Collaboration diagram for Ql_path:

[legend]
List of all members.

Public Member Functions

 Ql_path ()
 Ql_path (Ql_path_node *, Ql_path_node *, Ql_operation *)
 Ql_path (Ql_operation *, Ql_operation *, Ql_operation *, Ql_operation *, Ql_operation *, Ql_operation *, Ql_operation *, Ql_operation *, Ql_operation *)
 ~Ql_path ()
void set_path_node (int, Ql_path_node *)
void set_data (int, Ql_operation *)
void set_schema_scan (int, Ql_operation *)
void set_schema_restr (int, Ql_operation *)
void set_schema_node (int, Ql_operation *)
void set_path_domain (Ql_operation *)
Ql_path_node * get_path_node (int)
Ql_operation * get_data (int)
Ql_operation * get_schema_scan (int)
Ql_operation * get_schema_restr (int)
Ql_operation * get_schema_node (int)
Ql_operation * get_path_domain ()

Detailed Description

A class representing RQL path components/expressions

Author:
Grigoris Karvounarakis
Version:
1.0


Constructor & Destructor Documentation

Ql_path::Ql_path (  ) 

"Default" constructor

Ql_path::Ql_path ( Ql_path_node *  lnode,
Ql_path_node *  rnode,
Ql_operation *  dom 
)

Constructor that also assigns the path component's left and right nodes and scan domain operation

Parameters:
lnode the left node of the path
rnode the right node of the path
domain the scan operation on the collection used in this path
See also:
Ql_path_node

Ql_path::Ql_path ( Ql_operation *  op1,
Ql_operation *  op2,
Ql_operation *  op3,
Ql_operation *  op4,
Ql_operation *  op5,
Ql_operation *  op6,
Ql_operation *  op7,
Ql_operation *  op8,
Ql_operation *  op9 
)

Constructor that creates internal left and right path nodes, using the specific operations passed as parameters, and assigns the scan domain operation

See also:
Ql_path_node

Ql_path::~Ql_path (  ) 

Destruction of a path object


Member Function Documentation

void Ql_path::set_path_node ( int  pos,
Ql_path_node *  pn 
)

Set the path node denoted by pos (0 for left, 1 for right) to pn

void Ql_path::set_data ( int  pos,
Ql_operation *  op 
)

Set the data scan operation of the node denoted by pos (0 for left, 1 for right) to op

void Ql_path::set_schema_scan ( int  pos,
Ql_operation *  op 
)

Set the schema scan operation of the node denoted by pos (0 for left, 1 for right) to op

void Ql_path::set_schema_restr ( int  pos,
Ql_operation *  op 
)

Set the schema fitering operation of the node denoted by pos (0 for left, 1 for right) to op

void Ql_path::set_schema_node ( int  pos,
Ql_operation *  op 
)

Set the schema domain operation of the node denoted by pos (0 for left, 1 for right) to op

void Ql_path::set_path_domain ( Ql_operation *  op  ) 

Set the path domain scan operation of the path to op

Ql_path_node * Ql_path::get_path_node ( int  pos  ) 

Returns:
the path node denoted by pos (0 for left, 1 for right)

Ql_operation * Ql_path::get_data ( int  pos  ) 

Returns:
the data scan operation of the node denoted by pos (0 for left, 1 for right)

Ql_operation * Ql_path::get_schema_scan ( int  pos  ) 

Returns:
the schema scan operation of the node denoted by pos (0 for left, 1 for right)

Ql_operation * Ql_path::get_schema_restr ( int  pos  ) 

Returns:
the schema filtering operation of the node denoted by pos (0 for left, 1 for right)

Ql_operation * Ql_path::get_schema_node ( int  pos  ) 

Returns:
the schema domain operation of the node denoted by pos (0 for left, 1 for right)

Ql_operation * Ql_path::get_path_domain (  ) 

Returns:
the path domain scan operation of the path


The documentation for this class was generated from the following files:
Generated on Thu Oct 26 16:42:10 2006 for rul by  doxygen 1.5.0