Grid Community Toolkit
6.2.1705709074 (tag: v6.2.20240202)
|
RSL Accessor Functions. More...
Functions | |
int | globus_rsl_boolean_get_operator (globus_rsl_t *ast_node) |
Get the RSL operator used in a boolean RSL composition. More... | |
globus_list_t * | globus_rsl_boolean_get_operand_list (globus_rsl_t *ast_node) |
Get the RSL operand list from a boolean RSL composition. More... | |
globus_list_t ** | globus_rsl_boolean_get_operand_list_ref (globus_rsl_t *boolean_node) |
Get a reference to the RSL operand list from a boolean RSL composition. More... | |
char * | globus_rsl_relation_get_attribute (globus_rsl_t *ast_node) |
Get an RSL relation attribute name. More... | |
int | globus_rsl_relation_get_operator (globus_rsl_t *ast_node) |
Get an RSL relation operator. More... | |
globus_rsl_value_t * | globus_rsl_relation_get_value_sequence (globus_rsl_t *ast_node) |
Get the value of an RSL relation. More... | |
globus_rsl_value_t * | globus_rsl_relation_get_single_value (globus_rsl_t *ast_node) |
Get the single value of an RSL relation. More... | |
char * | globus_rsl_value_literal_get_string (globus_rsl_value_t *literal_node) |
Get the string value of an RSL literal. More... | |
globus_list_t * | globus_rsl_value_sequence_get_value_list (globus_rsl_value_t *sequence_node) |
Get the value list from an RSL value sequence. More... | |
globus_rsl_value_t * | globus_rsl_value_variable_get_sequence (globus_rsl_value_t *variable_node) |
Get the value sequence from an RSL variable reference. More... | |
char * | globus_rsl_value_variable_get_name (globus_rsl_value_t *variable_node) |
Get the name of an RSL variable reference. More... | |
char * | globus_rsl_value_variable_get_default (globus_rsl_value_t *variable_node) |
Get the default value of an RSL variable reference. More... | |
int | globus_rsl_value_variable_get_size (globus_rsl_value_t *variable_node) |
Get the size of the value list within an RSL variable reference node. More... | |
globus_rsl_value_t * | globus_rsl_value_concatenation_get_left (globus_rsl_value_t *concatenation_node) |
Get the left side of a concatenation value. More... | |
globus_rsl_value_t * | globus_rsl_value_concatenation_get_right (globus_rsl_value_t *concatenation_node) |
Get the right side of a concatenation value. More... | |
globus_list_t ** | globus_rsl_value_sequence_get_list_ref (globus_rsl_value_t *sequence_node) |
Get a reference to the list of values in a sequence. More... | |
RSL Accessor Functions.
globus_list_t* globus_rsl_boolean_get_operand_list | ( | globus_rsl_t * | ast_node | ) |
Get the RSL operand list from a boolean RSL composition.
The globus_rsl_boolean_get_operand_list() function returns the list of RSL syntax tree nodes that is joined by a boolean composition.
ast_node | The RSL syntax tree to inspect. |
globus_list_t** globus_rsl_boolean_get_operand_list_ref | ( | globus_rsl_t * | boolean_node | ) |
Get a reference to the RSL operand list from a boolean RSL composition.
The globus_rsl_boolean_get_operand_list_ref() function returns a pointer to the list of RSL syntax tree nodes that is joined by a boolean composition. If this list is modified, then the value of boolean syntax tree is modified.
boolean_node | The RSL syntax tree to inspect. |
int globus_rsl_boolean_get_operator | ( | globus_rsl_t * | ast_node | ) |
Get the RSL operator used in a boolean RSL composition.
The globus_rsl_boolean_get_operator() function returns the operator that is used by the boolean RSL composition.
ast_node | The RSL syntax tree to inspect. |
char* globus_rsl_relation_get_attribute | ( | globus_rsl_t * | ast_node | ) |
Get an RSL relation attribute name.
The globus_rsl_relation_get_attribute() function returns a pointer to the name of the attribute in an RSL relation. This return value is a shallow reference to the attribute name.
ast_node | The RSL relation node to inspect. |
int globus_rsl_relation_get_operator | ( | globus_rsl_t * | ast_node | ) |
Get an RSL relation operator.
The globus_rsl_relation_get_operator() function returns the operation type represented by the RSL relation node pointed to by the ast_node parameter.
ast_node | The RSL relation node to inspect. |
globus_rsl_value_t* globus_rsl_relation_get_single_value | ( | globus_rsl_t * | ast_node | ) |
Get the single value of an RSL relation.
The globus_rsl_relation_get_single_value() function returns the value of an RSL relation node pointed to by the ast_node parameter if the value is a sequence of one value.
ast_node | The RSL relation node to inspect. |
globus_rsl_value_t* globus_rsl_relation_get_value_sequence | ( | globus_rsl_t * | ast_node | ) |
Get the value of an RSL relation.
The globus_rsl_relation_get_value_sequence() function returns the value of an RSL relation node pointed to by the ast_node parameter.
ast_node | The RSL relation node to inspect. |
globus_rsl_value_t* globus_rsl_value_concatenation_get_left | ( | globus_rsl_value_t * | concatenation_node | ) |
Get the left side of a concatenation value.
The globus_rsl_value_concatenation_get_left() function returns the left side of an RSL value concatenation pointed to by the concatenation_node parameter.
concatenation_node | The RSL concatenation node to inspect. |
globus_rsl_value_t* globus_rsl_value_concatenation_get_right | ( | globus_rsl_value_t * | concatenation_node | ) |
Get the right side of a concatenation value.
The globus_rsl_value_concatenation_get_right() function returns the right side of an RSL value concatenation pointed to by the concatenation_node parameter.
concatenation_node | The RSL concatenation node to inspect. |
char* globus_rsl_value_literal_get_string | ( | globus_rsl_value_t * | literal_node | ) |
Get the string value of an RSL literal.
The globus_rsl_value_literal_get_string() function returns the string value of an RSL literal node pointed to by the literal_node parameter.
literal_node | The RSL literal node to inspect. |
globus_list_t** globus_rsl_value_sequence_get_list_ref | ( | globus_rsl_value_t * | sequence_node | ) |
Get a reference to the list of values in a sequence.
The globus_rsl_value_sequence_get_list_ref() function returns a reference to the list of values in a value sequence. Any changes to the elements of this list will affect the sequence_node parameter.
sequence_node | The RSL sequence node to inspect. |
globus_list_t* globus_rsl_value_sequence_get_value_list | ( | globus_rsl_value_t * | sequence_node | ) |
Get the value list from an RSL value sequence.
The globus_rsl_value_sequence_get_value_list() function returns the list of globus_rsl_value_t pointer values associated with the RSL value sequence pointed to by the sequence_node parameter.
sequence_node | The RSL sequence node to inspect. |
char* globus_rsl_value_variable_get_default | ( | globus_rsl_value_t * | variable_node | ) |
Get the default value of an RSL variable reference.
The globus_rsl_value_variable_get_default() function returns a pointer to the default value of the RSL variable pointed to by the variable_node parameter to use if the variable's name is not bound in the current evaluation context.
variable_node | The RSL variable node to inspect. |
char* globus_rsl_value_variable_get_name | ( | globus_rsl_value_t * | variable_node | ) |
Get the name of an RSL variable reference.
The globus_rsl_value_variable_get_name() function returns a pointer to the name of the RSL variable name pointed to by the variable_node parameter.
variable_node | The RSL variable node to inspect. |
globus_rsl_value_t* globus_rsl_value_variable_get_sequence | ( | globus_rsl_value_t * | variable_node | ) |
Get the value sequence from an RSL variable reference.
The globus_rsl_value_variable_get_sequence() function returns the sequence value associated with the RSL variable reference pointed to by the variable_node parameter.
variable_node | The RSL variable node to inspect. |
int globus_rsl_value_variable_get_size | ( | globus_rsl_value_t * | variable_node | ) |
Get the size of the value list within an RSL variable reference node.
The globus_rsl_value_variable_get_size() function returns the number of nodes in the RSL variable reference node pointed to by the variable_node parameter.
variable_node | The RSL variable node to inspect. |