|
Krita Source Code Documentation
|
#include <KisOptimizedByteArray.h>
Classes | |
| struct | MemoryAllocator |
| struct | PooledMemoryAllocator |
| struct | Private |
Public Types | |
| typedef QSharedPointer< MemoryAllocator > | MemoryAllocatorSP |
| typedef std::pair< quint8 *, int > | MemoryChunk |
Public Member Functions | |
| const quint8 * | constData () const |
| MemoryAllocatorSP | customMemoryAllocator () const |
| quint8 * | data () |
| void | fill (quint8 value, int size=-1) |
| bool | isEmpty () const |
| KisOptimizedByteArray (const KisOptimizedByteArray &rhs) | |
| KisOptimizedByteArray (MemoryAllocatorSP allocator=MemoryAllocatorSP()) | |
| KisOptimizedByteArray & | operator= (const KisOptimizedByteArray &rhs) |
| void | resize (int size) |
| int | size () const |
| ~KisOptimizedByteArray () | |
Private Attributes | |
| QSharedDataPointer< Private > | m_d |
Definition at line 21 of file KisOptimizedByteArray.h.
Definition at line 32 of file KisOptimizedByteArray.h.
| typedef std::pair<quint8*, int> KisOptimizedByteArray::MemoryChunk |
Definition at line 24 of file KisOptimizedByteArray.h.
| KisOptimizedByteArray::KisOptimizedByteArray | ( | MemoryAllocatorSP | allocator = MemoryAllocatorSP() | ) |
Definition at line 167 of file KisOptimizedByteArray.cpp.
| KisOptimizedByteArray::KisOptimizedByteArray | ( | const KisOptimizedByteArray & | rhs | ) |
Definition at line 172 of file KisOptimizedByteArray.cpp.
| KisOptimizedByteArray::~KisOptimizedByteArray | ( | ) |
Definition at line 183 of file KisOptimizedByteArray.cpp.
| const quint8 * KisOptimizedByteArray::constData | ( | ) | const |
Definition at line 192 of file KisOptimizedByteArray.cpp.
| KisOptimizedByteArray::MemoryAllocatorSP KisOptimizedByteArray::customMemoryAllocator | ( | ) | const |
Definition at line 224 of file KisOptimizedByteArray.cpp.
References m_d.
| quint8 * KisOptimizedByteArray::data | ( | ) |
| void KisOptimizedByteArray::fill | ( | quint8 | value, |
| int | size = -1 ) |
Definition at line 208 of file KisOptimizedByteArray.cpp.
| bool KisOptimizedByteArray::isEmpty | ( | ) | const |
Definition at line 219 of file KisOptimizedByteArray.cpp.
References m_d.
| KisOptimizedByteArray & KisOptimizedByteArray::operator= | ( | const KisOptimizedByteArray & | rhs | ) |
Definition at line 177 of file KisOptimizedByteArray.cpp.
References m_d.
| void KisOptimizedByteArray::resize | ( | int | size | ) |
| int KisOptimizedByteArray::size | ( | ) | const |
Definition at line 214 of file KisOptimizedByteArray.cpp.
References m_d.
|
private |
Definition at line 68 of file KisOptimizedByteArray.h.