20 #include "SheafSystem/pod_types.h" 22 #include "SheafSystem/std_limits.h" 66 sheaf::namespace_relative_member_index_pod_type::
69 return (poset_id == xother.poset_id) && (member_id == xother.member_id);
73 sheaf::namespace_relative_member_index_pod_type::
91 sheaf::namespace_relative_subposet_index_pod_type::
94 return (poset_id == xother.poset_id) && (subposet_id == xother.subposet_id);
98 sheaf::namespace_relative_subposet_index_pod_type::
107 xos << xpod.poset_id <<
" " << xpod.member_id ;
131 if((xis >> ws >> lposet_id) && (xis >> ws >> lmember_id))
135 xpod.poset_id = lposet_id;
136 xpod.member_id = lmember_id;
142 xis.setstate(ios_base::failbit);
155 xos << xpod.poset_id <<
" " << xpod.subposet_id ;
180 if((xis >> ws >> lposet_id) && (xis >> ws >> lsubposet_id))
184 xpod.poset_id = lposet_id;
185 xpod.subposet_id = lsubposet_id;
191 xis.setstate(ios_base::failbit);
SHEAF_DLL_SPEC namespace_relative_member_index_pod_type invalid_namespace_relative_member_index_pod()
The invalid namespace_relative_member_index_pod_type value.
SHEAF_DLL_SPEC namespace_relative_subposet_index_pod_type invalid_namespace_relative_subposet_index_pod()
The invalid namespace_relative_subposet_index_pod_type value.
SHEAF_DLL_SPEC pod_index_type max_pod_index()
The maximum pod index value.
POD type associated with namespace_relative_subposet_index.
POD type for namespace_relative_member_index.
SHEAF_DLL_SPEC void max(const vd &x0, vd_value_type &xresult, bool xauto_access)
Maximum component of x0, pre-allocated version.
SHEAF_DLL_SPEC pod_index_type min_pod_index()
The minimum pod index value.
SHEAF_DLL_SPEC void min(const vd &x0, vd_value_type &xresult, bool xauto_access)
Minimum component of x0, pre-allocated version.
SHEAF_DLL_SPEC std::istream & operator>>(std::istream &is, dof_tuple_type &xdt)
Extract dof_tuple_type xdt from istream& is.
int_type pod_index_type
The plain old data index type.
SHEAF_DLL_SPEC std::ostream & operator<<(std::ostream &os, const dof_descriptor_array &p)
Insert dof_descriptor_array& p into ostream& os.
SHEAF_DLL_SPEC bool is_valid(pod_index_type xpod_index)
True if an only if xpod_index is valid.
SHEAF_DLL_SPEC pod_index_type invalid_pod_index()
The invalid pod index value.