aboutsummaryrefslogtreecommitdiff
path: root/src/SString_Namespace.h
blob: 4c40388409427164e150226dd2ff42719121bfef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
 /*@@
  @file      SString_Namespace.h
  @date      02.04.2004
  @author    Steve White
  @desc      Module for generic operations on strings
  @enddesc
  @version $Header$
  @@*/
#ifndef _SSTRING_NAMESPACE_H
#define _SSTRING_NAMESPACE_H

#include "SString.h"


/* A poor man's namespace for the String module */

#define Set( a, b ) \
		StringSet( a, b )
#define SetToCString( a, b ) \
		StringSetToCString( a, b )
#define InsertCString( a, b, c ) \
		StringInsertCString( a, b, c )
#define ConcatCString( a, b ) \
		StringConcatCString( a, b )
#define SetToBuffer( a, b ) \
		StringSetToBuffer( a, b )
#define GetBuffer( a ) \
		StringGetBuffer( a )
#define Length( p ) \
		StringLength( p )
#define	NthChar( s, n ) \
		StringNthChar( s, n )
#define SetNthChar( s, n, c ) \
		StringSetNthChar( s, n, c )
#define Truncate( s, n ) \
		StringTruncate( s, n )
#define	FindSubString( s, c, p ) \
		StringFindSubString( s, c, p )
#define	FindChar( s, c, p ) \
		StringFindChar( s, c, p )
#define Compare( a, b ) \
		StringCompare( a, b )
#define AreEqual( a, b ) \
		StringsAreEqual( a, b )
#define Insert( a, b, p ) \
		StringInsert( a, b, p )
#define InsertChar( a, b, p ) \
		StringInsertChar( a, b, p )
#define Concat( a, b ) \
		StringConcat( a, b )
#define Print( a ) \
		StringPrint( a )
#define FormatPrint( a, s ) \
		StringFormatPrint( a, s )
#define ConcatDecimal( a, s ) \
		StringConcatDecimal( a, s )
#define ConcatHex( a, s ) \
		StringConcatHex( a, s )
#define ConcatOctal( a, s ) \
		StringConcatOctal( a, s )
#define ConcatDouble( a, s ) \
		StringConcatDouble( a, s )
#define ConcatFormattedDouble( a, f, f2, s ) \
		StringConcatFormattedDouble( a, f, f2, s )

#endif