C / C + + common tool function class - some of the previously accumulated tool function source code