[wsf-c-dev] [C++] How should this be implimented in C++?

Senaka Fernando senaka at wso2.com
Wed Oct 17 07:14:46 PDT 2007


The code below is extracted from axiom_node.h, in Axis2/C. How should
this be implemented in C++? What types are returned? Is it really
required? Are there any alternative workarounds?
       /**
        * get the struct contained in the node
        * IF the node is on type AXIOM_ELEMENT , this method returns
        * a pointer to  axiom_element_t struct contained
        * @param om_node node
        * @returns pointer to struct contained in the node
        * returns NULL if no struct is contained
        */
        AXIS2_EXTERN void *AXIS2_CALL
        axiom_node_get_data_element(wsf_axiom_node om_node);

Regards,
Senaka




More information about the Wsf-c-dev mailing list