String Handling
[Build Configuration]

Collaboration diagram for String Handling:


Detailed Description

These macros are available to alter string class behavior and string handling functions in the core library.


Defines

#define DWFCORE_STRING_PREFER_HEAP_LIMIT_IN_BYTES   128
 Sets the heap reuse limit.
#define DWFCORE_COMPARE_ASCII_STRINGS(a, b)
 Compare two ASCII character strings. This is a case sensitive operation.
#define DWFCORE_COMPARE_ASCII_STRINGS_NO_CASE(a, b)
 Compare two ASCII character strings. This is a case insensitive operation.
#define DWFCORE_COMPARE_WIDE_STRINGS(a, b)
 Compare two wide character strings. This is a case sensitive operation.
#define DWFCORE_COMPARE_WIDE_STRINGS_NO_CASE(a, b)
 Compare two wide character strings. This is a case insensitive operation.
#define DWFCORE_ASCII_STRING_LENGTH(s)
 Determine the length of an ASCII character string.
#define DWFCORE_WIDE_STRING_LENGTH_IN_WCHARS(s)
 Determine the length of an wide character string, in wide characters.
#define DWFCORE_WIDE_STRING_LENGTH_IN_BYTES(s)
 Determine the length of an wide character string, in bytes.
#define DWFCORE_ASCII_STRING_COPY(a, b)
 Copy one ASCII character string into another.
#define DWFCORE_WIDE_STRING_COPY(a, b)
 Copy one wide character string into another.
#define DWFCORE_ASCII_STRING_COPY_LENGTH(a, b, n)
 Copy n characters of one ASCII character string into another.
#define DWFCORE_WIDE_STRING_COPY_LENGTH(a, b, n)
 Copy n characters of one wide character string into another.
#define DWFCORE_ASCII_STRING_CONCATENATE(a, b)
 Concatenate two ASCII character strings.
#define DWFCORE_WIDE_STRING_CONCATENATE(a, b)
 Concatenate two wide character strings.
#define DWFCORE_STRING_DISABLE_STACK_BUFFER
 Disable use of the stack buffer in DWFString.


Define Documentation

#define DWFCORE_ASCII_STRING_LENGTH  ) 
 

Determine the length of an ASCII character string.

Returns:
The number of bytes in the string.

Definition at line 421 of file preprocessor.txt.

#define DWFCORE_COMPARE_ASCII_STRINGS a,
 ) 
 

Compare two ASCII character strings. This is a case sensitive operation.

Returns:
< 0 if is less than b, 0 if a is equal to b, > 0 if b is greater than a.

Definition at line 385 of file preprocessor.txt.

#define DWFCORE_COMPARE_ASCII_STRINGS_NO_CASE a,
 ) 
 

Compare two ASCII character strings. This is a case insensitive operation.

Returns:
< 0 if is less than b, 0 if a is equal to b, > 0 if b is greater than a.

Definition at line 395 of file preprocessor.txt.

#define DWFCORE_COMPARE_WIDE_STRINGS a,
 ) 
 

Compare two wide character strings. This is a case sensitive operation.

Returns:
< 0 if is less than b, 0 if a is equal to b, > 0 if b is greater than a.

Definition at line 405 of file preprocessor.txt.

#define DWFCORE_COMPARE_WIDE_STRINGS_NO_CASE a,
 ) 
 

Compare two wide character strings. This is a case insensitive operation.

Returns:
< 0 if is less than b, 0 if a is equal to b, > 0 if b is greater than a.

Definition at line 415 of file preprocessor.txt.

#define DWFCORE_STRING_PREFER_HEAP_LIMIT_IN_BYTES   128
 

Sets the heap reuse limit.

If a DWFString heap buffer can be reused because the incoming data is smaller than the currently allocated buffer, this value will determine whether or not the buffer will be reused or be discarded because it is too big.

Definition at line 61 of file String.h.

#define DWFCORE_WIDE_STRING_LENGTH_IN_BYTES  ) 
 

Determine the length of an wide character string, in bytes.

Returns:
The number of bytes in the string.

Definition at line 433 of file preprocessor.txt.

#define DWFCORE_WIDE_STRING_LENGTH_IN_WCHARS  ) 
 

Determine the length of an wide character string, in wide characters.

Returns:
The number of wchar_t characters in the string.

Definition at line 427 of file preprocessor.txt.


Generated on Tue Jan 6 22:39:29 2009 for Autodesk DWF Core Library by  doxygen 1.4.5