![]() |
Prusa Slicer 2.6.0
|
#include <src/agg/agg_array.h>
Inheritance diagram for agg::pod_bvector< T, S >:Public Types | |
| enum | block_scale_e { block_shift = S , block_size = 1 << block_shift , block_mask = block_size - 1 } |
| typedef T | value_type |
Public Member Functions | |
| ~pod_bvector () | |
| pod_bvector () | |
| pod_bvector (unsigned block_ptr_inc) | |
| pod_bvector (const pod_bvector< T, S > &v) | |
| const pod_bvector< T, S > & | operator= (const pod_bvector< T, S > &v) |
| void | remove_all () |
| void | clear () |
| void | free_all () |
| void | free_tail (unsigned size) |
| void | add (const T &val) |
| void | push_back (const T &val) |
| void | modify_last (const T &val) |
| void | remove_last () |
| int | allocate_continuous_block (unsigned num_elements) |
| void | add_array (const T *ptr, unsigned num_elem) |
| template<class DataAccessor > | |
| void | add_data (DataAccessor &data) |
| void | cut_at (unsigned size) |
| unsigned | size () const |
| const T & | operator[] (unsigned i) const |
| T & | operator[] (unsigned i) |
| const T & | at (unsigned i) const |
| T & | at (unsigned i) |
| T | value_at (unsigned i) const |
| const T & | curr (unsigned idx) const |
| T & | curr (unsigned idx) |
| const T & | prev (unsigned idx) const |
| T & | prev (unsigned idx) |
| const T & | next (unsigned idx) const |
| T & | next (unsigned idx) |
| const T & | last () const |
| T & | last () |
| unsigned | byte_size () const |
| void | serialize (int8u *ptr) const |
| void | deserialize (const int8u *data, unsigned byte_size) |
| void | deserialize (unsigned start, const T &empty_val, const int8u *data, unsigned byte_size) |
| template<class ByteAccessor > | |
| void | deserialize (ByteAccessor data) |
| template<class ByteAccessor > | |
| void | deserialize (unsigned start, const T &empty_val, ByteAccessor data) |
| const T * | block (unsigned nb) const |
Private Member Functions | |
| void | allocate_block (unsigned nb) |
| T * | data_ptr () |
Private Attributes | |
| unsigned | m_size |
| unsigned | m_num_blocks |
| unsigned | m_max_blocks |
| T ** | m_blocks |
| unsigned | m_block_ptr_inc |
| typedef T agg::pod_bvector< T, S >::value_type |
| enum agg::pod_bvector::block_scale_e |
| Enumerator | |
|---|---|
| block_shift | |
| block_size | |
| block_mask | |
| agg::pod_bvector< T, S >::~pod_bvector |
References agg::pod_allocator< T >::deallocate().
Here is the call graph for this function:| agg::pod_bvector< T, S >::pod_bvector |
| agg::pod_bvector< T, S >::pod_bvector | ( | unsigned | block_ptr_inc | ) |
| agg::pod_bvector< T, S >::pod_bvector | ( | const pod_bvector< T, S > & | v | ) |
References agg::pod_allocator< T >::allocate(), agg::pod_bvector< T, S >::block_size, agg::pod_bvector< T, S >::m_blocks, and agg::pod_bvector< T, S >::m_num_blocks.
Here is the call graph for this function:
|
inline |
Referenced by agg::pod_bvector< T, S >::add_array(), agg::scanline32_p8::add_cell(), agg::scanline32_p8::add_cells(), agg::pod_bvector< T, S >::add_data(), agg::scanline32_p8::add_span(), agg::pod_bvector< T, S >::deserialize(), and agg::pod_bvector< T, S >::push_back().
Here is the caller graph for this function:
|
inline |
References agg::pod_bvector< T, S >::add().
Here is the call graph for this function:
|
inline |
References agg::pod_bvector< T, S >::add().
Here is the call graph for this function:
|
private |
References agg::pod_allocator< T >::allocate(), and agg::pod_allocator< T >::deallocate().
Here is the call graph for this function:| int agg::pod_bvector< T, S >::allocate_continuous_block | ( | unsigned | num_elements | ) |
|
inline |
|
inline |
|
inline |
References agg::pod_bvector< T, S >::m_blocks.
| unsigned agg::pod_bvector< T, S >::byte_size |
|
inline |
References agg::pod_bvector< T, S >::m_size.
|
inline |
|
inline |
|
inline |
References agg::pod_bvector< T, S >::m_size, and agg::pod_bvector< T, S >::size().
Here is the call graph for this function:
|
inlineprivate |
Referenced by agg::pod_bvector< T, S >::deserialize(), and agg::pod_bvector< T, S >::deserialize().
Here is the caller graph for this function:
|
inline |
References agg::pod_bvector< T, S >::data_ptr(), agg::pod_bvector< T, S >::m_size, and agg::pod_bvector< T, S >::remove_all().
Here is the call graph for this function:| void agg::pod_bvector< T, S >::deserialize | ( | const int8u * | data, |
| unsigned | byte_size | ||
| ) |
|
inline |
References agg::pod_bvector< T, S >::add(), agg::pod_bvector< T, S >::data_ptr(), and agg::pod_bvector< T, S >::m_size.
Here is the call graph for this function:| void agg::pod_bvector< T, S >::deserialize | ( | unsigned | start, |
| const T & | empty_val, | ||
| const int8u * | data, | ||
| unsigned | byte_size | ||
| ) |
|
inline |
References agg::pod_bvector< T, S >::free_tail().
Here is the call graph for this function:| void agg::pod_bvector< T, S >::free_tail | ( | unsigned | size | ) |
References agg::pod_allocator< T >::deallocate().
Referenced by agg::pod_bvector< T, S >::free_all().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References agg::pod_bvector< T, S >::m_size.
|
inline |
References agg::pod_bvector< T, S >::m_size.
Referenced by agg::scanline32_p8::add_cell(), agg::scanline32_p8::add_cells(), and agg::scanline32_p8::add_span().
Here is the caller graph for this function:| void agg::pod_bvector< T, S >::modify_last | ( | const T & | val | ) |
|
inline |
References agg::pod_bvector< T, S >::m_size.
|
inline |
References agg::pod_bvector< T, S >::m_size.
| const pod_bvector< T, S > & agg::pod_bvector< T, S >::operator= | ( | const pod_bvector< T, S > & | v | ) |
References agg::pod_bvector< T, S >::m_blocks, agg::pod_bvector< T, S >::m_num_blocks, and agg::pod_bvector< T, S >::m_size.
|
inline |
|
inline |
|
inline |
References agg::pod_bvector< T, S >::m_size.
|
inline |
References agg::pod_bvector< T, S >::m_size.
|
inline |
References agg::pod_bvector< T, S >::add().
Here is the call graph for this function:
|
inline |
References agg::pod_bvector< T, S >::m_size.
Referenced by agg::pod_bvector< T, S >::deserialize(), agg::scanline32_p8::reset(), and agg::scanline32_p8::reset_spans().
Here is the caller graph for this function:
|
inline |
| void agg::pod_bvector< T, S >::serialize | ( | int8u * | ptr | ) | const |
|
inline |
References agg::pod_bvector< T, S >::m_size.
Referenced by agg::scanline32_p8::add_cell(), agg::scanline32_p8::add_cells(), agg::scanline32_p8::add_span(), agg::pod_bvector< T, S >::cut_at(), and agg::scanline32_p8::num_spans().
Here is the caller graph for this function:
|
inline |
|
private |
|
private |
Referenced by agg::pod_bvector< T, S >::pod_bvector(), agg::pod_bvector< T, S >::at(), agg::pod_bvector< T, S >::at(), agg::pod_bvector< T, S >::block(), agg::pod_bvector< T, S >::operator=(), agg::pod_bvector< T, S >::operator[](), agg::pod_bvector< T, S >::operator[](), and agg::pod_bvector< T, S >::value_at().
|
private |
|
private |
Referenced by agg::pod_bvector< T, S >::pod_bvector(), and agg::pod_bvector< T, S >::operator=().
|
private |
Referenced by agg::pod_bvector< T, S >::clear(), agg::pod_bvector< T, S >::cut_at(), agg::pod_bvector< T, S >::deserialize(), agg::pod_bvector< T, S >::deserialize(), agg::pod_bvector< T, S >::last(), agg::pod_bvector< T, S >::last(), agg::pod_bvector< T, S >::next(), agg::pod_bvector< T, S >::next(), agg::pod_bvector< T, S >::operator=(), agg::pod_bvector< T, S >::prev(), agg::pod_bvector< T, S >::prev(), agg::pod_bvector< T, S >::remove_all(), and agg::pod_bvector< T, S >::size().