#include <axis2_desc.h>
Public Attributes | |
axis2_status_t(* | free )(axis2_desc_t *desc, const axis2_env_t *env) |
axis2_status_t(* | add_param )(axis2_desc_t *desc, const axis2_env_t *env, axis2_param_t *param) |
axis2_param_t *(* | get_param )(const axis2_desc_t *desc, const axis2_env_t *env, const axis2_char_t *param_name) |
axis2_array_list_t *(* | get_all_params )(const axis2_desc_t *desc, const axis2_env_t *env) |
axis2_bool_t(* | is_param_locked )(const axis2_desc_t *desc, const axis2_env_t *env, const axis2_char_t *param_name) |
axis2_status_t(* | add_child )(const axis2_desc_t *desc, const axis2_env_t *env, const axis2_char_t *key, const void *child) |
axis2_hash_t *(* | get_all_children )(const axis2_desc_t *desc, const axis2_env_t *env) |
void *(* | get_child )(const axis2_desc_t *desc, const axis2_env_t *env, const axis2_char_t *key) |
axis2_status_t(* | remove_child )(const axis2_desc_t *desc, const axis2_env_t *env, const axis2_char_t *key) |
axis2_status_t( * axis2_desc_ops::free)(axis2_desc_t *desc, const axis2_env_t *env) |
Frees description struct.
desc | pointer to description | |
env | pointer to environment struct |
axis2_status_t( * axis2_desc_ops::add_param)(axis2_desc_t *desc, const axis2_env_t *env, axis2_param_t *param) |
Adds given parameter to the list of parameters.
desc | pointer to description | |
env | pointer to environment struct | |
param | pointer to parameter |
axis2_param_t*( * axis2_desc_ops::get_param)(const axis2_desc_t *desc, const axis2_env_t *env, const axis2_char_t *param_name) |
Gets named parameter.
desc | pointer to description | |
env | pointer to environment struct | |
param_name | parameter name string |
axis2_array_list_t*( * axis2_desc_ops::get_all_params)(const axis2_desc_t *desc, const axis2_env_t *env) |
Gets all parameters stored in description.
desc | pointer to description | |
env | pointer to environment struct |
axis2_bool_t( * axis2_desc_ops::is_param_locked)(const axis2_desc_t *desc, const axis2_env_t *env, const axis2_char_t *param_name) |
Checks if a named parameter is locked.
desc | pointer to description | |
env | pointer to environment struct | |
param_name | parameter name string |
axis2_status_t( * axis2_desc_ops::add_child)(const axis2_desc_t *desc, const axis2_env_t *env, const axis2_char_t *key, const void *child) |
Adds child to the description. The type of children is based on the level of the description hierarchy. As an example, service has children of type operation, service group has children of type service
desc | pointer to description | |
env | pointer to environment struct | |
key | key with which the child is to be added | |
child | child to be added |
axis2_hash_t*( * axis2_desc_ops::get_all_children)(const axis2_desc_t *desc, const axis2_env_t *env) |
Gets all children.
desc | pointer to description | |
env | pointer to environment struct |
void*( * axis2_desc_ops::get_child)(const axis2_desc_t *desc, const axis2_env_t *env, const axis2_char_t *key) |
Gets child with given key.
desc | pointer to description | |
env | pointer to environment struct | |
key | key with which the child is stored |
axis2_status_t( * axis2_desc_ops::remove_child)(const axis2_desc_t *desc, const axis2_env_t *env, const axis2_char_t *key) |
Removes the name child.
desc | pointer to description | |
env | pointer to environment struct | |
key | key that represents the child to be removed |