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::temporary< char * > Class Reference

#include <temporary.h>

Public Member Functions

 temporary (size_t size)
 Construct a temporary object, create our stack frame reference. More...
 
 operator char * () const
 
size_t size () const
 
char * operator* () const
 Access heap object through our temporary directly. More...
 
 operator bool () const
 
bool operator! () const
 
void release ()
 
 ~temporary ()
 
size_t read (FILE *fp)
 
size_t write (FILE *fp)
 
size_t seek (FILE *fp, long pos)
 

Protected Attributes

char * object
 
size_t used
 

Private Member Functions

 __DELETE_COPY (temporary)
 

Detailed Description

Definition at line 200 of file temporary.h.

Constructor & Destructor Documentation

◆ temporary()

ucommon::temporary< char * >::temporary ( size_t  size)
inline

Construct a temporary object, create our stack frame reference.

Definition at line 213 of file temporary.h.

◆ ~temporary()

ucommon::temporary< char * >::~temporary ( )
inline

Definition at line 249 of file temporary.h.

Member Function Documentation

◆ __DELETE_COPY()

ucommon::temporary< char * >::__DELETE_COPY ( temporary< char * >  )
private

◆ operator bool()

ucommon::temporary< char * >::operator bool ( ) const
inline

Definition at line 234 of file temporary.h.

◆ operator char *()

ucommon::temporary< char * >::operator char * ( ) const
inline

Definition at line 218 of file temporary.h.

◆ operator!()

bool ucommon::temporary< char * >::operator! ( ) const
inline

Definition at line 238 of file temporary.h.

◆ operator*()

char * ucommon::temporary< char * >::operator* ( ) const
inline

Access heap object through our temporary directly.

Returns
reference to heap resident object.

Definition at line 230 of file temporary.h.

◆ read()

size_t ucommon::temporary< char * >::read ( FILE *  fp)
inline

Definition at line 256 of file temporary.h.

References ucommon::String::count().

Here is the call graph for this function:

◆ release()

void ucommon::temporary< char * >::release ( )
inline

Definition at line 242 of file temporary.h.

◆ seek()

size_t ucommon::temporary< char * >::seek ( FILE *  fp,
long  pos 
)
inline

Definition at line 266 of file temporary.h.

◆ size()

size_t ucommon::temporary< char * >::size ( ) const
inline

Definition at line 222 of file temporary.h.

◆ write()

size_t ucommon::temporary< char * >::write ( FILE *  fp)
inline

Definition at line 261 of file temporary.h.

Member Data Documentation

◆ object

char* ucommon::temporary< char * >::object
protected

Definition at line 206 of file temporary.h.

◆ used

size_t ucommon::temporary< char * >::used
protected

Definition at line 207 of file temporary.h.


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