SMLTMPSTR Class Reference
SMLTMPSTR class simplifies access to the string values in an SMLSTR.
More...
#include <sml.h>
List of all members.
Detailed Description
SMLTMPSTR class simplifies access to the string values in an SMLSTR.
To use one, declare as follows... (assume smlstr is an (SMLSTRING*)
SMLTMPSTR tmpstr = smlstr;
You can then pass tmpstr to any function that wants a (UNICODE*) Eventually you will be able to compare strings and stuff as well Note that the method which casts to (const UNICODE*) can simply dereference the SMLSTRING. The other casts make a tempory copy of the string which the destructor frees.
Definition at line 1612 of file sml.h.
Constructor & Destructor Documentation
| SMLTMPSTR::SMLTMPSTR |
( |
SMLSTRING * |
s |
) |
[inline] |
|
Member Function Documentation
| const char* SMLTMPSTR::GetConstChar |
( |
|
) |
|
|
| char* SMLTMPSTR::GetNonConstChar |
( |
|
) |
|
|
|
|
cast to (const UNICODE *) (doesn't have to make temp copy)
|
| UNICODE* SMLTMPSTR::GetNonConstUnicode |
( |
|
) |
|
|
| SMLTMPSTR::operator char * |
( |
|
) |
|
|
| SMLTMPSTR::operator const UNICODE * |
( |
|
) |
|
|
The documentation for this class was generated from the following file:
Generated on Thu Aug 12 06:27:29 2004 for TNTsdk by
1.3.4-20031026