axis2_properties_ops Struct Reference
[properties]

properties ops struct Encapsulator struct for ops of axis2_properties_ops More...

#include <axis2_properties.h>

List of all members.

Public Attributes

axis2_status_t(* free )(axis2_properties_t *properties, const axis2_env_t *env)
axis2_char_t *(* get_property )(axis2_properties_t *properties, const axis2_env_t *env, axis2_char_t *key)
axis2_status_t(* set_property )(axis2_properties_t *properties, const axis2_env_t *env, axis2_char_t *key, axis2_char_t *value)
axis2_hash_t *(* get_all )(axis2_properties_t *properties, const axis2_env_t *env)
axis2_status_t(* load )(axis2_properties_t *properties, const axis2_env_t *env, axis2_char_t *input_filename)
axis2_status_t(* store )(axis2_properties_t *properites, const axis2_env_t *env, FILE *output)


Detailed Description

properties ops struct Encapsulator struct for ops of axis2_properties_ops


Member Data Documentation

axis2_status_t( * axis2_properties_ops::free)(axis2_properties_t *properties, const axis2_env_t *env)

free w2c_properties.

Parameters:
properties pointer to properties struct
env Environment. MUST NOT be NULL
Returns:
status of the op. AXIS2_SUCCESS on success else AXIS2_FAILURE

axis2_char_t*( * axis2_properties_ops::get_property)(axis2_properties_t *properties, const axis2_env_t *env, axis2_char_t *key)

get string value for property with specified key.

Parameters:
properties pointer to properties struct
env Environment. MUST NOT be NULL
key MUST NOT be NULL
Returns:
value of the property

axis2_status_t( * axis2_properties_ops::set_property)(axis2_properties_t *properties, const axis2_env_t *env, axis2_char_t *key, axis2_char_t *value)

set a property ( key, value) pair.

Parameters:
properties pointer to properties struct
env Environment. MUST NOT be NULL
key Property Key. MUST NOT be NULL
value Property Value
Returns:
status of the op. AXIS2_SUCCESS on success else AXIS2_FAILURE

axis2_hash_t*( * axis2_properties_ops::get_all)(axis2_properties_t *properties, const axis2_env_t *env)

retrieve the hash with all the properties

Parameters:
properties pointer to properties struct
env Environment. MUST NOT be NULL
Returns:
hash (key,value)

axis2_status_t( * axis2_properties_ops::load)(axis2_properties_t *properties, const axis2_env_t *env, axis2_char_t *input_filename)

load properties

Parameters:
properties pointer to properties struct
env Environment. MUST NOT be NULL
input Input Stream. MUST NOT be NULL
Returns:
status of the op. AXIS2_SUCCESS on success else AXIS2_FAILURE

axis2_status_t( * axis2_properties_ops::store)(axis2_properties_t *properites, const axis2_env_t *env, FILE *output)

store properties

Parameters:
properties pointer to properties struct
env Environment. MUST NOT be NULL
ouput Output Stream. MUST NOT be NULL
Returns:
status of the op. AXIS2_SUCCESS on success else AXIS2_FAILURE


The documentation for this struct was generated from the following file:
Generated on Wed Dec 20 20:14:15 2006 for Axis2/C by  doxygen 1.5.1