LibNg112_Templates.ttcn 1.58 KB
Newer Older
Garcia's avatar
Garcia committed
module LibNg112_Templates {
    
    // RFC5985 Held
    import from XSD all;
    import from urn_ietf_params_xml_ns_geopriv_held language "XSD" all
    with {
        extension "File:./RFC5985_held.xsd";
    }
    
    // LibNg112
    
    group rfc5985_held {
        
Garcia's avatar
Garcia committed
        template (omit) LocationRequestType m_locationRequest(
                                                              template (value) LocationRequestType.elem_list p_elem_list,
                                                              template (omit) ResponseTimeType p_responseTime := omit,
                                                              template (omit) LocationRequestType.attr p_attr := omit,
                                                              template (omit) LocationTypeType p_locationType  := omit
        ) := {
            responseTime    := p_responseTime,
            attr            := p_attr,
            locationType    := p_locationType,
            elem_list       := p_elem_list
        } // End of template m_locationRequest
        
Garcia's avatar
Garcia committed
        template LocationResponseType mw_locationResponse_dummy(
                                                                    template ReturnLocationType p_locationUriSet := *,
                                                                    template LocationResponseType.elem_list p_elem_list := *
        ) := {
            locationUriSet :=  p_locationUriSet,
            elem_list       := p_elem_list
        } // End of template mw_locationResponse_dummy
        
    } // End of group rfc5985_held
    
} // End of module LibNg112_Templates