#ifndef __STRING_TOOLS_2006_05_18__ #define __STRING_TOOLS_2006_05_18__ /** @file StrTools.hpp @author Brian Magill @creationdate 5/18/2006 @copyright (©) Copyright 2006 by GATS, Inc., 11864 Canon Blvd, Suite 101, Newport News VA 23606 All Rights Reserved. No part of this software or publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise without the prior written permission of GATS, Inc. @brief Converts numeric type to string Based upon nontemplated version by Martin McHugh */ #include #include template std::string toString ( T const& value) { std::stringstream streamBuff; std::string outString; streamBuff << value ; streamBuff >> outString; return outString; } #endif