Main Page | Modules | Data Structures | Data Fields

Simple Type: wssg_ContentElementsType
[XML Types]

Data Structures

Defines

Typedefs

Functions

Variables


Define Documentation

#define WSSG_CONTENTELEMENTSTYPE_NS   "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2-draft-01.xsd"
 

Namespace of the wssg_ContentElementsType complex type.

#define WSSG_CONTENTELEMENTSTYPE_LOCAL   "ContentElementsType"
 

Local part of the QName of the wssg_ContentElementsType complex type.


Typedef Documentation

typedef wssg_ContentElementsType* wssg_ContentElementsType_o
 

Optional wssg_ContentElementsType element.

typedef struct wssg_ContentElementsType_array_s wssg_ContentElementsType_array
 

Array of wssg_ContentElementsType elements.

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

Arrays are allocated by wssg_ContentElementsType_array_init() and freed by calling wssg_ContentElementsType_array_destroy(). Elements may be added to an array by calling wssg_ContentElementsType_array_push().


Function Documentation

globus_result_t wssg_ContentElementsType_init (
     wssg_ContentElementsType ** inst )
 

Initialize a wssg_ContentElementsType.

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

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

void wssg_ContentElementsType_destroy (
     wssg_ContentElementsType * inst )
 

Destroy a wssg_ContentElementsType.

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

Parameters:
inst Pointer to the instance to destroy.

globus_result_t wssg_ContentElementsType_copy (
     wssg_ContentElementsType ** dest,
     const wssg_ContentElementsType * src)
 

Copy a wssg_ContentElementsType.

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

globus_result_t wssg_ContentElementsType_init_contents (
     wssg_ContentElementsType * instance )
 

Initialize the contents of a wssg_ContentElementsType.

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

Parameters:
instance Pointer to an allocated but uninitialized wssg_ContentElementsType.

void wssg_ContentElementsType_destroy_contents (
     wssg_ContentElementsType * inst )
 

Destroy the contents of a wssg_ContentElementsType.

Destroy the subelements and attributes of the given wssg_ContentElementsType.

Parameters:
inst Pointer to a wssg_ContentElementsType instance to destroy.

globus_result_t wssg_ContentElementsType_copy_contents (
     wssg_ContentElementsType * dest,
     const wssg_ContentElementsType * src)
 

Copy the contents of a wssg_ContentElementsType.

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

globus_result_t wssg_ContentElementsType_array_init (
     wssg_ContentElementsType_array ** inst )
 

Initialize an array of wssg_ContentElementsType elements.

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

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

void wssg_ContentElementsType_array_destroy (
     wssg_ContentElementsType_array * inst )
 

Destroy an array of wssg_ContentElementsType elements.

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

Parameters:
inst Pointer to array instance to destroy.

globus_result_t wssg_ContentElementsType_array_copy (
     wssg_ContentElementsType_array ** dest,
     const wssg_ContentElementsType_array * src)
 

Copy an array of wssg_ContentElementsType elements.

Perform a deep copy of an array of wssg_ContentElementsType 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 wssg_ContentElementsType_array_init_contents (
     wssg_ContentElementsType_array * inst )
 

Initialize the contents of an array of wssg_ContentElementsType elements.

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

Parameters:
inst Pointer to an allocated but uninitialized array.

void wssg_ContentElementsType_array_destroy_contents (
     wssg_ContentElementsType_array * inst )
 

Destroy the contents of an array of wssg_ContentElementsType elements.

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

Parameters:
inst Pointer to array instance to destroy.

globus_result_t wssg_ContentElementsType_array_copy_contents (
     wssg_ContentElementsType_array * dest,
     const wssg_ContentElementsType_array * src)
 

Copy the contents of an array of wssg_ContentElementsType elements.

Perform a deep copy of an array of wssg_ContentElementsType 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.

wssg_ContentElementsType* wssg_ContentElementsType_array_push (
     wssg_ContentElementsType_array * array )
 

Append a new wssg_ContentElementsType to an array.

Allocate and initialize a new wssg_ContentElementsType 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 wssg_ContentElementsType_deserialize (
     const xsd_QName * element_name,
     wssg_ContentElementsType * val,
     globus_soap_message_handle_t message_handle,
     globus_xsd_element_options_t options)
 

Deserialize a wssg_ContentElementsType.

Deserialize an element containing a wssg_ContentElementsType element.

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

Deserialize a wssg_ContentElementsType.

Deserialize a wssg_ContentElementsType whose enclosing element has already been deserialized.

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

Deserialize an optional wssg_ContentElementsType.

Deserialize the next element if it contains a wssg_ContentElementsType.

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

Serialize an array of wssg_ContentElementsType elements.

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

Deserialize an array of wssg_ContentElementsType elements.

