Is it possible to create a derived class of, say, the intgeometry class from the template folder and when we parse a collada file to load the geometry it can call the derived class createFrom and fromCollada functions ?
I guess for this the template classes must have these two functions an accompanying abstract functions within the class of intgeometry !
class intgeomtry : public daeIntegrationObject
virtual void userdefined_toCOLLADA()=0;
virtual void toCOLLADA() //dreived from daeIntegrationObject
The above implementation style will remove the need to copy each template type and modify it and also isolates when updating local copy of DOM files.
Please correct me if I am wrong about any implementation specifics I am missing.