ucommon  7.0.0
About: GNU uCommon C++ is a portable and optimized class framework for writing C++ applications that need to use threads and support concurrent synchronization, and that use sockets, XML parsing, object serialization, thread-optimized string and data structure classes, etc..
  Fossies Dox: ucommon-7.0.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Loading...
Searching...
No Matches
ucommon::strdup_t Class Reference

#include <string.h>

Public Member Functions

 strdup_t ()
 
 strdup_t (char *str)
 
 ~strdup_t ()
 
strdup_toperator= (char *str)
 
 operator bool () const
 
bool operator! () const
 
 operator char * () const
 
const char * c_str (void) const
 
const char * operator* () const
 
char & operator[] (int size)
 
char * operator+ (size_t size)
 

Private Attributes

char * data
 

Detailed Description

Definition at line 1750 of file string.h.

Constructor & Destructor Documentation

◆ strdup_t() [1/2]

ucommon::strdup_t::strdup_t ( )
inline

Definition at line 1756 of file string.h.

◆ strdup_t() [2/2]

ucommon::strdup_t::strdup_t ( char *  str)
inline

Definition at line 1760 of file string.h.

References ucommon::str().

Here is the call graph for this function:

◆ ~strdup_t()

ucommon::strdup_t::~strdup_t ( )
inline

Definition at line 1764 of file string.h.

Member Function Documentation

◆ c_str()

const char * ucommon::strdup_t::c_str ( void  ) const
inline

Definition at line 1788 of file string.h.

◆ operator bool()

ucommon::strdup_t::operator bool ( ) const
inline

Definition at line 1776 of file string.h.

◆ operator char *()

ucommon::strdup_t::operator char * ( ) const
inline

Definition at line 1784 of file string.h.

◆ operator!()

bool ucommon::strdup_t::operator! ( ) const
inline

Definition at line 1780 of file string.h.

◆ operator*()

const char * ucommon::strdup_t::operator* ( ) const
inline

Definition at line 1792 of file string.h.

◆ operator+()

char * ucommon::strdup_t::operator+ ( size_t  size)
inline

Definition at line 1800 of file string.h.

◆ operator=()

strdup_t & ucommon::strdup_t::operator= ( char *  str)
inline

Definition at line 1769 of file string.h.

References ucommon::str().

Here is the call graph for this function:

◆ operator[]()

char & ucommon::strdup_t::operator[] ( int  size)
inline

Definition at line 1796 of file string.h.

Member Data Documentation

◆ data

char* ucommon::strdup_t::data
private

Definition at line 1753 of file string.h.


The documentation for this class was generated from the following file: