![]() |
B2BITS FIX Antenna C++ 2.34.0
|
Represents reference to the memory block. More...
#include <B2BITS_String.h>
Public Types | |
| typedef T | value_type |
| Provides access to the template parameter. | |
Public Member Functions | |
| value_type const * | begin () const throw () |
| Returns pointer to first character. | |
| int | compareTo (MemBlock rv) const throw () |
| Compares two MemBlock. | |
| value_type const * | data () const throw () |
| Returns pointer to the first character of the block. | |
| value_type const * | end () const throw () |
| Returns pointer to the next after last character. | |
| MemBlock () throw () | |
| Default constructor. | |
| MemBlock (const value_type *aData, size_t aSize) throw () | |
| Constructor Constructs instance from address to memory and size. | |
| template<typename Iterator > | |
| MemBlock (Iterator aBegin, Iterator aEnd) throw () | |
| Constructor Constructs instance from address to memory and size. | |
| value_type const & | operator[] (std::size_t index) const throw () |
| Indexer. | |
| std::size_t | size () const throw () |
| Returns size of the block. | |
Represents reference to the memory block.
Object does not own stored memory block.
| typedef T Engine::MemBlock< T >::value_type |
Provides access to the template parameter.
|
inline | |||||||||||||||
Constructor Constructs instance from address to memory and size.
| aData | address to the block |
| aSize | size of the block |
|
inline | |||||||||||||||
Constructor Constructs instance from address to memory and size.
| aBegin | address to the first byte of the block |
| aEnd | address of the byte after last byte of the block |
|
inline | ||||||||||||
Default constructor.
|
inline | ||||||||||||
Returns pointer to first character.
|
inline | |||||||||||||
Compares two MemBlock.
References Engine::MemBlock< T >::data(), and Engine::MemBlock< T >::size().
Referenced by Engine::BasicString< CharType >::compareTo().
|
inline | ||||||||||||
Returns pointer to the first character of the block.
Referenced by Engine::StringEx::append(), Engine::MemBlock< T >::compareTo(), and Engine::MemBlock< T >::operator[]().
|
inline | ||||||||||||
Returns pointer to the next after last character.
|
inline | |||||||||||||
Indexer.
References Engine::MemBlock< T >::data().
|
inline | ||||||||||||
Returns size of the block.
Referenced by Engine::StringEx::append(), and Engine::MemBlock< T >::compareTo().