Engine::MemBlock< T > Class Template Reference

Represents reference to the memory block. More...

#include <B2BITS_String.h>

List of all members.

Public Types

typedef T value_type
 Provides access to the template parameter.

Public Member Functions

const value_typedata () const
 Returns memory address.
size_t size () const
 Returns size of the block.
value_type const & operator[] (size_t index) const
 Indexer.
int compareTo (MemBlock rv) const
 MemBlock (const value_type *data, size_t size)
 MemBlock ()
 Default constructor.


Detailed Description

template<typename T>
class Engine::MemBlock< T >

Represents reference to the memory block.

Constructor & Destructor Documentation

template<typename T>
Engine::MemBlock< T >::MemBlock ( const value_type data,
size_t  size 
) [inline]

Constructor Constructs instance from address to memory and size

Parameters:
data address to the block
size size of the block


Member Function Documentation

template<typename T>
int Engine::MemBlock< T >::compareTo ( MemBlock< T >  rv  )  const [inline]

Compares two MemBlock

Returns:
The return value indicates the relationship between the buffers.


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

Generated on Fri Apr 17 12:27:28 2009 for B2BITS FIX Antenna C++ by  doxygen 1.5.6