#include <SString.h>
Public Methods | |
ACE_EXPLICIT | ACE_Auto_String_Free (char* p = 0) |
ACE_Auto_String_Free (ACE_Auto_String_Free &rhs) | |
ACE_Auto_String_Free& | operator= (ACE_Auto_String_Free &rhs) |
~ACE_Auto_String_Free (void) | |
char* | operator * () const |
char | operator[] (int i) const |
char* | get (void) const |
char* | release (void) |
void | reset (char* p = 0) |
Private Attributes | |
char* | p_ |
Keeps a pointer to a string and deallocates it (using ) on its destructor. If you need to delete using "delete[]" the ACE_Auto_Array_Ptr<char*> is your choice. The class plays the same role as auto_ptr<>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|