Deserialize an element containing an array of wssg_ContentElementsType 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.

globus_result_t wssg_ContentElementsType_deserialize_attribute (
     const xsd_QName * attr_qname,
     wssg_ContentElementsType * instance,
     globus_soap_message_handle_t message,
     globus_xsd_element_options_t options)
 

Deserialize an attribute of type wssg_ContentElementsType.

Deserialize a wssg_ContentElementsType as an attribute of the current element.

Parameters:
attr_qname The name of the attribute whose value is a wssg_ContentElementsType.
instance Pointer to the wssg_ContentElementsType which will be initialized with the value of the attribute.
message The handle to deserialize the element from.
options Deserialization options.

globus_result_t wssg_ContentElementsType_deserialize_attribute_pointer (
     const xsd_QName * attr_qname,
     wssg_ContentElementsType ** instance,
     globus_soap_message_handle_t message,
     globus_xsd_element_options_t options)
 

Deserialize an optional attribute of type wssg_ContentElementsType.

Try to deserialize a wssg_ContentElementsType as an attribute of the current element if it is present. The attribute's name is defined by @ attr_qname.

Parameters:
attr_qname The name of the attribute whose value is a wssg_ContentElementsType.
instance Pointer to the wssg_ContentElementsType which will be allocated and initialized with the value of the attribute if it is present.
message The handle to deserialize the element from.
options Deserialization options.


Variable Documentation

xsd_QName wssg_ContentElementsType_qname
 

Initial value:

{
    "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2-draft-01.xsd",
    "ContentElementsType"
}
QName of the wssg_ContentElementsType complex type.

xsd_QName wssg_ContentElementsType_qname
 

QName of the wssg_ContentElementsType complex type.

struct globus_xsd_type_info_s wssg_ContentElementsType_info
 

Initial value:

{
    &wssg_ContentElementsType_qname,
    wssg_ContentElementsType_serialize_wrapper,
    wssg_ContentElementsType_deserialize_pointer_wrapper,
    wssg_ContentElementsType_init_wrapper,
    wssg_ContentElementsType_destroy_wrapper,
    wssg_ContentElementsType_copy_wrapper,
    wssg_ContentElementsType_init_contents_wrapper,
    wssg_ContentElementsType_destroy_contents_wrapper,
    wssg_ContentElementsType_copy_contents_wrapper,
    sizeof(wssg_ContentElementsType),
    NULL,
    &wssg_ContentElementsType_contents_info,
    &wssg_ContentElementsType_array_info
}
Type information for serializing and deserializing wssg_ContentElementsType elements.

struct globus_xsd_type_info_s wssg_ContentElementsType_info
 

Type information for serializing and deserializing wssg_ContentElementsType elements.

struct globus_xsd_type_info_s wssg_ContentElementsType_array_info
 

Initial value:

{
    &wssg_ContentElementsType_qname,
    wssg_ContentElementsType_array_serialize_wrapper,
    wssg_ContentElementsType_array_deserialize_wrapper,
    wssg_ContentElementsType_array_init_wrapper,
    wssg_ContentElementsType_array_destroy_wrapper,
    wssg_ContentElementsType_array_copy_wrapper,
    wssg_ContentElementsType_array_init_contents_wrapper,
    wssg_ContentElementsType_array_destroy_contents_wrapper,
    wssg_ContentElementsType_array_copy_contents_wrapper,
    sizeof(wssg_ContentElementsType),
    wssg_ContentElementsType_array_push_wrapper,
    NULL,
    NULL
}
Type information for serializing and deserializing arrays of wssg_ContentElementsType elements.

struct globus_xsd_type_info_s wssg_ContentElementsType_array_info
 

Type information for serializing and deserializing arrays of wssg_ContentElementsType elements.

struct globus_xsd_type_info_s wssg_ContentElementsType_contents_info
 

Initial value:

{
    &wssg_ContentElementsType_qname,
    wssg_ContentElementsType_serialize_contents_wrapper,
    wssg_ContentElementsType_deserialize_contents_wrapper,
    wssg_ContentElementsType_init_wrapper,
    wssg_ContentElementsType_destroy_wrapper,
    wssg_ContentElementsType_copy_wrapper,
    wssg_ContentElementsType_init_contents_wrapper,
    wssg_ContentElementsType_destroy_contents_wrapper,
    wssg_ContentElementsType_copy_contents_wrapper,
    sizeof(wssg_ContentElementsType),
    NULL,
    NULL,
    NULL
}
Type information for serializing and deserializing the contents of wssg_ContentElementsType without surrounding elements.

struct globus_xsd_type_info_s wssg_ContentElementsType_contents_info
 

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


about globus | grid research | globus toolkit | software development

Comments? webmaster@globus.org