ccobject memory management functions virtual