Hi,
How can use the function RTIXMLExtensionClass in my program. I found some programs seems used older version of the function, so how can I
use it in my program, specifically the 1st and the last arguments!!
struct RTIXMLExtensionClass {
/*i @brief Init flag */
int _init;
/*i
@brief Tag name
*/
char * _tagName;
/*i
@brief User data
*/
void * _userData;
/*i
@brief Indicates if duplicate objects are allowed
*/
RTIBool allowDuplicatedObjects;
/*i
@brief Indicates if the class is a root class
*/
RTIBool isRoot;
/*i
@brief Function to call when a start tag is found within an object of this RTIXMLExtensionClass.
*/
RTIXMLExtensionClassOnStartTagFunction onStartTagFcn;
/*i
@brief Function to call when a end tag is found within an object of this RTIXMLExtensionClass..
*/
RTIXMLExtensionClassOnEndTagFunction onEndTagFcn;
/*i
@brief Function to call when the start tag is equal to the tagName.
*/
RTIXMLExtensionClassNewObjectFunction newObjectFcn;
/*i
@brief Function to call when we want to delete an object.
*/
RTIXMLExtensionClassDeleteObjectFunction deleteObjectFcn;
/*i
@brief Function to call when we want to save an object.
*/
RTIXMLExtensionClassSaveObjectFunction saveObjectFcn;
};
Hello Akram,
The RTIXMLExtensionClass is not part of the public API of the RTI Connext DDS product. This is the reason why you cannot find the documentation.
This class is used internally to extend the parser RTI Connext DDS uses to process the XML files containing the QoS, the definition of Applications, etc. They are not intended as a way for applications that use the RTI product to extend its functionality.
Because of this the API imay chnage from version to version. There is also no user-documentation, examples. etc.
Perhaps you can describe a bit more why/how you plan to use this and we can see if there is something we can do to help. But it will require some effort on our side since, as a said before, docs etc are not readily available...
Regards,
Gerardo