2 // Copyright (C) 2003-2004 Trevor Hogan
\r
8 string EncodeInt( const CAtomInt &x );
\r
9 string EncodeLong( const CAtomLong &x );
\r
10 string EncodeString( const CAtomString &x );
\r
11 string EncodeList( const CAtomList &x );
\r
12 string EncodeDicti( const CAtomDicti &x );
\r
13 string Encode( CAtom *pAtom );
\r
15 // the decode functions allocate memory, so be SURE to delete it
\r
17 // CAtomInt *DecodeInt( const string &x, unsigned long iStart = 0 );
\r
18 CAtomLong *DecodeLong( const string &x, unsigned long iStart = 0 );
\r
19 CAtomString *DecodeString( const string &x, unsigned long iStart = 0 );
\r
20 CAtomList *DecodeList( const string &x, unsigned long iStart = 0 );
\r
21 CAtomDicti *DecodeDicti( const string &x, unsigned long iStart = 0 );
\r
22 CAtom *Decode( const string &x, unsigned long iStart = 0 );
\r
24 CAtom *DecodeFile( const char *szFile );
\r