axis2_any_content_type_ops Struct Reference
[any content type]

#include <axis2_any_content_type.h>

List of all members.

Public Attributes

axis2_status_t(* add_value )(struct axis2_any_content_type *any_content_type, const axis2_env_t *env, axis2_qname_t *qname, axis2_char_t *value)
axis2_char_t *(* get_value )(const axis2_any_content_type_t *any_content_type, const axis2_env_t *env, axis2_qname_t *qname)
axis2_hash_t *(* get_value_map )(const axis2_any_content_type_t *any_content_type, const axis2_env_t *env)
axis2_status_t(* free )(struct axis2_any_content_type *any_content_type, const axis2_env_t *env)


Detailed Description

any_content_type ops struct


Member Data Documentation

axis2_status_t( * axis2_any_content_type_ops::add_value)(struct axis2_any_content_type *any_content_type, const axis2_env_t *env, axis2_qname_t *qname, axis2_char_t *value)
 

Adds given value to the content value map.

Parameters:
any_content_type any_content_type struct. cannot be NULL.
env pointer to environment struct. MUST NOT be NULL.
qname pointer to qname
value value to be added.
Returns:
AXIS2_SUCCESS on success else AXIS2_FAILURE

axis2_status_t( * axis2_any_content_type_ops::free)(struct axis2_any_content_type *any_content_type, const axis2_env_t *env)
 

Frees the given any_content_type struct

Parameters:
any_content_type any_content_type struct. cannot be NULL.
env pointer to environment struct. MUST NOT be NULL.
Returns:
AXIS2_SUCCESS on success else AXIS2_FAILURE

axis2_char_t*( * axis2_any_content_type_ops::get_value)(const axis2_any_content_type_t *any_content_type, const axis2_env_t *env, axis2_qname_t *qname)
 

Gets the value from the content value map.

Parameters:
any_content_type any_content_type struct. cannot be NULL.
env pointer to environment struct. MUST NOT be NULL.
qname qname of the corresponging value to be retrived
Returns:
Pointer to the value if present, else returns NULL. Environment status would be set to AXIS2_FAILURE on error.

axis2_hash_t*( * axis2_any_content_type_ops::get_value_map)(const axis2_any_content_type_t *any_content_type, const axis2_env_t *env)
 

Gets the map of values

Parameters:
any_content_type any_content_type struct. cannot be NULL.
env pointer to environment struct. MUST NOT be NULL.
Returns:
Pointer to the value map. Would return NULL and set Environment status to AXIS2_FAILURE on error.


The documentation for this struct was generated from the following file:
Generated on Thu Aug 31 17:32:40 2006 for Axis2/C by  doxygen 1.4.6