Hi, Hoseop Noh <[EMAIL PROTECTED]> writes:
> I use subclassing the xercesc DOM Node Implementation classes.. > > [...] > > I want to deleteData, substringData functions to be virtual > functions.. and fNode, fParent, fNodeIDMap attribute to be > protected DOM implementation classes don't really have to expose any of their implementation details to the outside world. If you don't like what the default implementation does, you can always provide your own (that is, derive your class from the interface, not from the implementation, and implement the requested functionality from scratch). It can be a lot more effort but then you get complete control. I don't see any harm in making member variables in the implementation classes protected for 3.0.0, however, making internal functions virtual might have negative performance consequences. Boris -- Boris Kolpackov, Code Synthesis Tools Open source XML data binding for C++: http://codesynthesis.com/products/xsd Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde
