Main Page | Modules | Data Structures | Data Fields

Complex type: wsp_PolicyAttachmentType
[XML Types]

Modules

Data Structures

Defines

Typedefs

Functions

Variables


Define Documentation

#define WSP_POLICYATTACHMENTTYPE_NS   "http://schemas.xmlsoap.org/ws/2002/12/policy"
 

Namespace of the wsp_PolicyAttachmentType complex type.

#define WSP_POLICYATTACHMENTTYPE_LOCAL   "PolicyAttachmentType"
 

Local part of the QName of the wsp_PolicyAttachmentType complex type.


Typedef Documentation

typedef struct wsp_PolicyAttachmentType_s wsp_PolicyAttachmentType
 

The wsp_PolicyAttachmentType complex type, which represents the {http://schemas.xmlsoap.org/ws/2002/12/policy}PolicyAttachmentType element.

typedef wsp_PolicyAttachmentType* wsp_PolicyAttachmentType_o
 

The wsp_PolicyAttachmentType_o complex type, which represents an optional instance of a {http://schemas.xmlsoap.org/ws/2002/12/policy}PolicyAttachmentType element.

typedef struct wsp_PolicyAttachmentType_array_s wsp_PolicyAttachmentType_array
 

Array of wsp_PolicyAttachmentType elements.

This structure type is used represent an array of wsp_PolicyAttachmentType elements.

Arrays are allocated by wsp_PolicyAttachmentType_array_init() and freed by calling wsp_PolicyAttachmentType_array_destroy(). Elements may be added to an array by calling wsp_PolicyAttachmentType_array_push().

typedef wsp_PolicyAttachmentType_choice* wsp_PolicyAttachmentType_choice_o
 

The wsp_PolicyAttachmentType_o complex type, which represents an optional instance of the choice used by the {http://schemas.xmlsoap.org/ws/2002/12/policy}choice 29 element.


Function Documentation

globus_result_t wsp_PolicyAttachmentType_init (
     wsp_PolicyAttachmentType ** inst )
 

Initialize a wsp_PolicyAttachmentType.

Allocates a new wsp_PolicyAttachmentType and initializes its contents. When the structure is no longer needed, it should be freed by calling wsp_PolicyAttachmentType_destroy().

Parameters:
inst Pointer to set to a newly allocated instance.

void wsp_PolicyAttachmentType_destroy (
     wsp_PolicyAttachmentType * inst )
 

Destroy a wsp_PolicyAttachmentType.

Frees a wsp_PolicyAttachmentType. All subelements and attributes will be destroyed (and freed if they are optional).

Parameters:
inst Pointer to the instance to destroy.

globus_result_t wsp_PolicyAttachmentType_copy (
     wsp_PolicyAttachmentType ** dest,
     const wsp_PolicyAttachmentType * src)
 

Copy a wsp_PolicyAttachmentType.

Perform a deep copy of a wsp_PolicyAttachmentType. The dest structure will be allocated, and then a copy of the contents of src and its subelements and attributes will be made to dest.

Parameters:
dest The wsp_PolicyAttachmentType structure to be initialized with a copy of the contents of the src structure.
src Source wsp_PolicyAttachmentType to be copied.

globus_result_t wsp_PolicyAttachmentType_init_contents (
     wsp_PolicyAttachmentType * instance )
 

Initialize the contents of a wsp_PolicyAttachmentType.

Initialize the contents of a wsp_PolicyAttachmentType. This should be used when the structure is allocated on the stack or by a some allocator besides wsp_PolicyAttachmentType_init(). The contents may be freed by calling wsp_PolicyAttachmentType_destroy_contents().

Parameters:
instance Pointer to an allocated but uninitialized wsp_PolicyAttachmentType.

void wsp_PolicyAttachmentType_destroy_contents (
     wsp_PolicyAttachmentType * inst )
 

Destroy the contents of a wsp_PolicyAttachmentType.

Destroy the subelements and attributes of the given wsp_PolicyAttachmentType.

Parameters:
inst Pointer to a wsp_PolicyAttachmentType instance to destroy.

globus_result_t wsp_PolicyAttachmentType_copy_contents (
     wsp_PolicyAttachmentType * dest,
     const wsp_PolicyAttachmentType * src)
 

Copy the contents of a wsp_PolicyAttachmentType.

Perform a deep copy of the contents of a wsp_PolicyAttachmentType. The dest strcuture must be allocated before making this call. A copy of the subelements and attributes of @ src will be made to dest.

Parameters:
dest Structure to be initialized with copies of the contents of src.
src Source wsp_PolicyAttachmentType to be copied.

globus_result_t wsp_PolicyAttachmentType_deserialize (
     const xsd_QName * element_name,
     wsp_PolicyAttachmentType * val,
     globus_soap_message_handle_t message_handle,
     globus_xsd_element_options_t options)
 

Deserialize a wsp_PolicyAttachmentType.

Deserialize an element containing a wsp_PolicyAttachmentType element.

Parameters:
element_name The name of the element which should enclose the wsp_PolicyAttachmentType.
val Pointer to the wsp_PolicyAttachmentType which will be initialized with the value of the element.
message_handle The handle to deserialize the element from.
options Deserialization options.

globus_result_t wsp_PolicyAttachmentType_deserialize_contents (
     const xsd_QName * element_name,
     wsp_PolicyAttachmentType * val,
     globus_soap_message_handle_t message_handle,
     globus_xsd_element_options_t options)
 

Deserialize a wsp_PolicyAttachmentType.

Deserialize a wsp_PolicyAttachmentType whose enclosing element has already been deserialized.

Parameters:
element_name Ignored.
val Pointer to the wsp_PolicyAttachmentType which will be initialized with the value of the current element.
message_handle The handle to deserialize the element from.
options Deserialization options.

globus_result_t wsp_PolicyAttachmentType_deserialize_pointer (
     const xsd_QName * element_name,
     wsp_PolicyAttachmentType ** instance,
     globus_soap_message_handle_t message_handle,
     globus_xsd_element_options_t options)
 

Deserialize an optional wsp_PolicyAttachmentType.

Deserialize the next element if it contains a wsp_PolicyAttachmentType.

Parameters:
element_name The name of the element which should enclose the wsp_PolicyAttachmentType.
instance Pointer to the wsp_PolicyAttachmentType * which will be allocated and initialized with the value of the element if it is present.
message_handle The handle to deserialize the element from.
options Deserialization options.

globus_result_t wsp_PolicyAttachmentType_array_init (
     wsp_PolicyAttachmentType_array ** inst )
 

Initialize an array of wsp_PolicyAttachmentType elements.

Allocates a new array of 0 elements. When this array is no longer used, it should be freed by calling wsp_PolicyAttachmentType_array_destroy().

Parameters:
inst Pointer to set to a newly allocated array instance.

void wsp_PolicyAttachmentType_array_destroy (
     wsp_PolicyAttachmentType_array * inst )
 

Destroy an array of wsp_PolicyAttachmentType elements.

Frees an array of wsp_PolicyAttachmentType elements. The contents of each element element in the array be destroyed by calling wsp_PolicyAttachmentType_destroy_contents().

Parameters:
inst Pointer to array instance to destroy.

globus_result_t wsp_PolicyAttachmentType_array_copy (
     wsp_PolicyAttachmentType_array ** dest,
     const wsp_PolicyAttachmentType_array * src)
 

Copy an array of wsp_PolicyAttachmentType elements.

Perform a deep copy of an array of wsp_PolicyAttachmentType elements. The dest array will be allocated, and then a copy of the contents of each element in src will be made to dest.

Parameters:
dest Array to be initialized with copies of the elements in src.
src Source array to be copied.

globus_result_t wsp_PolicyAttachmentType_array_init_contents (
     wsp_PolicyAttachmentType_array * inst )
 

Initialize the contents of an array of wsp_PolicyAttachmentType elements.

Initialize the contents of an array of wsp_PolicyAttachmentType elements. Used when the array is allocated on the stack or by a some allocator besides wsp_PolicyAttachmentType_array_init(). The contents of the array may be freed by calling wsp_PolicyAttachmentType_array_destroy_contents().

Parameters:
inst Pointer to an allocated but uninitialized array.

void wsp_PolicyAttachmentType_array_destroy_contents (
     wsp_PolicyAttachmentType_array * inst )
 

Destroy the contents of an array of wsp_PolicyAttachmentType elements.

Destroy the elements in an array of wsp_PolicyAttachmentType elements. The contents of each element in the array be destroyed by calling wsp_PolicyAttachmentType_destroy_contents() and the array will be reset to be empty.

Parameters:
inst Pointer to array instance to destroy.

globus_result_t wsp_PolicyAttachmentType_array_copy_contents (
     wsp_PolicyAttachmentType_array * dest,
     const wsp_PolicyAttachmentType_array * src)
 

Copy the contents of an array of wsp_PolicyAttachmentType elements.

Perform a deep copy of an array of wsp_PolicyAttachmentType elements. The dest array must be allocated before making this call. A copy of the contents of each element in src will be made to dest.

Parameters:
dest Array to be initialized with copies of the elements in src.
src Source array to be copied.

struct wsp_PolicyAttachmentType_s* wsp_PolicyAttachmentType_array_push (
     wsp_PolicyAttachmentType_array * array )
 

Append a new wsp_PolicyAttachmentType to an array.

Allocate and initialize a new wsp_PolicyAttachmentType structure, adding it to the end of the given array.

Parameters:
array Array to be appended to.
Returns:
This function returns the newly allocated element.

globus_result_t wsp_PolicyAttachmentType_array_serialize (
     const xsd_QName * element,
     const wsp_PolicyAttachmentType_array * array_instance,
     globus_soap_message_handle_t message_handle,
     globus_xsd_element_options_t options)
 

Serialize an array of wsp_PolicyAttachmentType elements.

Serialize an element containing an array of wsp_PolicyAttachmentType elements.

Parameters:
element The name of the element which will contain the array.
array_instance The array to serialize
message_handle The handle to serialize the element on.
options Serialization options.

globus_result_t wsp_PolicyAttachmentType_array_deserialize (
     const xsd_QName * element,
     wsp_PolicyAttachmentType_array * array_instance,
     globus_soap_message_handle_t message_handle,
     globus_xsd_element_options_t options)
 

Deserialize an array of wsp_PolicyAttachmentType elements.

Deserialize an element containing an array of wsp_PolicyAttachmentType elements.

Parameters:
element The name of the element which should enclose the array.
array_instance The array to deserialize into
message_handle The handle to deserialize the element from.
options Deserialization options.


Variable Documentation

xsd_QName wsp_PolicyAttachmentType_qname
 

QName of the wsp_PolicyAttachmentType complex type.

struct globus_xsd_type_info_s wsp_PolicyAttachmentType_info
 

Initial value:

{
    &wsp_PolicyAttachmentType_qname,
    wsp_PolicyAttachmentType_serialize_wrapper,
    wsp_PolicyAttachmentType_deserialize_pointer_wrapper,
    wsp_PolicyAttachmentType_init_wrapper,
    wsp_PolicyAttachmentType_destroy_wrapper,
    wsp_PolicyAttachmentType_copy_wrapper,
    wsp_PolicyAttachmentType_init_contents_wrapper,
    wsp_PolicyAttachmentType_destroy_contents_wrapper,
    wsp_PolicyAttachmentType_copy_contents_wrapper,
    sizeof(wsp_PolicyAttachmentType),
    NULL,
    &wsp_PolicyAttachmentType_contents_info,
    &wsp_PolicyAttachmentType_array_info
}
Type information for serializing and deserializing wsp_PolicyAttachmentType elements.

struct globus_xsd_type_info_s wsp_PolicyAttachmentType_info
 

Type information for serializing and deserializing wsp_PolicyAttachmentType elements.

struct globus_xsd_type_info_s wsp_PolicyAttachmentType_array_info
 

Initial value:

{
    &wsp_PolicyAttachmentType_qname,
    wsp_PolicyAttachmentType_array_serialize_wrapper,
    wsp_PolicyAttachmentType_array_deserialize_wrapper,
    wsp_PolicyAttachmentType_array_init_wrapper,
    wsp_PolicyAttachmentType_array_destroy_wrapper,
    wsp_PolicyAttachmentType_array_copy_wrapper,
    wsp_PolicyAttachmentType_array_init_contents_wrapper,
    wsp_PolicyAttachmentType_array_destroy_contents_wrapper,
    wsp_PolicyAttachmentType_array_copy_contents_wrapper,
    sizeof(wsp_PolicyAttachmentType),
    wsp_PolicyAttachmentType_array_push_wrapper,
    NULL,
    NULL
}
Type information for serializing and deserializing arrays of wsp_PolicyAttachmentType elements.

struct globus_xsd_type_info_s wsp_PolicyAttachmentType_array_info
 

Type information for serializing and deserializing arrays of wsp_PolicyAttachmentType elements.

struct globus_xsd_type_info_s wsp_PolicyAttachmentType_contents_info
 

Initial value:

{
    &wsp_PolicyAttachmentType_qname,
    wsp_PolicyAttachmentType_serialize_contents_wrapper,
    wsp_PolicyAttachmentType_deserialize_contents_wrapper,
    wsp_PolicyAttachmentType_init_wrapper,
    wsp_PolicyAttachmentType_destroy_wrapper,
    wsp_PolicyAttachmentType_copy_wrapper,
    wsp_PolicyAttachmentType_init_contents_wrapper,
    wsp_PolicyAttachmentType_destroy_contents_wrapper,
    wsp_PolicyAttachmentType_copy_contents_wrapper,
    sizeof(wsp_PolicyAttachmentType),
    NULL,
    NULL,
    NULL
}
Type information for serializing and deserializing the contents of wsp_PolicyAttachmentType without surrounding elements.

struct globus_xsd_type_info_s wsp_PolicyAttachmentType_contents_info
 

Type information for serializing and deserializing the contents of wsp_PolicyAttachmentType without surrounding elements.


about globus | grid research | globus toolkit | software development

Comments? webmaster@globus.org