OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::BufAllocFlags Namespace Reference

Functions

constexpr BufferFlags NO_FLAGS (0u)
 no flags set
 
constexpr BufferFlags CONSTRUCT_ZERO (1u<< 0)
 if enabled, constructors/init will zero allocated space
 
constexpr BufferFlags DESTRUCT_ZERO (1u<< 1)
 if enabled, destructor will zero data before deletion
 
constexpr BufferFlags GROW (1u<< 2)
 if enabled, buffer will grow (otherwise buffer_full exception will be thrown)
 
constexpr BufferFlags ARRAY (1u<< 3)
 if enabled, use as array
 

Function Documentation

◆ ARRAY()

constexpr BufferFlags openvpn::BufAllocFlags::ARRAY ( 1u<<  3)
constexprprotected

if enabled, use as array

Here is the caller graph for this function:

◆ CONSTRUCT_ZERO()

constexpr BufferFlags openvpn::BufAllocFlags::CONSTRUCT_ZERO ( 1u<<  0)
constexprprotected

if enabled, constructors/init will zero allocated space

Here is the caller graph for this function:

◆ DESTRUCT_ZERO()

constexpr BufferFlags openvpn::BufAllocFlags::DESTRUCT_ZERO ( 1u<<  1)
constexprprotected

if enabled, destructor will zero data before deletion

Here is the caller graph for this function:

◆ GROW()

constexpr BufferFlags openvpn::BufAllocFlags::GROW ( 1u<<  2)
constexprprotected

if enabled, buffer will grow (otherwise buffer_full exception will be thrown)

Here is the caller graph for this function:

◆ NO_FLAGS()

constexpr BufferFlags openvpn::BufAllocFlags::NO_FLAGS ( 0u  )
constexprprotected

no flags set

Here is the caller graph for this function: