|
| template<class C> |
| C * | FCast (const FObject *object) |
| template<class C> |
| C * | FCast (FUnknown *unknown) |
| template<class C> |
| C * | FUCast (FObject *object) |
| template<class C> |
| C * | FUCast (FUnknown *object) |
| template<class T> |
| void | AssignShared (T *&dest, T *newPtr) |
| template<class T> |
| void | AssignSharedDependent (IDependent *_this, T *&dest, T *newPtr) |
| template<class T> |
| void | AssignSharedDependent (IDependent *_this, IPtr< T > &dest, T *newPtr) |
| template<class T> |
| void | SafeReleaseDependent (IDependent *_this, T *&dest) |
| template<class T> |
| void | SafeReleaseDependent (IDependent *_this, IPtr< T > &dest) |
| static bool | isCaseSensitive (ConstString::CompareMode mode) |
| template<class T> |
| static bool | performReplace (T *str, const T *toReplace, T toReplaceBy) |
| template<class T, class F> |
| static uint32 | performTrim (T *str, uint32 length, F func, bool funcResult) |
| template<class T, class F> |
| static uint32 | performRemove (T *str, uint32 length, F func, bool funcResult) |
| template<class T> |
| static uint32 | performRemoveChars (T *str, uint32 length, const T *toRemove) |
| uint32 | hashString8 (const char8 *s, uint32 m) |
| uint32 | hashString16 (const char16 *s, uint32 m) |
| template<class T> |
| int32 | tstrnatcmp (const T *s1, const T *s2, bool caseSensitive=true) |
| int32 | strnatcmp8 (const char8 *s1, const char8 *s2, bool caseSensitive) |
| int32 | strnatcmp16 (const char16 *s1, const char16 *s2, bool caseSensitive) |
| uint32 | hashString (const tchar *s, uint32 m) |
| String | operator+ (const ConstString &s1, const ConstString &s2) |
| String | operator+ (const ConstString &s1, const char8 *s2) |
| String | operator+ (const ConstString &s1, const char16 *s2) |
| String | operator+ (const char8 *s1, const ConstString &s2) |
| String | operator+ (const char16 *s1, const ConstString &s2) |
| String | operator+ (const ConstString &s1, const String &s2) |
| String | operator+ (const String &s1, const ConstString &s2) |
| String | operator+ (const String &s1, const String &s2) |
| String | operator+ (const String &s1, const char8 *s2) |
| String | operator+ (const String &s1, const char16 *s2) |
| String | operator+ (const char8 *s1, const String &s2) |
| String | operator+ (const char16 *s1, const String &s2) |
| bool | operator< (const ConstString &s1, const ConstString &s2) |
| bool | operator<= (const ConstString &s1, const ConstString &s2) |
| bool | operator> (const ConstString &s1, const ConstString &s2) |
| bool | operator>= (const ConstString &s1, const ConstString &s2) |
| bool | operator== (const ConstString &s1, const ConstString &s2) |
| bool | operator!= (const ConstString &s1, const ConstString &s2) |
| bool | operator< (const ConstString &s1, const char8 *s2) |
| bool | operator<= (const ConstString &s1, const char8 *s2) |
| bool | operator> (const ConstString &s1, const char8 *s2) |
| bool | operator>= (const ConstString &s1, const char8 *s2) |
| bool | operator== (const ConstString &s1, const char8 *s2) |
| bool | operator!= (const ConstString &s1, const char8 *s2) |
| bool | operator< (const char8 *s1, const ConstString &s2) |
| bool | operator<= (const char8 *s1, const ConstString &s2) |
| bool | operator> (const char8 *s1, const ConstString &s2) |
| bool | operator>= (const char8 *s1, const ConstString &s2) |
| bool | operator== (const char8 *s1, const ConstString &s2) |
| bool | operator!= (const char8 *s1, const ConstString &s2) |
| bool | operator< (const ConstString &s1, const char16 *s2) |
| bool | operator<= (const ConstString &s1, const char16 *s2) |
| bool | operator> (const ConstString &s1, const char16 *s2) |
| bool | operator>= (const ConstString &s1, const char16 *s2) |
| bool | operator== (const ConstString &s1, const char16 *s2) |
| bool | operator!= (const ConstString &s1, const char16 *s2) |
| bool | operator< (const char16 *s1, const ConstString &s2) |
| bool | operator<= (const char16 *s1, const ConstString &s2) |
| bool | operator> (const char16 *s1, const ConstString &s2) |
| bool | operator>= (const char16 *s1, const ConstString &s2) |
| bool | operator== (const char16 *s1, const ConstString &s2) |
| bool | operator!= (const char16 *s1, const ConstString &s2) |
| int32 | strnatcmp (const tchar *s1, const tchar *s2, bool caseSensitive=true) |
| static int32 | countEntries (Update::DependentMap &map) |
| static char16 * | generateUTF16 (const char8 *str) |
| template<class T> |
| int32 | _tstrlen (const T *wcs) |
| int32 | tstrlen (const tchar *str) |
| int32 | strlen8 (const char8 *str) |
| int32 | strlen16 (const char16 *str) |
| template<class T> |
| int32 | _tstrcmp (const T *src, const T *dst) |
| int32 | tstrcmp (const tchar *src, const tchar *dst) |
| int32 | strcmp8 (const char8 *src, const char8 *dst) |
| int32 | strcmp16 (const char16 *src, const char16 *dst) |
| template<typename T> |
| int32 | strcmpT (const T *first, const T *last) |
| template<> |
| int32 | strcmpT< char8 > (const char8 *first, const char8 *last) |
| template<> |
| int32 | strcmpT< char16 > (const char16 *first, const char16 *last) |
| template<class T> |
| int32 | _tstrncmp (const T *first, const T *last, uint32 count) |
| int32 | tstrncmp (const tchar *first, const tchar *last, uint32 count) |
| int32 | strncmp8 (const char8 *first, const char8 *last, uint32 count) |
| int32 | strncmp16 (const char16 *first, const char16 *last, uint32 count) |
| template<typename T> |
| int32 | strncmpT (const T *first, const T *last, uint32 count) |
| template<> |
| int32 | strncmpT< char8 > (const char8 *first, const char8 *last, uint32 count) |
| template<> |
| int32 | strncmpT< char16 > (const char16 *first, const char16 *last, uint32 count) |
| template<class T> |
| T * | _tstrcpy (T *dst, const T *src) |
| tchar * | tstrcpy (tchar *dst, const tchar *src) |
| char8 * | strcpy8 (char8 *dst, const char8 *src) |
| char16 * | strcpy16 (char16 *dst, const char16 *src) |
| template<class T> |
| T * | _tstrncpy (T *dest, const T *source, uint32 count) |
| tchar * | tstrncpy (tchar *dest, const tchar *source, uint32 count) |
| char8 * | strncpy8 (char8 *dest, const char8 *source, uint32 count) |
| char16 * | strncpy16 (char16 *dest, const char16 *source, uint32 count) |
| template<class T> |
| T * | _tstrcat (T *dst, const T *src) |
| tchar * | tstrcat (tchar *dst, const tchar *src) |
| char8 * | strcat8 (char8 *dst, const char8 *src) |
| char16 * | strcat16 (char16 *dst, const char16 *src) |
| void | str8ToStr16 (char16 *dst, const char8 *src, int32 n=-1) |
| bool | FIDStringsEqual (FIDString id1, FIDString id2) |
| bool | strEmpty (const tchar *str) |
| bool | str8Empty (const char8 *str) |
| bool | str16Empty (const char16 *str) |
| static void | FSwap (int8 &) |
| static void | FSwap (uint8 &) |
| static void | FSwap (int16 &i16) |
| static void | FSwap (uint16 &i16) |
| static void | FSwap (int32 &i32) |
| static void | FSwap (uint32 &i32) |
| static void | FSwap (int64 &i64) |
| static void | FSwap (uint64 &i64) |
| static void | toString8 (char8 *string, const char *data, int32 i1, int32 i2) |
| static void | fromString8 (const char8 *string, char *data, int32 i1, int32 i2) |
| static uint32 | makeLong (uint8 b1, uint8 b2, uint8 b3, uint8 b4) |
| template<typename T> |
| const TUID & | getTUID () |
| template<class T> |
| const T & | Min (const T &a, const T &b) |
| template<class T> |
| const T & | Max (const T &a, const T &b) |
| template<class T> |
| T | Abs (const T &value) |
| template<class T> |
| T | Sign (const T &value) |
| template<class T> |
| T | Bound (T minval, T maxval, T x) |
| template<class T> |
| void | Swap (T &t1, T &t2) |
| template<class T> |
| bool | IsApproximateEqual (T t1, T t2, T epsilon) |
| template<class T> |
| T | ToNormalized (const T &value, const int32 numSteps) |
| template<class T> |
| int32 | FromNormalized (const T &norm, const int32 numSteps) |
| bool | operator== (const FVariant &v1, const FVariant &v2) |
| bool | operator!= (const FVariant &v1, const FVariant &v2) |
| template<class I> |
| IPtr< I > | owned (I *p) |
| template<class I> |
| IPtr< I > | shared (I *p) |
| template<class TDstChar, class TSrcChar> |
| void | StringCopy (TDstChar *dst, int32 dstSize, const TSrcChar *src, int32 srcSize=-1) |
| template<class TSrcChar> |
| int32 | StringLength (const TSrcChar *src, int32 srcSize=-1) |
on a pointer if it is non-zero, and then set the pointer to zero. Note: you should prefer using IPtr or OPtr instead of these methods whenever possible. Examples: ~Foo ()
{
if (somePointer)
{
somePointer->release ();
somePointer = 0;
}
}
void SafeRelease(I *&ptr) Definition fobject.h:213
|
| template<class I> |
| void | SafeRelease (I *&ptr) |
| template<class I> |
| void | SafeRelease (IPtr< I > &ptr) |
| template<class T> |
| void | SafeDelete (T *&ptr) |