23 #ifndef SHEAF_DLL_SPEC_H 24 #include "SheafSystem/sheaf_dll_spec.h" 28 #include "SheafSystem/auto_block.h" 38 class SHEAF_DLL_SPEC block :
public auto_block<T, un_block_initialization_policy<T> >
43 typedef auto_block<T, un_block_initialization_policy<T> > base_type;
45 typedef typename base_type::index_type index_type;
46 typedef typename base_type::size_type
size_type;
53 block(index_type xub = 0);
59 block(index_type xub, size_type xct,
const T *xitems);
64 block(
const block& xother);
69 block& operator=(
const block& xother);
87 bool operator==(
const block<T>& xblk1,
const block<T>& xblk2);
93 std::ostream& operator << (std::ostream& xos, const block<T>& xblk);
100 size_t deep_size(
const block<T>& xblk,
bool xinclude_shallow =
true);
109 size_t deep_size(
const block<T*>& xblk,
bool xinclude_shallow =
true);
SHEAF_DLL_SPEC size_t deep_size(const dof_descriptor_array &xp, bool xinclude_shallow=true)
The deep size of the referenced object of type dof_descriptor_array.
unsigned long size_type
An unsigned integral type used to represent sizes and capacities.
bool operator==(const singly_linked_list< T, Alloc > &lhs, const singly_linked_list< T, Alloc > &rhs)
Checks if the contents of lhs and rhs are equal, that is, whether lhs.size() == rhs.size() and each element in lhs compares equal with the element in rhs at the same position.
Namespace for the sheaves component of the sheaf system.