News SF.net Project Frequently Asked Questions Documentation Downloads Mailing Lists How to Contribute

SourceForge.net Logo

Changing the way games are made and played.

TNL::StringPtr class Reference

TNL::StringPtr Class Reference

#include <tnlString.h>


Public Member Functions

 StringPtr ()
 StringPtr (const char *string)
 StringPtr (const StringPtr &string)
 ~StringPtr ()
StringPtroperator= (const StringPtr &ref)
StringPtroperator= (const char *string)
 operator const char * () const
const char * getString () const

Private Member Functions

void alloc (const char *string)
void decRef ()

Private Attributes

StringDatamString


Constructor & Destructor Documentation

TNL::StringPtr::StringPtr  )  [inline]
 

TNL::StringPtr::StringPtr const char *  string  )  [inline]
 

TNL::StringPtr::StringPtr const StringPtr string  )  [inline]
 

TNL::StringPtr::~StringPtr  )  [inline]
 


Member Function Documentation

void TNL::StringPtr::alloc const char *  string  )  [inline, private]
 

void TNL::StringPtr::decRef  )  [inline, private]
 

StringPtr& TNL::StringPtr::operator= const StringPtr ref  )  [inline]
 

StringPtr& TNL::StringPtr::operator= const char *  string  )  [inline]
 

TNL::StringPtr::operator const char *  )  const [inline]
 

const char* TNL::StringPtr::getString  )  const [inline]
 


Field Documentation

StringData* TNL::StringPtr::mString [private]