Main Page | Modules | Data Structures | Data Fields

Complex type: wsa_ServiceNameType
[XML Types]

Data Structures

Defines

Typedefs

Functions

Variables


Define Documentation

#define WSA_SERVICENAMETYPE_NS   "http://schemas.xmlsoap.org/ws/2004/03/addressing"
 

Namespace of the wsa_ServiceNameType complex type.

#define WSA_SERVICENAMETYPE_LOCAL   "ServiceNameType"
 

Local part of the QName of the wsa_ServiceNameType complex type.


Typedef Documentation

typedef struct wsa_ServiceNameType_s wsa_ServiceNameType
 

The wsa_ServiceNameType complex type, which represents the {http://schemas.xmlsoap.org/ws/2004/03/addressing}ServiceNameType element.

typedef wsa_ServiceNameType* wsa_ServiceNameType_o
 

The wsa_ServiceNameType_o complex type, which represents an optional instance of a {http://schemas.xmlsoap.org/ws/2004/03/addressing}ServiceNameType element.

typedef struct wsa_ServiceNameType_array_s wsa_ServiceNameType_array
 

Array of wsa_ServiceNameType elements.

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

Arrays are allocated by wsa_ServiceNameType_array_init() and freed by calling wsa_ServiceNameType_array_destroy(). Elements may be added to an array by calling wsa_ServiceNameType_array_push().


Function Documentation

globus_result_t wsa_ServiceNameType_init (
     wsa_ServiceNameType ** inst )
 

Initialize a wsa_ServiceNameType.

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

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

void wsa_ServiceNameType_destroy (
     wsa_ServiceNameType * inst )
 

Destroy a wsa_ServiceNameType.

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

Parameters:
inst Pointer to the instance to destroy.

globus_result_t wsa_ServiceNameType_copy (
     wsa_ServiceNameType ** dest,
     const wsa_ServiceNameType * src)
 

Copy a wsa_ServiceNameType.

Perform a deep copy of a wsa_ServiceNameType. 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 wsa_ServiceNameType structure to be initialized with a copy of the contents of the src structure.
src Source wsa_ServiceNameType to be copied.

globus_result_t wsa_ServiceNameType_init_contents (
     wsa_ServiceNameType * instance )
 

Initialize the contents of a wsa_ServiceNameType.

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

Parameters:
instance Pointer to an allocated but uninitialized wsa_ServiceNameType.

void wsa_ServiceNameType_destroy_contents (
     wsa_ServiceNameType * inst )
 

Destroy the contents of a wsa_ServiceNameType.

Destroy the subelements and attributes of the given wsa_ServiceNameType.

Parameters:
inst Pointer to a wsa_ServiceNameType instance to destroy.

globus_result_t wsa_ServiceNameType_copy_contents (
     wsa_ServiceNameType * dest,
     const wsa_ServiceNameType * src)
 

Copy the contents of a wsa_ServiceNameType.

Perform a deep copy of the contents of a wsa_ServiceNameType. 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 wsa_ServiceNameType to be copied.

globus_result_t wsa_ServiceNameType_deserialize (
     const xsd_QName * element_name,
     wsa_ServiceNameType * val,
     globus_soap_message_handle_t message_handle,
     globus_xsd_element_options_t options)
 

Deserialize a wsa_ServiceNameType.

Deserialize an element containing a wsa_ServiceNameType element.

Parameters:
element_name The name of the element which should enclose the wsa_ServiceNameType.
val Pointer to the wsa_ServiceNameType 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 wsa_ServiceNameType_deserialize_contents (
     const xsd_QName * element_name,
     wsa_ServiceNameType * val,
     globus_soap_message_handle_t message_handle,
     globus_xsd_element_options_t options)
 

Deserialize a wsa_ServiceNameType.

Deserialize a wsa_ServiceNameType whose enclosing element has already been deserialized.

Parameters:
element_name Ignored.
val Pointer to the wsa_ServiceNameType 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 wsa_ServiceNameType_deserialize_pointer (
     const xsd_QName * element_name,
     wsa_ServiceNameType ** instance,
     globus_soap_message_handle_t message_handle,
     globus_xsd_element_options_t options)
 

Deserialize an optional wsa_ServiceNameType.

Deserialize the next element if it contains a wsa_ServiceNameType.

Parameters:
element_name The name of the element which should enclose the wsa_ServiceNameType.
instance Pointer to the wsa_ServiceNameType * 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 wsa_ServiceNameType_array_init (
     wsa_ServiceNameType_array ** inst )
 

Initialize an array of wsa_ServiceNameType elements.

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

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

void wsa_ServiceNameType_array_destroy (
     wsa_ServiceNameType_array * inst )
 

Destroy an array of wsa_ServiceNameType elements.

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

Parameters:
inst Pointer to array instance to destroy.

globus_result_t wsa_ServiceNameType_array_copy (
     wsa_ServiceNameType_array ** dest,
     const wsa_ServiceNameType_array * src)
 

Copy an array of wsa_ServiceNameType elements.

Perform a deep copy of an array of wsa_ServiceNameType 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 wsa_ServiceNameType_array_init_contents (
     wsa_ServiceNameType_array * inst )
 

Initialize the contents of an array of wsa_ServiceNameType elements.

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

Parameters:
inst Pointer to an allocated but uninitialized array.

void wsa_ServiceNameType_array_destroy_contents (
     wsa_ServiceNameType_array * inst )
 

Destroy the contents of an array of wsa_ServiceNameType elements.

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

Parameters:
inst Pointer to array instance to destroy.

globus_result_t wsa_ServiceNameType_array_copy_contents (
     wsa_ServiceNameType_array * dest,
     const wsa_ServiceNameType_array * src)
 

Copy the contents of an array of wsa_ServiceNameType elements.

Perform a deep copy of an array of wsa_ServiceNameType 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 wsa_ServiceNameType_s* wsa_ServiceNameType_array_push (
     wsa_ServiceNameType_array * array )
 

Append a new wsa_ServiceNameType to an array.

Allocate and initialize a new wsa_ServiceNameType 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 wsa_ServiceNameType_array_serialize (
     const xsd_QName * element,
     const wsa_ServiceNameType_array * array_instance,
     globus_soap_message_handle_t message_handle,
     globus_xsd_element_options_t options)
 

Serialize an array of wsa_ServiceNameType elements.

Serialize an element containing an array of wsa_ServiceNameType 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 wsa_ServiceNameType_array_deserialize (
     const xsd_QName * element,
     wsa_ServiceNameType_array * array_instance,
     globus_soap_message_handle_t message_handle,
     globus_xsd_element_options_t options)
 

Deserialize an array of wsa_ServiceNameType elements.

Deserialize an element containing an array of wsa_ServiceNameType 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 wsa_ServiceNameType_qname
 

QName of the wsa_ServiceNameType complex type.

struct globus_xsd_type_info_s wsa_ServiceNameType_info
 

Initial value:

{
    &wsa_ServiceNameType_qname,
    wsa_ServiceNameType_serialize_wrapper,
    wsa_ServiceNameType_deserialize_pointer_wrapper,
    wsa_ServiceNameType_init_wrapper,
    wsa_ServiceNameType_destroy_wrapper,
    wsa_ServiceNameType_copy_wrapper,
    wsa_ServiceNameType_init_contents_wrapper,
    wsa_ServiceNameType_destroy_contents_wrapper,
    wsa_ServiceNameType_copy_contents_wrapper,
    sizeof(wsa_ServiceNameType),
    NULL,
    &wsa_ServiceNameType_contents_info,
    &wsa_ServiceNameType_array_info
}
Type information for serializing and deserializing wsa_ServiceNameType elements.

struct globus_xsd_type_info_s wsa_ServiceNameType_info
 

Type information for serializing and deserializing wsa_ServiceNameType elements.

struct globus_xsd_type_info_s wsa_ServiceNameType_array_info
 

Initial value:

{
    &wsa_ServiceNameType_qname,
    wsa_ServiceNameType_array_serialize_wrapper,
    wsa_ServiceNameType_array_deserialize_wrapper,
    wsa_ServiceNameType_array_init_wrapper,
    wsa_ServiceNameType_array_destroy_wrapper,
    wsa_ServiceNameType_array_copy_wrapper,
    wsa_ServiceNameType_array_init_contents_wrapper,
    wsa_ServiceNameType_array_destroy_contents_wrapper,
    wsa_ServiceNameType_array_copy_contents_wrapper,
    sizeof(wsa_ServiceNameType),
    wsa_ServiceNameType_array_push_wrapper,
    NULL,
    NULL
}
Type information for serializing and deserializing arrays of wsa_ServiceNameType elements.

struct globus_xsd_type_info_s wsa_ServiceNameType_array_info
 

Type information for serializing and deserializing arrays of wsa_ServiceNameType elements.

struct globus_xsd_type_info_s wsa_ServiceNameType_contents_info
 

Initial value:

{
    &wsa_ServiceNameType_qname,
    wsa_ServiceNameType_serialize_contents_wrapper,
    wsa_ServiceNameType_deserialize_contents_wrapper,
    wsa_ServiceNameType_init_wrapper,
    wsa_ServiceNameType_destroy_wrapper,
    wsa_ServiceNameType_copy_wrapper,
    wsa_ServiceNameType_init_contents_wrapper,
    wsa_ServiceNameType_destroy_contents_wrapper,
    wsa_ServiceNameType_copy_contents_wrapper,
    sizeof(wsa_ServiceNameType),
    NULL,
    NULL,
    NULL
}
Type information for serializing and deserializing the contents of wsa_ServiceNameType without surrounding elements.

struct globus_xsd_type_info_s wsa_ServiceNameType_contents_info
 

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


about globus | grid research | globus toolkit | software development

Comments? webmaster@globus.org