|
BDE 4.14.0 Production release
|
#include <bslalg_dequeprimitives.h>
Public Types | |
| typedef DequeIterator< VALUE_TYPE, BLOCK_LENGTH > | Iterator |
| typedef bslalg::DequePrimitives< VALUE_TYPE, BLOCK_LENGTH > | DequePrimitives |
Public Member Functions | |
| DequePrimitives_DequeMoveGuard (Iterator dest, Iterator src, std::size_t size, bool isFront) | |
| ~DequePrimitives_DequeMoveGuard () | |
| void | release () |
| Set the size of the range guarded by this object to be zero. | |
This class provides a guard object that, upon destruction and unless the release method has been called, uses moveBack or moveFront to move the "guarded" range [d_source_p .. d_source_p + d_size - 1] back to [d_destination_p .. d_destination_p + d_size -1].
| typedef bslalg::DequePrimitives<VALUE_TYPE, BLOCK_LENGTH> bslalg::DequePrimitives_DequeMoveGuard< VALUE_TYPE, BLOCK_LENGTH >::DequePrimitives |
| typedef DequeIterator<VALUE_TYPE, BLOCK_LENGTH> bslalg::DequePrimitives_DequeMoveGuard< VALUE_TYPE, BLOCK_LENGTH >::Iterator |
|
inline |
Create a guard object that will call moveBack or moveFront, depending on the specified isFront, on the specified size elements from src to dest upon destruction unless release has been called.
|
inline |
Call either moveBack or moveFront depending on d_front upon destruction unless release has been called before this.
|
inline |