"L. Spiro Engine"

F:/My Projects/LSEngine/Modules/LSTL/Src/String/LSTLWString.h

00001 
00018 #ifndef __LSTL_WSTRING_H__
00019 #define __LSTL_WSTRING_H__
00020 
00021 #include "../LSTLib.h"
00022 #include "LSTLStringBase.h"
00023 
00024 namespace lstl {
00025 
00034         class CWString : public CStringBase<CWString, wchar_t> {
00035         public :
00036                 // == Various constructors.
00037                 explicit LSE_CALL                                                       CWString( CAllocator * _paAllocator = NULL );
00038                 LSE_CALL                                                                        CWString( const char * _pcString, CAllocator * _paAllocator = NULL );
00039                 LSE_CALL                                                                        CWString( const wchar_t * _pwcString, CAllocator * _paAllocator = NULL );
00040                 LSE_CALL                                                                        CWString( const CWString &_sString, CAllocator * _paAllocator = NULL );
00041                 LSE_CALL                                                                        CWString( const CStringBase<CWString, wchar_t> &_sbStringBase, CAllocator * _paAllocator = NULL );
00042 
00043 
00044                 // == Operators.
00051                 CWString & LSE_CALL                                                     operator = ( const wchar_t * _pwcString );
00052 
00059                 CWString & LSE_CALL                                                     operator = ( const CWString &_wstrString );
00060                 
00061                 
00062                 // == Functions.
00070                 LSBOOL LSE_CALL                                                         FromUI64( LSUINT64 _ui64Value, LSUINT32 _ui32Radix = 10 );
00071 
00079                 LSBOOL LSE_CALL                                                         FromI64( LSINT64 _i64Value, LSUINT32 _ui32Radix = 10 );
00080 
00089                 LSBOOL LSE_CALL                                                         FromDouble( LSDOUBLE _dValue, LSBOOL _bScientific = false );
00090 
00091         private :
00092                 typedef CStringBase<CWString, wchar_t>          Parent;
00093         };
00094 
00095 }       // namespace lstl
00096 
00097 #endif  // __LSTL_WSTRING_H__
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator