-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCompactStringDebug.h
More file actions
43 lines (27 loc) · 1.05 KB
/
CompactStringDebug.h
File metadata and controls
43 lines (27 loc) · 1.05 KB
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
// Copyright 2006-12 HumaNature Studios Inc.
#ifndef __COMPACTSTRINGDEBUG_H__
#define __COMPACTSTRINGDEBUG_H__
namespace core {
extern void CompactStringHolderInit();
extern void CompactStringHolderDeinit();
extern void CompactStringHolderWriteToFile(const char* fileName);
class CompactStringDebug:
public CompactStringRelease
{
public:
const char* mStringValue;
CompactStringDebug();
explicit CompactStringDebug(int crc);
CompactStringDebug(const char* pString);
CompactStringDebug(const std::string& s);
CompactStringDebug(const CompactStringDebug& s);
const char* c_str() const;
CompactStringDebug& operator=(int crc);
CompactStringDebug& operator=(const CompactStringDebug& s);
using CompactStringRelease::operator==;
using CompactStringRelease::operator<;
using CompactStringRelease::operator!=;
void clear();
};
} // namespace core
#endif // __COMPACTSTRINGDEBUG_H__