gatb.core-API-1.4.2
IMemoryOperations Class Referenceabstract

Interface providing methods for manipulating memory blocks. More...

#include <IMemory.hpp>

Inheritance diagram for IMemoryOperations:
Inheritance graph

Public Member Functions

virtual void * memset (void *s, int c, size_t n)=0
 
virtual void * memcpy (void *dest, const void *src, size_t n)=0
 
virtual int memcmp (const void *s1, const void *s2, size_t n)=0
 
virtual ~IMemoryOperations ()
 

Detailed Description

Interface providing methods for manipulating memory blocks.

This interface provides most common methods for setting/copying/comparing buffers.

Constructor & Destructor Documentation

virtual ~IMemoryOperations ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual int memcmp ( const void *  s1,
const void *  s2,
size_t  n 
)
pure virtual

Same as memcpy from <string.h>

Implemented in MemoryCommon, and MemoryOperationsCommon.

virtual void* memcpy ( void *  dest,
const void *  src,
size_t  n 
)
pure virtual

Same as memcpy from <string.h>

Implemented in MemoryCommon, and MemoryOperationsCommon.

virtual void* memset ( void *  s,
int  c,
size_t  n 
)
pure virtual

Same as memset from <string.h>

Implemented in MemoryCommon, and MemoryOperationsCommon.


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