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 |
| Returns pointer to first character. | |
| int | compareTo (MemBlock rv) const |
| Compares two MemBlock. | |
| value_type const * | data () const |
| Returns pointer to the first character of the block. | |
| value_type const * | end () const |
| Returns pointer to the next after last character. | |
| MemBlock (const value_type *aData, size_t aSize) | |
| Constructor Constructs instance from address to memory and size. | |
| MemBlock () | |
| Default constructor. | |
| value_type const & | operator[] (size_t index) const |
| Indexer. | |
| size_t | size () const |
| Returns size of the block. | |
Represents reference to the memory block.
Object does not own stored memory block.
Definition at line 62 of file B2BITS_String.h.
| typedef T Engine::MemBlock< T >::value_type |
Provides access to the template parameter.
Reimplemented in Engine::BasicString< CharType >.
Definition at line 65 of file B2BITS_String.h.
| Engine::MemBlock< T >::MemBlock | ( | const value_type * | aData, |
| size_t | aSize | ||
| ) | [inline] |
Constructor Constructs instance from address to memory and size.
| data | address to the block |
| size | size of the block |
Definition at line 122 of file B2BITS_String.h.
| Engine::MemBlock< T >::MemBlock | ( | ) | [inline] |
Default constructor.
Definition at line 125 of file B2BITS_String.h.
| value_type const* Engine::MemBlock< T >::begin | ( | ) | const [inline] |
Returns pointer to first character.
Definition at line 80 of file B2BITS_String.h.
| int Engine::MemBlock< T >::compareTo | ( | MemBlock< T > | rv ) | const [inline] |
Compares two MemBlock.
Definition at line 91 of file B2BITS_String.h.
Referenced by Engine::operator!=(), Engine::operator<(), Engine::operator==(), and Engine::operator>().
| value_type const* Engine::MemBlock< T >::data | ( | ) | const [inline] |
Returns pointer to the first character of the block.
Definition at line 71 of file B2BITS_String.h.
Referenced by Engine::BasicString< CharType >::compareTo(), Engine::MemBlock< CharType >::compareTo(), and Engine::MemBlock< CharType >::operator[]().
| value_type const* Engine::MemBlock< T >::end | ( | ) | const [inline] |
Returns pointer to the next after last character.
Definition at line 77 of file B2BITS_String.h.
| value_type const& Engine::MemBlock< T >::operator[] | ( | size_t | index ) | const [inline] |
Indexer.
Definition at line 83 of file B2BITS_String.h.
| size_t Engine::MemBlock< T >::size | ( | ) | const [inline] |
Returns size of the block.
Definition at line 74 of file B2BITS_String.h.
Referenced by Engine::BasicString< CharType >::compareTo(), and Engine::MemBlock< CharType >::compareTo().
1.7.2