![]() |
Disk ARchive
2.5.3
Full featured and portable backup and archiving tool
|
#include <on_pool.hpp>
Inherited by libdar::archive, libdar::archive_options_create, libdar::archive_options_diff, libdar::archive_options_extract, libdar::archive_options_isolate, libdar::archive_options_listing, libdar::archive_options_merge, libdar::archive_options_read, libdar::archive_options_test, libdar::cat_entree, libdar::cat_etoile, libdar::catalogue, libdar::crc, libdar::crit_action, libdar::criterium, libdar::data_tree, libdar::database, libdar::datetime, libdar::deci, libdar::defile, libdar::ea_attributs, libdar::elastic, libdar::entrepot, libdar::etage, libdar::filesystem_hard_link_read [virtual]
, libdar::filesystem_hard_link_write [virtual]
, libdar::filesystem_specific_attribute, libdar::filesystem_specific_attribute_list, libdar::generic_file, libdar::generic_file_overlay_for_gpgme, libdar::header, libdar::header_version, libdar::infinint, libdar::label, libdar::limitint< B >, libdar::list_entry, libdar::mask, libdar::messaging_decode, libdar::messaging_encode, libdar::path, libdar::secu_string, libdar::semaphore, libdar::slave_thread, libdar::slave_zapette, libdar::slice_layout, libdar::storage, libdar::storage::iterator, libdar::tlv_list, libdar::user_interaction, and libdar::wrapperlib.
Public Member Functions | |
void * | operator new (size_t n_byte) |
void * | operator new (size_t n_byte, const std::nothrow_t ¬hrow_value) |
void * | operator new[] (size_t n_byte) |
void * | operator new[] (size_t n_byte, const std::nothrow_t ¬hrow_value) |
void * | operator new (size_t n_byte, memory_pool *p) |
void * | operator new[] (size_t n_byte, memory_pool *p) |
void | operator delete (void *ptr, memory_pool *p) |
this operator is called by the compiler if an exception is throw from the constructor of the allocated object | |
void | operator delete[] (void *ptr, memory_pool *p) |
this operator is called by the compiler if an exception is throw from the constructor of the allocated objects | |
void | operator delete (void *ptr) |
this is the usual delete operator, modified to handle allocated objects allocated on a memory pool or not | |
void | operator delete[] (void *ptr) |
this is the usual delete[] operator, modified to handle allocated objects allocated on a memory pool or not | |
Protected Member Functions | |
memory_pool * | get_pool () const |
template<class T > | |
void | meta_new (T *&ptr, size_t num) |
template<class T > | |
void | meta_delete (T *ptr) |
class on_pool is the ancestors of all class that are able to be allocated on a memory pool
Definition at line 52 of file on_pool.hpp.
|
inlineprotected |
get the pool used to allocate "this"
Definition at line 144 of file on_pool.hpp.
Referenced by libdar::cat_eod::clone(), libdar::cat_ignored::clone(), libdar::cat_ignored_dir::clone(), libdar::cat_detruit::clone(), libdar::mask_list::clone(), libdar::cat_blockdev::clone(), libdar::cat_lien::clone(), libdar::cat_chardev::clone(), libdar::cat_tube::clone(), libdar::cat_prise::clone(), libdar::cat_mirage::clone(), libdar::bool_mask::clone(), libdar::cat_file::clone(), libdar::crit_constant_action::clone(), libdar::simple_mask::clone(), libdar::cat_directory::clone(), libdar::regular_mask::clone(), libdar::testing::clone(), libdar::not_mask::clone(), libdar::crit_chain::clone(), libdar::crit_in_place_is_inode::clone(), libdar::et_mask::clone(), libdar::crit_in_place_is_dir::clone(), libdar::crit_in_place_is_file::clone(), libdar::crit_in_place_is_hardlinked_inode::clone(), libdar::crit_in_place_is_new_hardlinked_inode::clone(), libdar::crit_in_place_data_more_recent::clone(), libdar::ou_mask::clone(), libdar::crit_in_place_data_more_recent_or_equal_to::clone(), libdar::crit_in_place_data_bigger::clone(), libdar::simple_path_mask::clone(), libdar::crit_in_place_data_saved::clone(), libdar::crit_in_place_data_dirty::clone(), libdar::same_path_mask::clone(), libdar::crit_in_place_data_sparse::clone(), libdar::crit_in_place_EA_present::clone(), libdar::exclude_dir_mask::clone(), libdar::crit_in_place_EA_more_recent::clone(), libdar::crit_in_place_EA_more_recent_or_equal_to::clone(), libdar::crit_in_place_more_EA::clone(), libdar::crit_in_place_EA_bigger::clone(), libdar::crit_in_place_EA_saved::clone(), libdar::crit_same_type::clone(), libdar::crit_not::clone(), libdar::crit_and::clone(), and libdar::user_interaction_blind::clone().
|
inline |
the usual new operator is wrapped to allow proper delete operation later on (throws std::bad_alloc upon allocation failure)
Definition at line 84 of file on_pool.hpp.
|
inline |
the usual new operator is wrapped to allow proper delete operation later on (does not throw exception upon allocation failure)
Definition at line 90 of file on_pool.hpp.
|
inline |
this operator allocates a single object on a memory pool
Definition at line 108 of file on_pool.hpp.
|
inline |
the usual new[] operator is wrapped to allow proper delete[] operation later on (throws std::bad_alloc upon allocation failure)
Definition at line 96 of file on_pool.hpp.
|
inline |
the usual new[] operator is wrapped to allow proper delete[] operation later on (does not throw exception upon allocation failure)
Definition at line 102 of file on_pool.hpp.
|
inline |
this operator allocates an array of objects on a memory pool
Definition at line 115 of file on_pool.hpp.