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< uint8_t * > Class Reference

#include <temporary.h>

Public Member Functions

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

Protected Attributes

uint8_t * object
 
size_t used
 

Private Member Functions

 temporary (const temporary< uint8_t * > &)
 

Detailed Description

Definition at line 273 of file temporary.h.

Constructor & Destructor Documentation

◆ temporary() [1/2]

ucommon::temporary< uint8_t * >::temporary ( const temporary< uint8_t * > &  )
inlineprivate

Definition at line 276 of file temporary.h.

◆ temporary() [2/2]

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

Construct a temporary object, create our stack frame reference.

Definition at line 286 of file temporary.h.

◆ ~temporary()

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

Definition at line 351 of file temporary.h.

Member Function Documentation

◆ operator bool()

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

Definition at line 307 of file temporary.h.

◆ operator uint8_t *()

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

Definition at line 291 of file temporary.h.

◆ operator!()

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

Definition at line 311 of file temporary.h.

◆ operator*()

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

Access heap object through our temporary directly.

Returns
reference to heap resident object.

Definition at line 303 of file temporary.h.

◆ read() [1/2]

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

Definition at line 322 of file temporary.h.

◆ read() [2/2]

size_t ucommon::temporary< uint8_t * >::read ( fsys fs)
inline

Definition at line 337 of file temporary.h.

References ucommon::fsys::read(), and result().

Here is the call graph for this function:

◆ release()

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

Definition at line 315 of file temporary.h.

◆ seek()

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

Definition at line 332 of file temporary.h.

◆ size()

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

Definition at line 295 of file temporary.h.

◆ write() [1/2]

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

Definition at line 327 of file temporary.h.

◆ write() [2/2]

size_t ucommon::temporary< uint8_t * >::write ( fsys fs)
inline

Definition at line 344 of file temporary.h.

References result(), and ucommon::fsys::write().

Here is the call graph for this function:

Member Data Documentation

◆ object

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

Definition at line 279 of file temporary.h.

◆ used

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

Definition at line 280 of file temporary.h.


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