string EncodeString( const CAtomString &x ) { char pBuf[128]; memset( pBuf, 0, sizeof( char ) * 128 ); sprintf( pBuf, "%u", (unsigned int)x.getValue( ).size( ) ); string strDest; strDest += pBuf; strDest += ":"; strDest += x.getValue( ); return strDest; }
CAtomString :: CAtomString( const CAtomString &c ) { // copy constructor setValue( c.getValue( ) ); }