common/common/string/RCString.hpp
2022-12-26 16:28:55 -06:00

19 lines
383 B
C++

#ifndef COMMON_STRING_RC_STRING_HPP
#define COMMON_STRING_RC_STRING_HPP
#include "common/ref/TRefCnt.hpp"
#include <cstdlib>
class RCString : public TRefCnt {
public:
// Member variables
char* m_str;
// Member functions
RCString();
void Copy(const char* source);
void Get(char* buf, size_t bufSize) const;
const char* GetString() const;
};
#endif