SheafSystem  0.0.0.0
sheaf::poset_component Class Referenceabstract

Features shared by poset_member and subposet.

Subposet and poset_member objects can be attached, detached, and reattached to the poset_state object in a manner similar to the way object references can be attached, detached, and reattached to objects in Eiffel and in Java. This class provides the routines for managing the state attachment for these 2 poset component types.

Note: this class is intended only for convenience of implementation. It is is not intended to be used as an abstract interface by clients and may not reliably function as such. More...

#include <poset_component.h>

Inheritance diagram for sheaf::poset_component:
sheaf::read_write_monitor_handle sheaf::any sheaf::abstract_poset_member sheaf::subposet sheaf::partial_poset_member sheaf::total_poset_member sheaf::poset_member fiber_bundle::base_space_member fiber_bundle::group fiber_bundle::sec_rep_descriptor fiber_bundle::tuple sheaf::namespace_poset_member sheaf::poset_member_iterator sheaf::schema_poset_member

POSET_COMPONENT FACET

poset_state_handle_host
 The host poset for this component. More...
 
scoped_index _index
 The index for this component within the host. More...
 
int _version
 The version of this component. The version of the host used when evaluating properties of this component. More...
 
virtual ~poset_component ()
 Destructor. More...
 
 poset_component ()
 Default constructor. More...
 
poset_statestate_obj () const
 The state this component handle is attached to. More...
 
poset_powerset_statepowerset () const
 The set of subposets of host(). More...
 
poset_crg_statecrg () const
 The cover relation graph of host(). More...
 
virtual subposet_statepowerset_member (const scoped_index &xindex) const
 The hidden state of the subposet asocciated with index xindex. More...
 
poset_dof_maprow_dof_tuple (const scoped_index &xindex) const
 The row dof tuple associated with xindex. More...
 
virtual void init_handle_data_members ()
 Initializes handle data members when attaching to a different member in a different host; intended to be redefined in derived classes. More...
 
virtual void attach_handle_data_members ()
 Initializes handle data members when attaching to a different member of the same host; intended to be redefined in derived classes. More...
 

COMPONENT INDEX FACET

const scoped_indexindex () const
 The index of the component state this handle is attached to. More...
 
virtual bool is_valid_index (const poset_state_handle *xhost, pod_index_type xhub_id, int xversion=CURRENT_HOST_VERSION) const =0
 True if there exists a component of the same type as this with hub id xhub_id in version xversion of xhost. More...
 
bool is_valid_index (const poset_state_handle *xhost, const scoped_index &xid, int xversion=CURRENT_HOST_VERSION) const
 True if there exists a component of the same type as this with id xid in version xversion of xhost. More...
 
virtual const hub_index_space_handlehub_id_space () const =0
 The hub id space; const version. More...
 
virtual const scoped_indexhub_id () const =0
 A id in the hub id space for components of this type; intended for copying to initialize ids to the hub id space. More...
 
virtual scoped_index hub_id (pod_index_type xid) const =0
 An id in the member hub id space with pod xid. More...
 
virtual pod_index_type get_index_from_name (const poset_state_handle *xhost, const std::string &xname) const =0
 Gets the index of the component in xhost with name xname. More...
 
virtual void get_index_from_name (const poset_state_handle *xhost, const std::string &xname, scoped_index &result) const =0
 Gets the index of the component in xhost with name xname. More...
 
int version (bool xunalias=true) const
 The (possibly aliased) version of this component. The version of the host used when evaluating properties of this component. If unalias == true, return actual version alias refers to. More...
 
virtual void put_version (int xversion, bool xunalias=false)
 Sets version to (possibly aliased) xversion. If unalias == true, set version to the actual version alias refers to. More...
 
int unaliased_version (int xversion) const
 The actual version associated with (possibly aliased) version xversion in this. More...
 
pod_index_type version_index () const
 The subposet index for the filter associated with version(). More...
 
void version_index (scoped_index &result) const
 The subposet index for the filter associated with version(). More...
 
std::string version_name () const
 The subposet name for the filter associated with version(). More...
 
bool has_version (int xversion) const
 True if xversion is a valid version for this. More...
 

COMPONENT NAME FACET

std::string name () const
 OBSOLETE: use name(bool xauto_access). A name for this. More...
 
virtual std::string name (bool xauto_access) const =0
 A name for this. More...
 
virtual void all_names (block< std::string > &xresult, bool xauto_access=false) const =0
 All the names for this. More...
 
virtual size_type name_ct (bool xauto_access) const =0
 The number of names for this. More...
 
virtual bool has_name (const std::string &xname, bool xauto_access=false) const =0
 True if xname is a name for this. More...
 
virtual void put_name (const std::string &xname, bool xunique, bool xauto_access)=0
 Make xname a name for this; if xunique, make xname the only name. More...
 
virtual void delete_name (const std::string &xname, bool xauto_access=false)=0
 Delete all names for this. More...
 
virtual void delete_all_names (bool xauto_access=false)=0
 Delete all the names for this. More...
 
bool is_valid_name (const poset_state_handle *xhost, const std::string &xname) const
 True if there exists a component as the same type as this in xhost with name xname. More...
 
poset_path path (bool xauto_access=true) const
 A path to this component. More...
 
bool has_path (const poset_path &xpath, bool xauto_access) const
 True if and only if xpath refers to this component. More...
 

HOST POSET FACET

poset_state_handlehost () const
 The poset which this is a handle to a component of. More...
 
virtual bool host_is_ancestor_of (const poset_state_handle *xther) const
 True if xother conforms to host. More...
 
bool has_same_host (const poset_component *xother) const
 True if xother is attached to the same host as this or if both are unattached. More...
 
bool in_same_space (const poset_component *xother) const
 Synonym for has_same_host(xother) More...
 

NAMESPACE FACET

virtual namespace_posetname_space () const
 The namespace of host() More...
 
virtual bool namespace_is_ancestor_of (const namespace_poset *xother) const
 True if xother conforms to name_space(). More...
 
bool same_namespace (const poset_component *xother) const
 True if the host of xother resides in the same namespace as this or if both are unattached. More...
 
bool same_namespace (const poset_state_handle *xother) const
 True if xother resides in the same namespace as the host of this or if both are unattached. More...
 

STATE FACET

void attach_to_state (const poset_state_handle *xhost, pod_index_type xhub_id)
 Attach this handle to the state with hub id xhub_id in the current version of host xhost. More...
 
void attach_to_state (const poset_state_handle *xhost, const scoped_index &xid)
 Attach this handle to the state with id xid in the current version of host xhost. More...
 
void attach_to_state (const poset_state_handle *xhost, const std::string &xname)
 Attach to the member state with name xname in the current version of host xhost. More...
 
void attach_to_state (const namespace_poset *xhost, const std::string &xname)
 
void attach_to_state (const std::string &)
 Attach to the state with name xname in version version() of host host(). More...
 
void attach_to_state (pod_index_type xhub_id)
 Attach to the state with hub id xhub_id in version version() of host host(). More...
 
void attach_to_state (const scoped_index &xid)
 Attach to the state with id xid in version version() of host host(). More...
 
void attach_to_state (const poset_component *xother)
 Attach to the same state as xother. More...
 
void attach_to_state (const poset_component *xother, bool xauto_access)
 Attach to the same state as xother, auto-accessible version. More...
 
virtual void detach_from_state ()
 Detach this handle from its state, if any. More...
 
virtual void delete_state (bool xauto_access=false)=0
 Detach this from its state and delete the state. More...
 
virtual bool is_attached () const
 True if this handle is attached to a non-void state. More...
 
bool is_same_state (const poset_state_handle *xhost, pod_index_type xhub_id) const
 True is this is attached to state with hub id xhub_id in host xhost. More...
 
bool is_same_state (const poset_state_handle *xhost, const scoped_index &xid) const
 True is this is attached to state with id xid in host xhost. More...
 
bool is_same_state (const poset_component *xother) const
 True if xother is attached to the same host and same state as this or if both are unattached. More...
 

STATE ACCESS CONTROL FACET

virtual void get_read_access () const
 Get read access to the state associated with this. More...
 
virtual void get_read_write_access (bool xrelease_read_only_access=false)
 Get read write access to the state associated with this. If release_read_only_access is requested, read only access will be released then read_write_access will be requested, finally the same level of read_access as before will be requested. More...
 
virtual void release_access (bool xall=false) const
 Release access. If xall is true, release all levels of access. Otherwise, release one level of access. More...
 

ANY FACET

virtual bool is_ancestor_of (const any *other) const
 True if other conforms to current. More...
 
virtual poset_componentclone () const =0
 Make a new instance of the same type as this. More...
 
virtual bool invariant () const
 Class invariant. More...
 

Additional Inherited Members

- Public Member Functions inherited from sheaf::read_write_monitor_handle
virtual ~read_write_monitor_handle ()
 Descturctor. More...
 
bool state_is_read_only_accessible () const
 True if this is attached and the state is accessible for read access but not for write. More...
 
bool state_is_not_read_only_accessible () const
 True if this is attached and the state is not accessible for read only access. More...
 
bool state_is_read_accessible () const
 True if this is attached and if the state is accessible for read or access control is disabled. More...
 
bool state_is_not_read_accessible () const
 True if this is attached and if the state is accessible for read or if access control is disabled. More...
 
bool state_is_auto_read_accessible (bool xauto_access) const
 True if the state is auto accessible for read, that is, if the state is already accessible for read or if this is attached and xuto_access is true. More...
 
bool state_is_read_write_accessible () const
 True if this is attached and if the state is accessible for read and write or access control is disabled. More...
 
bool state_is_not_read_write_accessible () const
 True if state is attached and if not accessible for read and write or access control is disabled. More...
 
bool state_is_auto_read_write_accessible (bool xauto_access) const
 True if state is auto accessible for read and write, that is, if the state is already accessible for read and write or if this is attached and xuto_access is true. or if this is attached and access control is disabled. More...
 
int access_request_depth () const
 The number of times access has been requested and granted without being released. More...
 
bool state_is_mode_locked () const
 Obsolete. More...
 
int mode_lock_ct () const
 Obsolete. More...
 
void get_mode_lock () const
 Obsolete. More...
 
void release_mode_lock ()
 Obsolete. More...
 
bool state_is_modified () const
 True if write access has been granted and released since the last call to clear_state_is_modified(). More...
 
void clear_state_is_modified ()
 Sets the state_is_modified floag to false. More...
 
- Public Member Functions inherited from sheaf::any
bool is_same_type (const any *other) const
 True if other is the same type as this. More...
 
virtual ~any ()
 Destructor. More...
 
bool invariant_check () const
 True if invariant checking is enabled. More...
 
void enable_invariant_check () const
 Enable invariant checking. More...
 
void disable_invariant_check () const
 Disable invariant check. Intended for preventing recursive calls to invariant and for suppressing invariant checking during multi-phase initialization. More...
 
int disable_invariance_check_request_depth () const
 Number of times disable_invariant_check has been called without matching call to enable_invariant_check. More...
 
- Static Public Member Functions inherited from sheaf::read_write_monitor_handle
static bool access_control_disabled ()
 True if access control mechanism is disabled. Default value is enabled (false) and access is controlled by the per-thread access control functions. Disabled (true) is equivalent to having read-write access at all times, irrespective of any access control requests. Synonym for read_write_monitor::access_control_disabled(). More...
 
static void enable_access_control ()
 Enables access control. Synonym for read_write_monitor::enable_access_control(). Should only be invoked once at beginning of a program, before any other SheafSystem calls. Once enabled, access control can not be disabled. More...
 
- Protected Member Functions inherited from sheaf::read_write_monitor_handle
bool access_guards_disabled () const
 True if thread of control is still in constructor. More...
 
void disable_access_guards ()
 Disables access guards; intended for use only within constructors of monitored objects, where no other client can possibly have access (yet). More...
 
void enable_access_guards ()
 Re-enables access guards. More...
 
- Protected Member Functions inherited from sheaf::any
 any ()
 default constructor More...
 

Detailed Description

Features shared by poset_member and subposet.

Subposet and poset_member objects can be attached, detached, and reattached to the poset_state object in a manner similar to the way object references can be attached, detached, and reattached to objects in Eiffel and in Java. This class provides the routines for managing the state attachment for these 2 poset component types.

Note: this class is intended only for convenience of implementation. It is is not intended to be used as an abstract interface by clients and may not reliably function as such.

Definition at line 74 of file poset_component.h.

Constructor & Destructor Documentation

◆ ~poset_component()

sheaf::poset_component::~poset_component ( )
virtual

Destructor.

Definition at line 40 of file poset_component.cc.

References poset_component().

◆ poset_component()

sheaf::poset_component::poset_component ( )
protected

Default constructor.

Postcondition
  • !is_attached()

Definition at line 58 of file poset_component.cc.

References state_obj().

Referenced by ~poset_component().

Member Function Documentation

◆ all_names()

void sheaf::poset_component::all_names ( block< std::string > &  xresult,
bool  xauto_access = false 
) const
pure virtual

All the names for this.

Precondition
Is Abstract.
Postcondition
  • xresult.ct() == name_ct(xauto_access)
  • for(int i = ( 0 ); i < ( xresult.ct() ); ++ i ) !xresult[i].empty()

Implemented in sheaf::abstract_poset_member, and sheaf::subposet.

Definition at line 630 of file poset_component.cc.

References sheaf::auto_block< T, S >::ct(), and name_ct().

Referenced by name().

◆ attach_handle_data_members()

void sheaf::poset_component::attach_handle_data_members ( )
protectedvirtual

Initializes handle data members when attaching to a different member of the same host; intended to be redefined in derived classes.

Precondition
  • -unexecutable( data members created )
Postcondition
  • -unexecutable( data members attached() )

Reimplemented in sheaf::schema_poset_member, fiber_bundle::section_space_schema_member, fiber_bundle::sec_rep_descriptor, sheaf::abstract_poset_member, fiber_bundle::sec_tuple, fiber_bundle::section_space_schema_member, fiber_bundle::structured_block_1d, geometry::sec_ed_invertible, sheaf::partial_poset_member, and fiber_bundle::homogeneous_block.

Definition at line 189 of file poset_component.cc.

References index().

Referenced by init_handle_data_members().

◆ attach_to_state() [1/8]

void sheaf::poset_component::attach_to_state ( const poset_state_handle xhost,
pod_index_type  xhub_id 
)

Attach this handle to the state with hub id xhub_id in the current version of host xhost.

Precondition
  • xhost != 0
  • host_is_ancestor_of(xhost)
  • is_valid_index(xhost, xhub_id)
Issue:
poset_component::attach_to_state() only precondition requires read_access
Error:
attaching to state via host leaves member handle with dangling ref when host handle deleted
Postcondition
  • host()->is_same_state(xhost)
  • postcondition_of(attach_handle_data_members())

Definition at line 1068 of file poset_component.cc.

References sheaf::read_write_monitor_handle::state_is_read_accessible(), and sheaf::poset_state_handle::version().

Referenced by fiber_bundle::section_space_schema_poset::attach_handle_data_members(), attach_to_state(), sheaf::poset_scaffold::convert_record_id_to_subposet_id(), fields::field_eval_iterator::initialize_coordinate_schema(), sheaf::depth_first_iterator::initialize_filter(), fiber_bundle::section_space_schema_poset::initialize_handle_data_members(), sheaf::abstract_poset_member::name(), fields::body_pusher::push(), same_namespace(), sheaf::dof_tuple_record_set::schematize(), and sheaf::subposet_names_record::transfer_internal_buffer_to_poset().

◆ attach_to_state() [2/8]

void sheaf::poset_component::attach_to_state ( const poset_state_handle xhost,
const scoped_index xid 
)

Attach this handle to the state with id xid in the current version of host xhost.

Precondition
  • xhost != 0
  • host_is_ancestor_of(xhost)
  • is_valid_index(xhost, xid)
Postcondition
  • host()->is_same_state(xhost)
  • postcondition_of(attach_handle_data_members())

Definition at line 1129 of file poset_component.cc.

References attach_to_state(), sheaf::scoped_index::hub_pod(), sheaf::read_write_monitor_handle::state_is_read_accessible(), and sheaf::poset_state_handle::version().

◆ attach_to_state() [3/8]

void sheaf::poset_component::attach_to_state ( const poset_state_handle xhost,
const std::string &  xname 
)

Attach to the member state with name xname in the current version of host xhost.

Precondition
  • xhost != 0
  • host_is_ancestor_of(xhost)
  • is_valid_name(xhost, xname)
Postcondition
  • has_name(xname)
  • postcondition_of(attach_handle_data_members())

Definition at line 1158 of file poset_component.cc.

References attach_to_state(), and sheaf::read_write_monitor_handle::state_is_read_accessible().

◆ attach_to_state() [4/8]

void sheaf::poset_component::attach_to_state ( const std::string &  xname)

Attach to the state with name xname in version version() of host host().

Precondition
  • !xname.empty()
  • is_valid_name(host(), xname)
  • precondition_of(attach_to_state(get_index_from_name(host(), xname)))
Postcondition
  • postcondition_of(attach_to_state(get_index_from_name(host(), xname)))

Definition at line 1183 of file poset_component.cc.

References attach_to_state().

◆ attach_to_state() [5/8]

void sheaf::poset_component::attach_to_state ( pod_index_type  xhub_id)

Attach to the state with hub id xhub_id in version version() of host host().

Precondition
  • is_valid_index(host(), xhub_id, version(false))
Postcondition
  • version(false) == old_version
  • postcondition_of(attach_handle_data_members())

Definition at line 1207 of file poset_component.cc.

References attach_to_state().

◆ attach_to_state() [6/8]

void sheaf::poset_component::attach_to_state ( const scoped_index xid)

Attach to the state with id xid in version version() of host host().

Precondition
  • is_valid_index(host(), xid, version(false))
Postcondition
  • version(false) == old_version
  • postcondition_of(attach_handle_data_members())

Definition at line 1241 of file poset_component.cc.

References attach_to_state(), and sheaf::scoped_index::hub_pod().

◆ attach_to_state() [7/8]

void sheaf::poset_component::attach_to_state ( const poset_component xother)

Attach to the same state as xother.

Precondition
  • xother != 0
Issue:
need some way to enforce attachment to valid handles, in particular to enforce members to members and subposets to subposets, but the following is too strict. Won;t let schema_poset_members attach to abstract_poset_member.
Precondition
Postcondition
  • is_same_state(xother)
  • version(false) == xother->version(false)

Definition at line 1267 of file poset_component.cc.

References _version, attach_to_state(), host(), index(), is_attached(), sheaf::read_write_monitor_handle::state_is_read_accessible(), and version().

◆ attach_to_state() [8/8]

void sheaf::poset_component::attach_to_state ( const poset_component xother,
bool  xauto_access 
)

Attach to the same state as xother, auto-accessible version.

Precondition
  • xother != 0
Postcondition
  • postcondition_of(attach_to_state(xother))

Definition at line 1348 of file poset_component.cc.

References detach_from_state(), get_read_access(), is_attached(), release_access(), and sheaf::read_write_monitor_handle::state_is_read_accessible().

◆ clone()

virtual poset_component* sheaf::poset_component::clone ( ) const
pure virtual

Make a new instance of the same type as this.

Reimplemented from sheaf::read_write_monitor_handle.

Implemented in sheaf::schema_poset_member, fiber_bundle::section_space_schema_member, sheaf::abstract_poset_member, fiber_bundle::section_space_schema_member, sheaf::subposet, fiber_bundle::e3, fiber_bundle::met_e3, fiber_bundle::met_e2, fiber_bundle::gl3, fiber_bundle::at0, fiber_bundle::e4, fiber_bundle::base_space_member, fiber_bundle::sec_rep_space_member, fiber_bundle::e2, fiber_bundle::e1, fiber_bundle::st2_e3, fiber_bundle::t2_e3, fiber_bundle::at2_e3, fiber_bundle::st2_e2, fiber_bundle::t2_e2, fiber_bundle::jcb_e13, fiber_bundle::t4_e3, fiber_bundle::at2_e2, fiber_bundle::met_e1, fiber_bundle::gl2, fiber_bundle::t3_e3, fiber_bundle::binary_section_space_schema_member, fiber_bundle::jcb_e33, fiber_bundle::jcb_e23, fiber_bundle::vd, fiber_bundle::st4_e3, fiber_bundle::product_section_space_schema_member, fiber_bundle::st4_e2, fiber_bundle::at3_e3, fiber_bundle::st3_e3, fiber_bundle::t4_e2, fiber_bundle::gln, fiber_bundle::tp, fiber_bundle::jcb, fiber_bundle::homogeneous_block, fiber_bundle::structured_block_3d, fiber_bundle::at2, fiber_bundle::st2, fiber_bundle::st3, fiber_bundle::st4, fiber_bundle::at3, fiber_bundle::structured_block_2d, fiber_bundle::at1, fiber_bundle::t2, fiber_bundle::tuple, fiber_bundle::t4, fiber_bundle::t3, fiber_bundle::zone_nodes_block, fiber_bundle::atp, fiber_bundle::met_ed, fiber_bundle::sec_vd, fiber_bundle::structured_block_1d, fiber_bundle::sec_e3_uniform, fiber_bundle::met, fiber_bundle::stp, sheaf::partial_poset_member, fiber_bundle::sec_e2_uniform, sheaf::namespace_poset_member, fiber_bundle::ed, fiber_bundle::sec_e1_uniform, fiber_bundle::point_block_3d, fiber_bundle::point_block_2d, fiber_bundle::jcb_ed, sheaf::total_poset_member, fiber_bundle::sec_tp, fiber_bundle::point_block_1d, sheaf::poset_member, fiber_bundle::sec_e2, fiber_bundle::sec_e3, fiber_bundle::sec_e1, fiber_bundle::sec_met_e3, fiber_bundle::sec_met_e1, fiber_bundle::sec_met_e2, fiber_bundle::sec_e4, fiber_bundle::sec_at2_e3, fiber_bundle::sec_at3_e3, fiber_bundle::sec_st2_e2, fiber_bundle::sec_at0, fiber_bundle::sec_st2_e3, fiber_bundle::sec_st3_e3, fiber_bundle::sec_st4_e2, fiber_bundle::sec_st4_e3, fiber_bundle::sec_t2_e3, fiber_bundle::sec_t3_e3, fiber_bundle::sec_t4_e2, fiber_bundle::sec_t4_e3, fiber_bundle::sec_at2_e2, fiber_bundle::sec_t2_e2, fiber_bundle::sec_jcb, fiber_bundle::structured_block, fiber_bundle::sec_ed, fiber_bundle::sec_jcb_e23, fiber_bundle::sec_met_ed, fiber_bundle::sec_jcb_e13, fiber_bundle::sec_jcb_e33, fiber_bundle::group, fiber_bundle::sec_atp, fiber_bundle::sec_at1, geometry::sec_ed_invertible, fiber_bundle::sec_at2, fiber_bundle::sec_at3, fiber_bundle::sec_st2, fiber_bundle::sec_st3, fiber_bundle::sec_st4, fiber_bundle::sec_met, fiber_bundle::sec_stp, fiber_bundle::sec_tuple, fiber_bundle::sec_t2, fiber_bundle::sec_t3, fiber_bundle::sec_t4, fiber_bundle::sec_jcb_ed, fiber_bundle::sec_rep_descriptor, fiber_bundle::local_base_space_member, and fiber_bundle::unstructured_block.

◆ crg()

sheaf::poset_crg_state * sheaf::poset_component::crg ( ) const
protected

The cover relation graph of host().

Definition at line 112 of file poset_component.cc.

References powerset_member().

Referenced by powerset().

◆ delete_all_names()

void sheaf::poset_component::delete_all_names ( bool  xauto_access = false)
pure virtual

Delete all the names for this.

Precondition
Is Abstract.
Postcondition
  • name_ct(xauto_access) == 0

Implemented in sheaf::abstract_poset_member, and sheaf::subposet.

Definition at line 741 of file poset_component.cc.

References is_valid_name().

Referenced by delete_name().

◆ delete_name()

void sheaf::poset_component::delete_name ( const std::string &  xname,
bool  xauto_access = false 
)
pure virtual

Delete all names for this.

Precondition
  • !xname.empty()
Is Abstract.
Postcondition
  • !has_name(xname, xauto_access)

Implemented in sheaf::abstract_poset_member, and sheaf::subposet.

Definition at line 719 of file poset_component.cc.

References delete_all_names().

Referenced by put_name().

◆ delete_state()

virtual void sheaf::poset_component::delete_state ( bool  xauto_access = false)
pure virtual

Detach this from its state and delete the state.

Implemented in sheaf::abstract_poset_member, fiber_bundle::section_space_schema_member, and sheaf::subposet.

◆ detach_from_state()

void sheaf::poset_component::detach_from_state ( )
virtual

Detach this handle from its state, if any.

Postcondition
  • !is_attached()

Reimplemented in sheaf::schema_poset_member, fiber_bundle::section_space_schema_member, fiber_bundle::section_space_schema_member, sheaf::partial_poset_member, and fiber_bundle::sec_tuple.

Definition at line 1383 of file poset_component.cc.

References is_attached().

Referenced by attach_to_state(), fiber_bundle::unstructured_block_builder::build_block_decomposition(), tool::vtk_poly_data_builder::build_pa(), tool::vtk_unstructured_grid_builder::build_pa(), fiber_bundle::base_space_member::c_not_pa(), sheaf::namespace_poset::clear(), sheaf::poset_scaffold::convert_record_id_to_subposet_id(), fiber_bundle::vd_space::create_variance_subposets(), fiber_bundle::sec_vd_space::create_variance_subposets(), sheaf::abstract_poset_member::delete_down(), sheaf::partial_poset_member::detach_from_state(), sheaf::schema_poset_member::detach_from_state(), sheaf::member_record_set::externalize(), fiber_bundle::binary_section_space_schema_member::get_decomposition(), fiber_bundle::product_section_space_schema_member::get_decomposition(), sheaf::poset_state_handle::get_decomposition(), fiber_bundle::structured_block::init_handle_data_members(), sheaf::depth_first_iterator::initialize_anchor(), sheaf::namespace_poset_schema::initialize_standard_members(), sheaf::namespace_poset::initialize_standard_members(), sheaf::namespace_poset_schema::initialize_standard_subposets(), fiber_bundle::sec_tp_space::is_contravariant(), fiber_bundle::tp_space::is_contravariant(), fiber_bundle::sec_tp_space::is_covariant(), fiber_bundle::tp_space::is_covariant(), fiber_bundle::vd_space::is_covector(), fiber_bundle::sec_vd_space::is_covector(), sheaf::schema_poset_member::is_dof(), fiber_bundle::vd_space::is_vector(), fiber_bundle::sec_vd_space::is_vector(), fiber_bundle::fiber_bundles_namespace::make_base_space_schema_poset(), fiber_bundle::fiber_bundles_namespace::make_fiber_space_schema_poset(), fiber_bundle::fiber_bundles_namespace::make_hex_complex_prototype(), fiber_bundle::fiber_bundles_namespace::make_hex_faces_nodes_prototype(), fiber_bundle::fiber_bundles_namespace::make_hex_nodes_prototype(), fiber_bundle::fiber_bundles_namespace::make_point_block_1d_prototype(), fiber_bundle::fiber_bundles_namespace::make_point_block_2d_prototype(), fiber_bundle::fiber_bundles_namespace::make_point_block_3d_prototype(), fiber_bundle::fiber_bundles_namespace::make_quad_complex_prototype(), fiber_bundle::fiber_bundles_namespace::make_quad_nodes_prototype(), sheaf::schema_poset_member::make_schema(), fiber_bundle::fiber_bundles_namespace::make_sec_rep_descriptor_schema_poset(), fiber_bundle::fiber_bundles_namespace::make_section_space_schema_schema_poset(), fiber_bundle::fiber_bundles_namespace::make_segment_complex_prototype(), fiber_bundle::fiber_bundles_namespace::make_structured_block_1d_prototype(), fiber_bundle::fiber_bundles_namespace::make_structured_block_2d_prototype(), fiber_bundle::fiber_bundles_namespace::make_structured_block_3d_prototype(), fiber_bundle::fiber_bundles_namespace::make_tetra_complex_prototype(), fiber_bundle::fiber_bundles_namespace::make_tetra_nodes_prototype(), fiber_bundle::fiber_bundles_namespace::make_triangle_complex_prototype(), fiber_bundle::fiber_bundles_namespace::make_triangle_nodes_prototype(), fiber_bundle::fiber_bundles_namespace::make_unstructured_block_prototype(), fiber_bundle::fiber_bundles_namespace::make_zone_nodes_block_prototype(), sheaf::namespace_poset::member_poset_schema_id(), fields::body_factory::new_3d_uniform_bodies(), sheaf::schema_poset_member::new_host(), sheaf::schema_poset_member::new_jim_state(), fiber_bundle::base_space_poset::new_member(), fields::field_factory::new_scalar_field_1d_points(), fields::field_factory::new_scalar_field_1d_uniform(), fields::field_factory::new_scalar_field_1d_unstructured(), fields::field_factory::new_scalar_field_2d_points(), fields::field_factory::new_scalar_field_2d_uniform(), fields::field_factory::new_scalar_field_2d_unstructured(), fields::field_factory::new_scalar_field_3d_points(), fields::field_factory::new_scalar_field_3d_uniform(), fields::field_factory::new_scalar_field_3d_unstructured(), sheaf::subposet_member_iterator::next(), sheaf::filtered_depth_first_member_iterator::operator=(), sheaf::depth_first_iterator::operator=(), sheaf::abstract_poset_member::p_join_pa(), sheaf::abstract_poset_member::p_meet_pa(), fiber_bundle::mesh_partition::part(), fiber_bundle::base_space_poset::prototype_type_id(), fields::discretization_pusher::push(), fiber_bundle::sec_tp_space::put_is_contravariant(), fiber_bundle::tp_space::put_is_contravariant(), fiber_bundle::sec_tp_space::put_is_covariant(), fiber_bundle::tp_space::put_is_covariant(), fiber_bundle::vd_space::put_is_covector(), fiber_bundle::sec_vd_space::put_is_covector(), fiber_bundle::vd_space::put_is_vector(), fiber_bundle::sec_vd_space::put_is_vector(), fiber_bundle::unstructured_block_builder::put_name_mode(), sheaf::poset_dft::recursive_dft(), fiber_bundle::unstructured_block::refine(), sheaf::subposet_member_iterator::reset(), sheaf::table_dof_tuple_record::transfer_poset_to_internal_buffer(), sheaf::poset_slicer::up_set_pa(), sheaf::schema_poset_member::update_dof_id_space(), sheaf::filtered_depth_first_member_iterator::update_item(), sheaf::depth_first_iterator::~depth_first_iterator(), fields::field_eval_iterator::~field_eval_iterator(), fields::field_vd::~field_vd(), sheaf::filtered_depth_first_member_iterator::~filtered_depth_first_member_iterator(), sheaf::poset_scaffold::~poset_scaffold(), sheaf::refinable_poset::~refinable_poset(), fiber_bundle::section_iteration_state::~section_iteration_state(), and sheaf::subposet_member_iterator::~subposet_member_iterator().

◆ get_index_from_name() [1/2]

sheaf::pod_index_type sheaf::poset_component::get_index_from_name ( const poset_state_handle xhost,
const std::string &  xname 
) const
pure virtual

Gets the index of the component in xhost with name xname.

Precondition
  • xhost != 0
  • host_is_ancestor_of(xhost)
  • !xname.empty()
Is Abstract.

Implemented in sheaf::abstract_poset_member, and sheaf::subposet.

Definition at line 351 of file poset_component.cc.

References sheaf::read_write_monitor_handle::state_is_read_accessible().

Referenced by hub_id().

◆ get_index_from_name() [2/2]

void sheaf::poset_component::get_index_from_name ( const poset_state_handle xhost,
const std::string &  xname,
scoped_index result 
) const
pure virtual

Gets the index of the component in xhost with name xname.

Precondition
  • xhost != 0
  • host_is_ancestor_of(xhost)
  • !xname.empty()
Is Abstract.

Implemented in sheaf::abstract_poset_member, and sheaf::subposet.

Definition at line 375 of file poset_component.cc.

References sheaf::read_write_monitor_handle::state_is_read_accessible(), and version().

◆ get_read_access()

void sheaf::poset_component::get_read_access ( ) const
virtual

Get read access to the state associated with this.

Precondition
Postcondition

Reimplemented from sheaf::read_write_monitor_handle.

Definition at line 1519 of file poset_component.cc.

References get_read_write_access().

Referenced by fiber_bundle::vd_algebra::add(), sheaf::schema_poset_member::alignment(), fiber_bundle::tp_algebra::alt(), fiber_bundle::sec_vd_algebra::assign(), attach_to_state(), fiber_bundle::section_space_schema_member::attach_to_state(), fields::base_space_map::base_space_map(), fields::body_pusher::body_pusher(), sheaf::arg_list::conforms_to(), sheaf::poset_path::conforms_to(), sheaf::arg_list::conforms_to_extension(), fiber_bundle::contract(), fiber_bundle::tp_algebra::contract(), fiber_bundle::vd_algebra::contract(), fiber_bundle::e3_algebra::cross(), fiber_bundle::st2_algebra::determinant(), fiber_bundle::vd_algebra::divide(), sheaf::schema_poset_member::dof_id_space(), fiber_bundle::ed_algebra::dot(), fiber_bundle::sec_vd_algebra::extrema(), fields::field_at0::field_at0(), fields::field_at1::field_at1(), fields::field_at2::field_at2(), fields::field_at2_e2::field_at2_e2(), fields::field_at2_e3::field_at2_e3(), fields::field_at3::field_at3(), fields::field_at3_e3::field_at3_e3(), fields::field_atp::field_atp(), fields::field_e1::field_e1(), fields::field_e1_uniform::field_e1_uniform(), fields::field_e2::field_e2(), fields::field_e2_uniform::field_e2_uniform(), fields::field_e3::field_e3(), fields::field_e3_uniform::field_e3_uniform(), fields::field_e4::field_e4(), fields::field_ed::field_ed(), fields::field_jcb::field_jcb(), fields::field_jcb_e13::field_jcb_e13(), fields::field_jcb_e23::field_jcb_e23(), fields::field_jcb_e33::field_jcb_e33(), fields::field_jcb_ed::field_jcb_ed(), fields::field_met::field_met(), fields::field_met_e1::field_met_e1(), fields::field_met_e2::field_met_e2(), fields::field_met_e3::field_met_e3(), fields::field_met_ed::field_met_ed(), fields::field_st2::field_st2(), fields::field_st2_e2::field_st2_e2(), fields::field_st2_e3::field_st2_e3(), fields::field_st3::field_st3(), fields::field_st3_e3::field_st3_e3(), fields::field_st4::field_st4(), fields::field_st4_e2::field_st4_e2(), fields::field_st4_e3::field_st4_e3(), fields::field_stp::field_stp(), fields::field_t2::field_t2(), fields::field_t2_e2::field_t2_e2(), fields::field_t2_e3::field_t2_e3(), fields::field_t3::field_t3(), fields::field_t3_e3::field_t3_e3(), fields::field_t4::field_t4(), fields::field_t4_e2::field_t4_e2(), fields::field_t4_e3::field_t4_e3(), fields::field_tp::field_tp(), fields::field_vd::field_vd(), fiber_bundle::section_space_schema_poset::get_read_access(), fields::field_vd::get_read_access(), fiber_bundle::section_space_schema_poset::get_read_write_access(), fields::field_vd::get_read_write_access(), fiber_bundle::atp_algebra::hook(), geometry::sec_ed_invertible::initialize_d_array_point_locator(), geometry::sec_ed_invertible::initialize_d_tree_point_locator(), geometry::sec_ed_invertible::initialize_d_uniform_point_locator(), fiber_bundle::section_space_schema_poset::initialize_handle_data_members(), geometry::sec_ed_invertible::initialize_point_locator(), sheaf::namespace_poset_schema::initialize_standard_subposets(), is_same_state(), fiber_bundle::ed_algebra::length(), geometry::line_surface_intersecter::line_surface_intersecter(), fiber_bundle::met_algebra::lower(), fiber_bundle::sec_vd_algebra::max(), fiber_bundle::vd_algebra::max(), fiber_bundle::sec_vd_algebra::min(), fiber_bundle::vd_algebra::min(), fiber_bundle::vd_algebra::multiply(), fiber_bundle::base_space_poset::new_row_dof_map(), fiber_bundle::product_section_space_schema_poset::new_state(), fiber_bundle::unstructured_block::new_state(), sheaf::refinable_poset::new_table(), sheaf::poset::new_table(), fiber_bundle::sec_atp_space::new_table(), fiber_bundle::at0_space::new_table(), fiber_bundle::sec_at1_space::new_table(), fiber_bundle::at1_space::new_table(), fiber_bundle::sec_at0_space::new_table(), fiber_bundle::sec_stp_space::new_table(), fiber_bundle::binary_section_space_schema_poset::new_table(), fiber_bundle::stp_space::new_table(), fiber_bundle::sec_rep_descriptor_poset::new_table(), fiber_bundle::atp_space::new_table(), fiber_bundle::vd_space::new_table(), fiber_bundle::tuple_space::new_table(), fiber_bundle::sec_vd_space::new_table(), fiber_bundle::sec_tp_space::new_table(), fiber_bundle::tp_space::new_table(), fiber_bundle::gln_space::new_table(), fiber_bundle::sec_tuple_space::new_table(), fiber_bundle::sec_jcb_space::new_table(), fiber_bundle::jcb_space::new_table(), fiber_bundle::base_space_poset::new_table(), fiber_bundle::ed_algebra::normalize(), fiber_bundle::product_section_space_schema_member::offset(), sheaf::schema_poset_member::offset(), fiber_bundle::operator<<(), sheaf::operator<<(), fiber_bundle::jcb_algebra::pull(), fields::discretization_pusher::push(), fields::base_space_map::push(), fiber_bundle::jcb_algebra::push(), fields::section_pusher::push_pa(), fields::field_vd::put_property_dofs(), fields::put_property_dofs_action::put_property_dofs_action(), fiber_bundle::met_algebra::raise(), fiber_bundle::unstructured_block::refine(), fiber_bundle::section_space_schema_poset::rep_is_valid(), sheaf::schema_poset_member::row_dof_id_space(), fields::base_space_map::same_base(), fields::base_space_map::same_fiber(), fields::body_pusher::same_fiber(), fields::base_space_map::same_rep(), fields::section_pusher::section_pusher(), sheaf::schema_poset_member::size(), fiber_bundle::atp_algebra::star(), fiber_bundle::vd_algebra::subtract(), fiber_bundle::tp_algebra::sym(), sheaf::schema_poset_member::table_dof_id_space(), fiber_bundle::tp_algebra::tensor(), fiber_bundle::st2_algebra::trace(), sheaf::schema_poset_member::type(), fiber_bundle::sec_vd::value_at_point_pa(), and fiber_bundle::atp_algebra::wedge().

◆ get_read_write_access()

void sheaf::poset_component::get_read_write_access ( bool  xrelease_read_only_access = false)
virtual

Get read write access to the state associated with this. If release_read_only_access is requested, read only access will be released then read_write_access will be requested, finally the same level of read_access as before will be requested.

Precondition
Postcondition

Reimplemented from sheaf::read_write_monitor_handle.

Definition at line 1539 of file poset_component.cc.

References release_access().

Referenced by fiber_bundle::vd_algebra::add(), fiber_bundle::tp_algebra::alt(), fiber_bundle::sec_vd_algebra::assign(), fiber_bundle::unstructured_block_builder::build_block_pa(), fiber_bundle::contract(), fiber_bundle::tp_algebra::contract(), fiber_bundle::e3_algebra::cross(), fiber_bundle::sec_vd::deep_copy(), fiber_bundle::vd_algebra::divide(), get_read_access(), fields::field_vd::get_read_write_access(), fiber_bundle::atp_algebra::hook(), fiber_bundle::met_algebra::lower(), fiber_bundle::vd_algebra::multiply(), fiber_bundle::sec_vd::new_comp(), fiber_bundle::ed_algebra::normalize(), fiber_bundle::jcb_algebra::pull(), fiber_bundle::jcb_algebra::push(), fields::section_pusher::push_pa(), fiber_bundle::ed_algebra::put_length(), fields::field_vd::put_property_dofs(), fields::field_factory::put_uniform_coord_dofs(), fiber_bundle::met_algebra::raise(), fiber_bundle::atp_algebra::star(), fiber_bundle::vd_algebra::subtract(), fiber_bundle::tp_algebra::sym(), fiber_bundle::tp_algebra::tensor(), and fiber_bundle::atp_algebra::wedge().

◆ has_name()

bool sheaf::poset_component::has_name ( const std::string &  xname,
bool  xauto_access = false 
) const
pure virtual

True if xname is a name for this.

Precondition
  • !xname.empty()
Is Abstract.

Implemented in sheaf::abstract_poset_member, and sheaf::subposet.

Definition at line 673 of file poset_component.cc.

References put_name().

Referenced by name_ct().

◆ has_path()

bool sheaf::poset_component::has_path ( const poset_path xpath,
bool  xauto_access 
) const

True if and only if xpath refers to this component.

Precondition
  • state_is_auto_read_accessible(xauto_access)

Definition at line 823 of file poset_component.cc.

References host(), sheaf::poset_path::member_name(), and sheaf::poset_path::poset_name().

Referenced by fiber_bundle::binary_section_space_schema_member::attach_to_state(), and path().

◆ has_same_host()

bool sheaf::poset_component::has_same_host ( const poset_component xother) const

True if xother is attached to the same host as this or if both are unattached.

Error:
below is not true if both are unattached, in fact, it segfaults

Definition at line 908 of file poset_component.cc.

References host(), is_attached(), sheaf::poset_state_handle::is_same_state(), and name_space().

Referenced by sheaf::schema_poset_member::conforms_to(), host_is_ancestor_of(), sheaf::poset_member::restrict_to_same(), and sheaf::partial_poset_member::restrict_to_same().

◆ has_version()

◆ host()

sheaf::poset_state_handle * sheaf::poset_component::host ( ) const

The poset which this is a handle to a component of.

Definition at line 867 of file poset_component.cc.

References host_is_ancestor_of().

Referenced by sheaf::schema_poset_member::alignment(), sheaf::partial_poset_member::attach_handle_data_members(), sheaf::schema_poset_member::attach_handle_data_members(), sheaf::poset_state_handle::attach_to_state(), attach_to_state(), fiber_bundle::section_space_schema_member::attach_to_state(), fields::body_pusher::body_pusher(), tool::vtk_unstructured_grid_builder::build_pa(), sheaf::storage_agent::commit_dof_tuple_transaction(), sheaf::schema_poset_member::contains_dof(), sheaf::poset_state_handle::contains_member(), sheaf::abstract_poset_member::covers(), sheaf::schema_poset_member::dof_iterator(), sheaf::subposet::down_pa(), fields::field_vd::embed_property(), fields::field_eval_iterator::ensure_discretization_order(), sheaf::dof_tuple_record_set::externalize(), sheaf::member_record_set::externalize(), sheaf::subposet::extremals_pa(), sheaf::filtered_depth_first_iterator::filtered_depth_first_iterator(), sheaf::filtered_depth_first_itr< T >::filtered_depth_first_itr(), sheaf::schema_poset_member::force_cache_update(), sheaf::schema_poset_member::get_decomposition(), sheaf::schema_poset_member::get_ext_id(), sheaf::schema_poset_member::get_ext_ids(), sheaf::schema_poset_member::get_int_id(), sheaf::read_write_monitor_handle::get_read_access(), sheaf::read_write_monitor_handle::get_read_write_access(), sheaf::poset_traverser::has_been_visited(), has_path(), sheaf::poset_traverser::has_same_host(), has_same_host(), fiber_bundle::section_dof_iterator::has_visited(), sheaf::poset_dof_iterator::has_visited(), sheaf::filtered_depth_first_member_iterator::has_visited(), sheaf::depth_first_iterator::has_visited(), sheaf::depth_first_itr< T >::has_visited(), fiber_bundle::section_space_schema_member::host(), sheaf::poset_state_handle::includes_subposet(), sheaf::partial_poset_member::init_handle_data_members(), sheaf::primitives_poset_dof_map::init_row_dof_map(), sheaf::poset_dof_map::init_row_dof_map(), sheaf::depth_first_iterator::initialize_anchor(), sheaf::schema_poset_member::initialize_dof_id_space(), sheaf::subposet_member_iterator::initialize_filter(), sheaf::depth_first_iterator::initialize_filter(), sheaf::depth_first_itr< T >::initialize_has_visited(), sheaf::depth_first_iterator::initialize_has_visited(), sheaf::poset_scaffold::initialize_schema_for_read(), fiber_bundle::section_space_schema_poset::initialize_standard_members(), sheaf::namespace_poset_schema::initialize_standard_subposets(), sheaf::poset_slicer::invariant(), sheaf::poset_traverser::invariant(), sheaf::poset_table_state::invariant(), sheaf::partial_poset_member::invariant(), sheaf::schema_poset_member::is_component(), sheaf::schema_poset_member::is_component_of(), sheaf::schema_poset_member::is_dof(), sheaf::subposet::is_equal_to(), sheaf::schema_poset_member::is_factor(), sheaf::schema_poset_member::is_factor_of(), sheaf::subposet::jims_pa(), sheaf::abstract_poset_member::l_meet_pa(), sheaf::subposet::make_equal_to(), sheaf::member_record_set::make_internal_dataspace(), sheaf::poset_traverser::mark_visited(), sheaf::subposet::maximal_jims_pa(), sheaf::subposet::minimal_jims_pa(), sheaf::schema_poset_member::name(), sheaf::abstract_poset_member::new_jem_state(), sheaf::schema_poset_member::new_jim_state(), fiber_bundle::sec_rep_descriptor::new_jim_state(), fiber_bundle::product_section_space_schema_poset::new_state(), sheaf::poset_state_handle::new_state(), sheaf::subposet_member_iterator::next(), fiber_bundle::eval_iterator::next(), sheaf::depth_first_iterator::next(), sheaf::schema_poset_member::offset(), fiber_bundle::operator<<(), sheaf::operator<<(), sheaf::subposet::p_intersection(), sheaf::subposet::p_intersection_pa(), sheaf::subposet::p_intersection_sa(), sheaf::subposet::p_minus(), sheaf::subposet::p_minus_pa(), sheaf::subposet::p_minus_sa(), sheaf::subposet::p_union(), sheaf::subposet::p_union_pa(), sheaf::subposet::p_union_sa(), sheaf::partial_poset_member::partial_poset_member(), sheaf::poset_dof_map::poset_dof_map(), sheaf::poset_member::poset_member(), sheaf::postorder_member_iterator::postorder_member_iterator(), sheaf::preorder_member_iterator::preorder_member_iterator(), fiber_bundle::at1_space::prereq_id(), fiber_bundle::at0_space::prereq_id(), fiber_bundle::gln_space::prereq_id(), fiber_bundle::jcb_space::prereq_id(), fiber_bundle::vd_space::prereq_id(), fiber_bundle::tp_space::prereq_id(), fiber_bundle::section_space_schema_poset::prereq_id(), fields::discretization_pusher::push(), fiber_bundle::section_dof_iterator::put_anchor(), sheaf::poset_dof_iterator::put_anchor(), sheaf::filtered_depth_first_member_iterator::put_filter(), sheaf::filtered_depth_first_iterator::put_filter(), sheaf::filtered_depth_first_itr< T >::put_filter(), sheaf::poset_scaffold::put_member_names_to_poset(), sheaf::dof_tuple_record_set::read_records(), sheaf::read_write_monitor_handle::release_access(), sheaf::depth_first_iterator::release_cover_id_space_iterators(), fiber_bundle::sec_rep_space::rep_is_valid(), sheaf::subposet_member_iterator::reset(), sheaf::depth_first_iterator::reset(), sheaf::schema_poset_member::row_dof_subposet_index(), same_namespace(), sheaf::poset_state_handle::same_schema(), sheaf::schema_poset_member::schema_poset_member(), fiber_bundle::sec_rep_descriptor::sec_rep_descriptor(), sheaf::schema_poset_member::size(), sheaf::schema_poset_member::table_dof_subposet_index(), sheaf::total_poset_member::total_poset_member(), sheaf::dof_tuple_col_bounds_record::transfer_poset_to_internal_buffer(), sheaf::poset_scaffold::translate_dof_tuple_col_bounds(), sheaf::schema_poset_member::type(), sheaf::subposet::up_pa(), sheaf::poset_slicer::up_set_pa(), sheaf::schema_poset_member::update_dof_id_space(), sheaf::filtered_depth_first_member_iterator::update_item(), fiber_bundle::sec_vd::value_at_point_ua(), and sheaf::storage_agent::write_dof_tuple().

◆ host_is_ancestor_of()

◆ hub_id() [1/2]

const sheaf::scoped_index & sheaf::poset_component::hub_id ( ) const
pure virtual

A id in the hub id space for components of this type; intended for copying to initialize ids to the hub id space.

Precondition
Is Abstract.
Postcondition
  • result.is_hub_scope()

Implemented in sheaf::abstract_poset_member, and sheaf::subposet.

Definition at line 304 of file poset_component.cc.

References sheaf::scoped_index::is_hub_scope().

Referenced by hub_id_space().

◆ hub_id() [2/2]

sheaf::scoped_index sheaf::poset_component::hub_id ( pod_index_type  xid) const
pure virtual

An id in the member hub id space with pod xid.

Precondition
Is Abstract.
Postcondition
  • result.is_hub_scope()
  • result.pod() == xid

Implemented in sheaf::abstract_poset_member, and sheaf::subposet.

Definition at line 327 of file poset_component.cc.

References get_index_from_name(), sheaf::scoped_index::is_hub_scope(), and sheaf::scoped_index::pod().

◆ hub_id_space()

const sheaf::hub_index_space_handle & sheaf::poset_component::hub_id_space ( ) const
pure virtual

The hub id space; const version.

Precondition
Is Abstract.

Implemented in sheaf::abstract_poset_member, sheaf::subposet, and fiber_bundle::homogeneous_block.

Definition at line 283 of file poset_component.cc.

References hub_id().

Referenced by is_valid_index().

◆ in_same_space()

bool sheaf::poset_component::in_same_space ( const poset_component xother) const
inline

Synonym for has_same_host(xother)

Definition at line 356 of file poset_component.h.

Referenced by fiber_bundle::sec_vd::new_comp().

◆ index()

const sheaf::scoped_index & sheaf::poset_component::index ( ) const

The index of the component state this handle is attached to.

Postcondition

Definition at line 223 of file poset_component.cc.

References is_valid_index().

Referenced by attach_handle_data_members(), sheaf::poset_state_handle::attach_to_state(), attach_to_state(), fiber_bundle::section_space_schema_member::attach_to_state(), sheaf::dof_tuple_record_set::attach_transfer_schema(), fields::base_space_map::base_space_map(), fiber_bundle::binary_section_space_schema_member::binary_section_space_schema_member(), fields::body_pusher::body_pusher(), geometry::db0_point_locator< DC >::branch_points_at_value(), fiber_bundle::unstructured_block_builder::build_block_decomposition(), fiber_bundle::base_space_member::c_minus(), sheaf::namespace_poset::clear(), sheaf::arg_list::conforms_to_extension(), sheaf::subposet::contains_member(), sheaf::poset_state_handle::contains_member(), sheaf::abstract_poset_member::covers(), sheaf::abstract_poset_member::create_cover_link(), sheaf::abstract_poset_member::delete_cover_link(), sheaf::abstract_poset_member::delete_down(), sheaf::namespace_poset::delete_poset(), sheaf::array_poset_dof_map::dof_ptr(), fields::field_vd::embed_property(), sheaf::dof_tuple_record_set::externalize(), sheaf::member_record::externalize(), sheaf::depth_first_iterator::first(), sheaf::abstract_poset_member::ge(), sheaf::poset_dof_map::get_dof_tuple(), sheaf::schema_poset_member::get_ext_id(), fiber_bundle::binary_section_space_schema_member::get_ext_ids(), fiber_bundle::product_section_space_schema_member::get_ext_ids(), sheaf::schema_poset_member::get_ext_ids(), fiber_bundle::binary_section_space_schema_member::get_int_id(), sheaf::abstract_poset_member::gt(), sheaf::poset_traverser::has_been_visited(), sheaf::depth_first_iterator::has_visited(), sheaf::depth_first_itr< T >::has_visited(), sheaf::poset_state_handle::includes_subposet(), sheaf::primitives_poset_dof_map::init_row_dof_map(), sheaf::depth_first_iterator::initialize_filter(), sheaf::poset_scaffold::initialize_schema_for_read(), sheaf::namespace_poset_schema::initialize_standard_members(), sheaf::subposet::insert_member(), sheaf::member_record::internalize(), sheaf::partial_poset_member::invariant(), sheaf::schema_poset_member::is_dof(), sheaf::schema_poset_member::is_factor(), sheaf::abstract_poset_member::is_jem(), is_same_state(), sheaf::abstract_poset_member::l_join_pa(), sheaf::abstract_poset_member::le(), fiber_bundle::fiber_bundles_namespace::link_poset(), sheaf::namespace_poset::link_poset(), sheaf::abstract_poset_member::lt(), sheaf::schema_poset_member::make_schema(), sheaf::depth_first_itr< T >::mark_not_visited(), sheaf::depth_first_iterator::mark_not_visited(), sheaf::depth_first_itr< T >::mark_visited(), sheaf::poset_traverser::mark_visited(), sheaf::depth_first_iterator::mark_visited(), sheaf::abstract_poset_member::merge_jem(), sheaf::namespace_poset_member::namespace_poset_member(), sheaf::abstract_poset_member::new_jem_state(), sheaf::schema_poset_member::new_jim_state(), fiber_bundle::sec_rep_space_member::new_jim_state(), sheaf::depth_first_iterator::next(), fiber_bundle::operator<<(), sheaf::operator<<(), sheaf::depth_first_iterator::operator=(), sheaf::abstract_poset_member::p_join_pa(), sheaf::abstract_poset_member::p_meet_pa(), sheaf::partial_poset_member::partial_poset_member(), sheaf::poset_member::poset_member(), sheaf::poset_orderer::postvisit_action(), sheaf::primitives_poset::primitive_members_attached(), fiber_bundle::product_section_space_schema_member::product_section_space_schema_member(), tool::visualization_iterator::put_anchor(), sheaf::poset_dof_map::put_defaults(), sheaf::poset_dof_map::put_dof_tuple(), sheaf::poset_dft::recursive_dft(), sheaf::subposet::remove_member(), fiber_bundle::sec_rep_space_member::restrict_to(), sheaf::schema_poset_member::row_cache_consistent(), sheaf::schema_poset_member::schema_poset_member(), fiber_bundle::sec_rep_descriptor::sec_rep_descriptor(), fields::section_pusher::section_pusher(), sheaf::schema_poset_member::table_cache_consistent(), sheaf::poset_dof_map::to_string(), sheaf::total_poset_member::total_poset_member(), geometry::d_bin_point_locator< DC, DB >::update(), geometry::cylindrical_point_locator::update(), fiber_bundle::product_section_space_schema_member::update_row_cache(), fiber_bundle::binary_section_space_schema_member::update_row_cache(), sheaf::schema_poset_member::update_row_cache(), fiber_bundle::product_section_space_schema_member::update_row_cache_without_disc_id_space(), sheaf::schema_poset_member::update_table_cache(), and sheaf::storage_agent::write_dof_tuple().

◆ init_handle_data_members()

void sheaf::poset_component::init_handle_data_members ( )
protectedvirtual

Initializes handle data members when attaching to a different member in a different host; intended to be redefined in derived classes.

Precondition
Postcondition
  • -unexecutable( data members created but not attached )

Reimplemented in sheaf::partial_poset_member, and fiber_bundle::structured_block.

Definition at line 165 of file poset_component.cc.

References attach_handle_data_members().

Referenced by row_dof_tuple().

◆ invariant()

bool sheaf::poset_component::invariant ( ) const
virtual

Class invariant.

Reimplemented from sheaf::any.

Reimplemented in sheaf::schema_poset_member, fiber_bundle::section_space_schema_member, sheaf::abstract_poset_member, fiber_bundle::section_space_schema_member, sheaf::subposet, fiber_bundle::e3, fiber_bundle::met_e3, fiber_bundle::met_e2, fiber_bundle::gl3, fiber_bundle::e4, fiber_bundle::e2, fiber_bundle::st2_e3, fiber_bundle::e1, fiber_bundle::at2_e3, fiber_bundle::st2_e2, fiber_bundle::at0, fiber_bundle::t2_e3, fiber_bundle::t2_e2, fiber_bundle::jcb_e13, fiber_bundle::sec_rep_space_member, fiber_bundle::at2_e2, fiber_bundle::t4_e3, fiber_bundle::met_e1, fiber_bundle::base_space_member, fiber_bundle::gl2, fiber_bundle::t3_e3, fiber_bundle::jcb_e33, fiber_bundle::jcb_e23, fiber_bundle::st4_e3, fiber_bundle::st4_e2, fiber_bundle::at3_e3, fiber_bundle::st3_e3, fiber_bundle::binary_section_space_schema_member, fiber_bundle::vd, fiber_bundle::product_section_space_schema_member, fiber_bundle::t4_e2, fiber_bundle::gln, fiber_bundle::homogeneous_block, fiber_bundle::tp, fiber_bundle::structured_block_3d, fiber_bundle::structured_block_2d, fiber_bundle::structured_block_1d, fiber_bundle::jcb, fiber_bundle::point_block_3d, fiber_bundle::at2, fiber_bundle::st2, fiber_bundle::point_block_2d, fiber_bundle::st3, fiber_bundle::st4, fiber_bundle::at3, fiber_bundle::sec_vd, fiber_bundle::point_block_1d, fiber_bundle::t2, fiber_bundle::t4, fiber_bundle::t3, fiber_bundle::met_ed, fiber_bundle::at1, fiber_bundle::sec_e3_uniform, fiber_bundle::zone_nodes_block, fiber_bundle::met, fiber_bundle::tuple, fiber_bundle::atp, fiber_bundle::sec_e2_uniform, fiber_bundle::ed, fiber_bundle::sec_e1_uniform, fiber_bundle::stp, sheaf::partial_poset_member, fiber_bundle::sec_tp, fiber_bundle::structured_block, sheaf::namespace_poset_member, fiber_bundle::jcb_ed, fiber_bundle::sec_at0, sheaf::total_poset_member, fiber_bundle::sec_e2, fiber_bundle::sec_e3, fiber_bundle::sec_e1, fiber_bundle::sec_met_e3, fiber_bundle::sec_met_e1, fiber_bundle::sec_met_e2, fiber_bundle::sec_e4, fiber_bundle::sec_jcb, fiber_bundle::sec_at2_e3, fiber_bundle::sec_at3_e3, fiber_bundle::sec_st2_e2, fiber_bundle::sec_atp, fiber_bundle::sec_st2_e3, fiber_bundle::sec_st3_e3, fiber_bundle::sec_st4_e2, fiber_bundle::sec_st4_e3, sheaf::poset_member, fiber_bundle::sec_at1, fiber_bundle::sec_t2_e3, fiber_bundle::sec_t3_e3, fiber_bundle::sec_t4_e2, fiber_bundle::sec_t4_e3, fiber_bundle::sec_at2_e2, fiber_bundle::sec_t2_e2, fiber_bundle::sec_jcb_e23, fiber_bundle::sec_ed, fiber_bundle::sec_met_ed, fiber_bundle::sec_jcb_e13, fiber_bundle::sec_jcb_e33, fiber_bundle::sec_stp, fiber_bundle::sec_tuple, fiber_bundle::local_base_space_member, fiber_bundle::group, fiber_bundle::sec_at2, fiber_bundle::sec_at3, fiber_bundle::sec_st2, fiber_bundle::sec_st3, fiber_bundle::sec_st4, fiber_bundle::sec_met, geometry::sec_ed_invertible, fiber_bundle::sec_t2, fiber_bundle::sec_t3, fiber_bundle::sec_t4, fiber_bundle::sec_jcb_ed, fiber_bundle::sec_rep_descriptor, fiber_bundle::unstructured_block, and sheaf::subposet_member_iterator.

Definition at line 1613 of file poset_component.cc.

Referenced by is_ancestor_of().

◆ is_ancestor_of()

bool sheaf::poset_component::is_ancestor_of ( const any other) const
virtual

True if other conforms to current.

Reimplemented from sheaf::read_write_monitor_handle.

Reimplemented in sheaf::schema_poset_member, fiber_bundle::section_space_schema_member, sheaf::abstract_poset_member, fiber_bundle::section_space_schema_member, sheaf::subposet, fiber_bundle::e3, fiber_bundle::met_e3, fiber_bundle::gl3, fiber_bundle::met_e2, fiber_bundle::e4, fiber_bundle::t2_e3, fiber_bundle::e2, fiber_bundle::st2_e3, fiber_bundle::e1, fiber_bundle::t2_e2, fiber_bundle::at2_e3, fiber_bundle::st2_e2, fiber_bundle::at0, fiber_bundle::jcb_e13, fiber_bundle::t4_e3, fiber_bundle::base_space_member, fiber_bundle::at2_e2, fiber_bundle::gl2, fiber_bundle::sec_rep_space_member, fiber_bundle::met_e1, fiber_bundle::t3_e3, fiber_bundle::jcb_e33, fiber_bundle::jcb_e23, fiber_bundle::st4_e3, fiber_bundle::st4_e2, fiber_bundle::at3_e3, fiber_bundle::st3_e3, fiber_bundle::binary_section_space_schema_member, fiber_bundle::t4_e2, fiber_bundle::vd, fiber_bundle::product_section_space_schema_member, fiber_bundle::gln, fiber_bundle::homogeneous_block, fiber_bundle::structured_block_3d, fiber_bundle::structured_block_2d, fiber_bundle::tp, fiber_bundle::structured_block_1d, fiber_bundle::jcb, fiber_bundle::point_block_3d, fiber_bundle::point_block_2d, fiber_bundle::at2, fiber_bundle::st2, fiber_bundle::st3, fiber_bundle::st4, fiber_bundle::at3, fiber_bundle::point_block_1d, fiber_bundle::sec_vd, fiber_bundle::t2, fiber_bundle::t4, fiber_bundle::t3, fiber_bundle::met_ed, fiber_bundle::sec_e3_uniform, fiber_bundle::at1, fiber_bundle::met, fiber_bundle::tuple, fiber_bundle::zone_nodes_block, fiber_bundle::sec_e2_uniform, fiber_bundle::atp, fiber_bundle::ed, fiber_bundle::sec_e1_uniform, fiber_bundle::structured_block, fiber_bundle::sec_tp, fiber_bundle::stp, sheaf::partial_poset_member, sheaf::namespace_poset_member, fiber_bundle::jcb_ed, fiber_bundle::sec_at0, fiber_bundle::sec_e2, fiber_bundle::sec_e3, fiber_bundle::sec_e1, sheaf::total_poset_member, fiber_bundle::sec_met_e3, fiber_bundle::sec_met_e1, fiber_bundle::sec_met_e2, fiber_bundle::sec_e4, fiber_bundle::sec_jcb, fiber_bundle::sec_at2_e3, fiber_bundle::sec_at3_e3, fiber_bundle::sec_st2_e2, fiber_bundle::sec_atp, fiber_bundle::sec_st2_e3, fiber_bundle::sec_st3_e3, fiber_bundle::sec_st4_e2, fiber_bundle::sec_st4_e3, fiber_bundle::sec_at1, sheaf::poset_member, fiber_bundle::sec_t2_e3, fiber_bundle::sec_t3_e3, fiber_bundle::sec_t4_e2, fiber_bundle::sec_t4_e3, fiber_bundle::sec_at2_e2, fiber_bundle::sec_t2_e2, fiber_bundle::local_base_space_member, fiber_bundle::sec_jcb_e23, fiber_bundle::sec_ed, fiber_bundle::sec_met_ed, fiber_bundle::sec_jcb_e13, fiber_bundle::sec_jcb_e33, fiber_bundle::sec_stp, fiber_bundle::sec_tuple, fiber_bundle::group, fiber_bundle::sec_at2, fiber_bundle::sec_at3, fiber_bundle::sec_st2, fiber_bundle::sec_st3, fiber_bundle::sec_st4, fiber_bundle::sec_met, geometry::sec_ed_invertible, fiber_bundle::sec_t2, fiber_bundle::sec_t3, fiber_bundle::sec_t4, fiber_bundle::sec_jcb_ed, fiber_bundle::sec_rep_descriptor, and fiber_bundle::unstructured_block.

Definition at line 1594 of file poset_component.cc.

References invariant().

Referenced by release_access().

◆ is_attached()

bool sheaf::poset_component::is_attached ( ) const
virtual

True if this handle is attached to a non-void state.

Postcondition

Reimplemented from sheaf::read_write_monitor_handle.

Definition at line 1409 of file poset_component.cc.

References is_same_state().

Referenced by sheaf::partial_poset_member::attach_handle_data_members(), attach_to_state(), fiber_bundle::binary_section_space_schema_member::attach_to_state(), fiber_bundle::section_space_schema_member::attach_to_state(), fiber_bundle::base_space_member::base_space_member(), fiber_bundle::binary_section_space_schema_member::binary_section_space_schema_member(), sheaf::namespace_poset::delete_poset(), sheaf::partial_poset_member::detach_from_state(), detach_from_state(), sheaf::schema_poset_member::detach_from_state(), sheaf::partial_poset_member::dof_ct(), fields::field_at0::field_at0(), fields::field_at1::field_at1(), fields::field_at2::field_at2(), fields::field_at2_e2::field_at2_e2(), fields::field_at2_e3::field_at2_e3(), fields::field_at3::field_at3(), fields::field_at3_e3::field_at3_e3(), fields::field_atp::field_atp(), fields::field_e1::field_e1(), fields::field_e1_uniform::field_e1_uniform(), fields::field_e2::field_e2(), fields::field_e2_uniform::field_e2_uniform(), fields::field_e3::field_e3(), fields::field_e3_uniform::field_e3_uniform(), fields::field_e4::field_e4(), fields::field_ed::field_ed(), fields::field_jcb::field_jcb(), fields::field_jcb_e13::field_jcb_e13(), fields::field_jcb_e23::field_jcb_e23(), fields::field_jcb_e33::field_jcb_e33(), fields::field_jcb_ed::field_jcb_ed(), fields::field_met::field_met(), fields::field_met_e1::field_met_e1(), fields::field_met_e2::field_met_e2(), fields::field_met_e3::field_met_e3(), fields::field_met_ed::field_met_ed(), fields::field_st2::field_st2(), fields::field_st2_e2::field_st2_e2(), fields::field_st2_e3::field_st2_e3(), fields::field_st3::field_st3(), fields::field_st3_e3::field_st3_e3(), fields::field_st4::field_st4(), fields::field_st4_e2::field_st4_e2(), fields::field_st4_e3::field_st4_e3(), fields::field_stp::field_stp(), fields::field_t2::field_t2(), fields::field_t2_e2::field_t2_e2(), fields::field_t2_e3::field_t2_e3(), fields::field_t3::field_t3(), fields::field_t3_e3::field_t3_e3(), fields::field_t4::field_t4(), fields::field_t4_e2::field_t4_e2(), fields::field_t4_e3::field_t4_e3(), fields::field_tp::field_tp(), fields::field_vd::field_vd(), sheaf::depth_first_iterator::filter(), sheaf::depth_first_itr< T >::filter(), fiber_bundle::gl2::gl2(), fiber_bundle::gl3::gl3(), fiber_bundle::gln::gln(), sheaf::poset_traverser::has_been_visited(), has_same_host(), fiber_bundle::section_dof_iterator::has_visited(), fiber_bundle::section_component_iterator::has_visited(), fiber_bundle::section_eval_iterator::has_visited(), sheaf::poset_dof_iterator::has_visited(), sheaf::filtered_depth_first_member_iterator::has_visited(), sheaf::depth_first_iterator::has_visited(), sheaf::depth_first_itr< T >::has_visited(), sheaf::poset_state_handle::includes_subposet(), sheaf::partial_poset_member::init_handle_data_members(), sheaf::depth_first_iterator::initialize_filter(), sheaf::poset_scaffold::initialize_schema_for_read(), sheaf::poset_traverser::invariant(), sheaf::namespace_poset_member::invariant(), sheaf::partial_poset_member::invariant(), fields::field_vd::is_attached(), fiber_bundle::section_space_schema_member::is_factorable(), sheaf::abstract_poset_member::is_same_restriction(), sheaf::abstract_poset_member::l_meet_pa(), sheaf::abstract_poset_member::l_not_pa(), sheaf::depth_first_itr< T >::mark_not_visited(), sheaf::depth_first_iterator::mark_not_visited(), sheaf::depth_first_itr< T >::mark_visited(), sheaf::poset_traverser::mark_visited(), sheaf::depth_first_iterator::mark_visited(), sheaf::namespace_poset_member::namespace_poset_member(), fiber_bundle::sec_vd::new_comp(), sheaf::schema_poset_member::new_jim_state(), fiber_bundle::sec_rep_descriptor::new_jim_state(), fiber_bundle::binary_section_space_schema_poset::new_schema_handle(), fiber_bundle::product_section_space_schema_poset::new_schema_handle(), sheaf::poset_state_handle::new_schema_handle(), fiber_bundle::unstructured_block::new_state(), fiber_bundle::operator<<(), sheaf::operator<<(), sheaf::abstract_poset_member::p_join_pa(), fiber_bundle::section_space_schema_member::p_join_pa(), sheaf::abstract_poset_member::p_meet_pa(), fiber_bundle::section_space_schema_member::p_meet_pa(), sheaf::partial_poset_member::partial_poset_member(), fiber_bundle::point_block_1d::point_block_1d(), fiber_bundle::point_block_2d::point_block_2d(), fiber_bundle::point_block_3d::point_block_3d(), sheaf::poset_member::poset_member(), sheaf::poset_state::poset_state(), sheaf::poset_state_handle::poset_state_handle(), sheaf::poset_table_state::poset_table_state(), sheaf::primitives_poset::primitive_members_attached(), fiber_bundle::product_section_space_schema_member::product_section_space_schema_member(), fields::body_pusher::push_pa(), fields::field_vd::put_property_dofs(), fiber_bundle::unstructured_block::refine(), fiber_bundle::section_space_schema_member::same_base_space(), fiber_bundle::section_space_schema_member::same_discretization(), fiber_bundle::section_space_schema_member::same_evaluation(), fiber_bundle::section_space_schema_member::same_fiber_schema(), same_namespace(), fiber_bundle::section_space_schema_member::same_rep(), fiber_bundle::sec_rep_space_member::schema(), sheaf::schema_poset_member::schema_poset_member(), fiber_bundle::sec_at2_e2::sec_at2_e2(), fiber_bundle::sec_at2_e3::sec_at2_e3(), fiber_bundle::sec_at3_e3::sec_at3_e3(), fiber_bundle::sec_rep_descriptor::sec_rep_descriptor(), fiber_bundle::sec_rep_space_member::sec_rep_space_member(), fiber_bundle::sec_t2_e2::sec_t2_e2(), fiber_bundle::sec_t2_e3::sec_t2_e3(), fiber_bundle::sec_t3_e3::sec_t3_e3(), fiber_bundle::sec_t4_e2::sec_t4_e2(), fiber_bundle::sec_t4_e3::sec_t4_e3(), fiber_bundle::structured_block_1d::structured_block_1d(), fiber_bundle::structured_block_2d::structured_block_2d(), fiber_bundle::structured_block_3d::structured_block_3d(), sheaf::total_poset_member::total_poset_member(), fiber_bundle::tuple::tuple(), fiber_bundle::unstructured_block::unstructured_block(), sheaf::poset_slicer::up_set_pa(), fiber_bundle::vd::vd(), fiber_bundle::zone_nodes_block::zone_nodes_block(), and sheaf::subposet_member_iterator::~subposet_member_iterator().

◆ is_same_state() [1/3]

bool sheaf::poset_component::is_same_state ( const poset_state_handle xhost,
pod_index_type  xhub_id 
) const

True is this is attached to state with hub id xhub_id in host xhost.

Precondition
  • xhost != 0 ? host_is_ancestor_of(xhost) : true

Definition at line 1430 of file poset_component.cc.

References sheaf::poset_state_handle::state_obj().

Referenced by tool::vtk_abstract_grid_builder::build(), tool::vtk_poly_data_builder::build(), tool::vtk_poly_data_builder::build_file(), tool::vtk_poly_data_builder::build_pa(), fields::property_disc_iterator::coordinates_evaluation(), sheaf::poset_slicer::down_set_pa(), fields::field_eval_iterator::evaluation(), sheaf::dof_tuple_record_set::externalize_all_dofs(), fields::field_eval_iterator::field_eval_iterator(), sheaf::poset_slicer::find_jims_pa(), sheaf::poset_slicer::find_pa(), fields::field_eval_iterator::gather_coordinate_dofs(), fields::property_disc_iterator_1_1::get_prop_disc_values(), fields::property_disc_iterator_4_2::get_prop_disc_values(), fields::property_disc_iterator_4_3::get_prop_disc_values(), fields::property_disc_iterator::get_prop_disc_values(), fields::property_disc_iterator_1_2::get_prop_disc_values(), fields::property_disc_iterator_1_3::get_prop_disc_values(), sheaf::depth_first_iterator::initialize_anchor(), fields::field_eval_iterator::initialize_coordinate_schema(), sheaf::depth_first_iterator::initialize_filter(), fields::field_eval_iterator::initialize_property_schema(), fiber_bundle::discretization_iterator::initialize_schema_anchor(), fiber_bundle::eval_iterator::initialize_schema_anchor(), sheaf::dof_tuple_record_set::internalize_all_dofs(), is_attached(), is_same_state(), sheaf::poset_state_handle::new_member(), fields::property_disc_iterator::new_property_disc_iterator(), fields::field_vd::new_property_disc_iterator(), fiber_bundle::binary_section_space_schema_poset::new_state(), fiber_bundle::product_section_space_schema_poset::new_state(), sheaf::poset_state_handle::new_state(), tool::visualization_iterator::new_visualization_iterator(), fiber_bundle::product_section_space_schema_member::operator=(), sheaf::total_poset_member::operator=(), sheaf::namespace_poset_member::operator=(), sheaf::poset_member::operator=(), sheaf::partial_poset_member::operator=(), sheaf::schema_poset_member::operator=(), fiber_bundle::binary_section_space_schema_member::operator=(), sheaf::dof_tuple_record_set::populate_internal_dof_map(), fields::property_disc_iterator_1_1::property_disc_iterator_1_1(), fields::property_disc_iterator_1_2::property_disc_iterator_1_2(), fields::property_disc_iterator_1_3::property_disc_iterator_1_3(), fields::property_disc_iterator_4_2::property_disc_iterator_4_2(), fields::property_disc_iterator_4_3::property_disc_iterator_4_3(), fields::property_disc_iterator::property_evaluation(), fields::discretization_pusher::push(), sheaf::poset_dof_map::put_host(), fields::field_vd::put_property_dofs(), sheaf::poset_member::restrict_to(), sheaf::partial_poset_member::restrict_to(), fields::base_space_map::same_base(), fields::section_pusher::same_base(), fields::section_pusher::same_discretization(), fields::field_vd::same_discretization(), fields::field_vd::same_evaluation(), fields::refining_section_pusher::same_fiber(), fields::base_space_map::same_fiber(), fields::section_pusher::same_fiber(), fields::body_pusher::same_fiber(), fields::base_space_map::same_rep(), sheaf::total_poset_member::schema(), tool::visualization_iterator_1_1::set_vtk_data(), tool::visualization_iterator_4_2::set_vtk_data(), tool::visualization_iterator_4_3::set_vtk_data(), tool::visualization_iterator_1_3::set_vtk_data(), tool::visualization_iterator::set_vtk_data(), fiber_bundle::sec_rep_space_member::unrestricted_schema(), fiber_bundle::section_space_schema_member::unrestricted_schema(), sheaf::poset_slicer::up_set_pa(), fiber_bundle::section_space_schema_member::update_table_dof_descriptors(), and tool::visualization_iterator_1_1::visualization_iterator_1_1().

◆ is_same_state() [2/3]

bool sheaf::poset_component::is_same_state ( const poset_state_handle xhost,
const scoped_index xid 
) const

True is this is attached to state with id xid in host xhost.

Precondition
  • xhost != 0 ? host_is_ancestor_of(xhost) : true

Definition at line 1459 of file poset_component.cc.

References sheaf::scoped_index::hub_pod(), and is_same_state().

◆ is_same_state() [3/3]

bool sheaf::poset_component::is_same_state ( const poset_component xother) const

True if xother is attached to the same host and same state as this or if both are unattached.

Issue:
how do we enforce the "same kind of component" condition? The following is too stringent, it won't allow descendants of abstract_poset_member to interoperate: result = result && is_ancestor_of(xother);

Definition at line 1474 of file poset_component.cc.

References get_read_access(), index(), and state_obj().

◆ is_valid_index() [1/2]

bool sheaf::poset_component::is_valid_index ( const poset_state_handle xhost,
pod_index_type  xhub_id,
int  xversion = CURRENT_HOST_VERSION 
) const
pure virtual

True if there exists a component of the same type as this with hub id xhub_id in version xversion of xhost.

Precondition
  • xhost != 0
  • host_is_ancestor_of(xhost)
Is Abstract.

Implemented in sheaf::abstract_poset_member, and sheaf::subposet.

Definition at line 243 of file poset_component.cc.

References sheaf::read_write_monitor_handle::state_is_read_accessible().

Referenced by index().

◆ is_valid_index() [2/2]

bool sheaf::poset_component::is_valid_index ( const poset_state_handle xhost,
const scoped_index xid,
int  xversion = CURRENT_HOST_VERSION 
) const

True if there exists a component of the same type as this with id xid in version xversion of xhost.

Precondition
  • xhost != 0
  • host_is_ancestor_of(xhost)

Definition at line 266 of file poset_component.cc.

References hub_id_space(), sheaf::scoped_index::hub_pod(), and sheaf::read_write_monitor_handle::state_is_read_accessible().

◆ is_valid_name()

bool sheaf::poset_component::is_valid_name ( const poset_state_handle xhost,
const std::string &  xname 
) const

True if there exists a component as the same type as this in xhost with name xname.

Precondition
  • xhost != 0
  • !xname.empty()
Postcondition
  • -unexecutable( xhost has a component of the same type as this with name xname )

Definition at line 762 of file poset_component.cc.

References sheaf::is_valid(), path(), and sheaf::read_write_monitor_handle::state_is_read_accessible().

Referenced by delete_all_names().

◆ name() [1/2]

std::string sheaf::poset_component::name ( ) const

OBSOLETE: use name(bool xauto_access). A name for this.

Precondition
Postcondition
  • -unexecutable( result.empty() implies this has no name )

Definition at line 586 of file poset_component.cc.

Referenced by has_version(), sheaf::subposet::name(), and sheaf::abstract_poset_member::name().

◆ name() [2/2]

std::string sheaf::poset_component::name ( bool  xauto_access) const
pure virtual

A name for this.

Precondition
Is Abstract.
Postcondition
  • -unexecutable( result.empty() implies this has no name )

Implemented in sheaf::abstract_poset_member, and sheaf::subposet.

Definition at line 607 of file poset_component.cc.

References all_names().

◆ name_ct()

sheaf::size_type sheaf::poset_component::name_ct ( bool  xauto_access) const
pure virtual

The number of names for this.

Precondition
Is Abstract.

Implemented in sheaf::abstract_poset_member, and sheaf::subposet.

Definition at line 652 of file poset_component.cc.

References has_name().

Referenced by all_names().

◆ name_space()

◆ namespace_is_ancestor_of()

bool sheaf::poset_component::namespace_is_ancestor_of ( const namespace_poset xother) const
virtual

True if xother conforms to name_space().

Precondition
  • xother != 0

Definition at line 972 of file poset_component.cc.

References same_namespace().

Referenced by name_space().

◆ path()

sheaf::poset_path sheaf::poset_component::path ( bool  xauto_access = true) const

A path to this component.

Precondition
  • !name().empty()
Postcondition
  • result.member_name() == name()

Definition at line 787 of file poset_component.cc.

References has_path(), sheaf::poset_path::member_name(), and sheaf::poset_path::poset_name().

Referenced by fields::body_pusher::body_pusher(), fiber_bundle::section_space_schema_member::fiber_schema_conforms_to(), is_valid_name(), fiber_bundle::fiber_bundles_namespace::make_base_space_schema_poset(), fiber_bundle::fiber_bundles_namespace::make_fiber_space_schema_poset(), sheaf::schema_poset_member::make_schema(), fiber_bundle::fiber_bundles_namespace::make_sec_rep_descriptor_schema_poset(), fiber_bundle::fiber_bundles_namespace::make_section_space_schema_schema_poset(), sheaf::sheaves_namespace::make_triangle(), fields::field_factory::new_1d_uniform_coordinates(), fields::field_factory::new_1d_unstructured_coordinates(), fields::field_factory::new_2d_uniform_coordinates(), fields::field_factory::new_2d_unstructured_coordinates(), fields::field_factory::new_3d_uniform_coordinates(), fields::field_factory::new_3d_unstructured_coordinates(), fiber_bundle::structured_block::new_host(), fiber_bundle::homogeneous_block::new_host(), fiber_bundle::sec_e1_uniform::new_host(), fiber_bundle::sec_e2_uniform::new_host(), fiber_bundle::sec_e3_uniform::new_host(), fiber_bundle::unstructured_block::new_host(), fiber_bundle::sec_met::new_host(), fiber_bundle::sec_met_ed::new_host(), fiber_bundle::sec_t3::new_host(), fiber_bundle::sec_t4::new_host(), fiber_bundle::sec_at2::new_host(), fiber_bundle::sec_at3::new_host(), fiber_bundle::zone_nodes_block::new_host(), fiber_bundle::sec_jcb_ed::new_host(), fiber_bundle::point_block_2d::new_host(), fiber_bundle::sec_st2::new_host(), fiber_bundle::sec_st3::new_host(), fiber_bundle::point_block_3d::new_host(), fiber_bundle::sec_st4::new_host(), fiber_bundle::sec_t2::new_host(), fiber_bundle::sec_ed::new_host(), fiber_bundle::point_block_1d::new_host(), fiber_bundle::structured_block_3d::new_host(), fiber_bundle::structured_block_2d::new_host(), fiber_bundle::structured_block_1d::new_host(), fiber_bundle::sec_stp::new_host(), fiber_bundle::sec_at1::new_host(), fiber_bundle::sec_atp::new_host(), fiber_bundle::sec_t2_e2::new_host(), fiber_bundle::sec_at2_e2::new_host(), fiber_bundle::sec_e1::new_host(), fiber_bundle::sec_e3::new_host(), fiber_bundle::sec_e4::new_host(), fiber_bundle::sec_met_e2::new_host(), fiber_bundle::sec_met_e1::new_host(), fiber_bundle::sec_st2_e3::new_host(), fiber_bundle::sec_st3_e3::new_host(), fiber_bundle::sec_st4_e2::new_host(), fiber_bundle::sec_st4_e3::new_host(), fiber_bundle::sec_t2_e3::new_host(), fiber_bundle::sec_t3_e3::new_host(), fiber_bundle::sec_t4_e2::new_host(), fiber_bundle::sec_t4_e3::new_host(), fiber_bundle::sec_at2_e3::new_host(), fiber_bundle::sec_at3_e3::new_host(), fiber_bundle::sec_e2::new_host(), fiber_bundle::sec_met_e3::new_host(), fiber_bundle::sec_st2_e2::new_host(), fiber_bundle::sec_at0::new_host(), fiber_bundle::sec_jcb_e13::new_host(), fiber_bundle::sec_jcb_e33::new_host(), fiber_bundle::sec_tp::new_host(), fiber_bundle::sec_jcb_e23::new_host(), fiber_bundle::sec_jcb::new_host(), fiber_bundle::binary_section_space_schema_member::new_host(), sheaf::schema_poset_member::new_host(), fiber_bundle::sec_vd::new_host(), fiber_bundle::sec_tuple::new_host(), fiber_bundle::base_space_member::new_host(), fiber_bundle::stp::new_host(), fiber_bundle::atp::new_host(), fiber_bundle::ed::new_host(), fiber_bundle::met::new_host(), fiber_bundle::at1::new_host(), fiber_bundle::met_ed::new_host(), fiber_bundle::t3::new_host(), fiber_bundle::t4::new_host(), fiber_bundle::t2::new_host(), fiber_bundle::at3::new_host(), fiber_bundle::st3::new_host(), fiber_bundle::st4::new_host(), fiber_bundle::tuple::new_host(), fiber_bundle::st2::new_host(), fiber_bundle::at2::new_host(), fiber_bundle::tp::new_host(), fiber_bundle::gln::new_host(), fiber_bundle::vd::new_host(), fiber_bundle::t4_e2::new_host(), fiber_bundle::e1::new_host(), fiber_bundle::t3_e3::new_host(), fiber_bundle::e2::new_host(), fiber_bundle::e4::new_host(), fiber_bundle::at0::new_host(), fiber_bundle::t4_e3::new_host(), fiber_bundle::t2_e2::new_host(), fiber_bundle::gl2::new_host(), fiber_bundle::t2_e3::new_host(), fiber_bundle::e3::new_host(), fiber_bundle::gl3::new_host(), fields::field_factory::new_property(), sheaf::refinable_poset::new_table(), sheaf::poset::new_table(), fiber_bundle::at0_space::new_table(), fiber_bundle::at1_space::new_table(), fiber_bundle::atp_space::new_table(), fiber_bundle::sec_rep_descriptor_poset::new_table(), fiber_bundle::stp_space::new_table(), fiber_bundle::vd_space::new_table(), fiber_bundle::tuple_space::new_table(), fiber_bundle::tp_space::new_table(), fiber_bundle::gln_space::new_table(), fiber_bundle::jcb_space::new_table(), fiber_bundle::base_space_poset::new_table(), fiber_bundle::print_prereq_paths(), fiber_bundle::sec_e2_uniform::standard_host(), fiber_bundle::sec_e3_uniform::standard_host(), fiber_bundle::sec_e1_uniform::standard_host(), fiber_bundle::unstructured_block::standard_host(), fiber_bundle::point_block_2d::standard_host(), fiber_bundle::point_block_3d::standard_host(), fiber_bundle::zone_nodes_block::standard_host(), fiber_bundle::point_block_1d::standard_host(), fiber_bundle::structured_block_3d::standard_host(), fiber_bundle::structured_block_2d::standard_host(), fiber_bundle::structured_block_1d::standard_host(), fiber_bundle::sec_st2_e3::standard_host(), fiber_bundle::sec_t2_e2::standard_host(), fiber_bundle::sec_e3::standard_host(), fiber_bundle::sec_at2_e2::standard_host(), fiber_bundle::sec_e1::standard_host(), fiber_bundle::sec_st4_e2::standard_host(), fiber_bundle::sec_met_e1::standard_host(), fiber_bundle::sec_met_e2::standard_host(), fiber_bundle::sec_e4::standard_host(), fiber_bundle::sec_st3_e3::standard_host(), fiber_bundle::sec_st4_e3::standard_host(), fiber_bundle::sec_t3_e3::standard_host(), fiber_bundle::sec_t4_e3::standard_host(), fiber_bundle::sec_at2_e3::standard_host(), fiber_bundle::sec_at3_e3::standard_host(), fiber_bundle::sec_e2::standard_host(), fiber_bundle::sec_t4_e2::standard_host(), fiber_bundle::sec_met_e3::standard_host(), fiber_bundle::sec_st2_e2::standard_host(), fiber_bundle::sec_t2_e3::standard_host(), fiber_bundle::sec_at0::standard_host(), fiber_bundle::sec_jcb_e13::standard_host(), fiber_bundle::sec_jcb_e33::standard_host(), fiber_bundle::sec_jcb_e23::standard_host(), sheaf::schema_poset_member::standard_host(), fiber_bundle::sec_rep_descriptor::standard_host(), fiber_bundle::binary_section_space_schema_member::standard_host(), fiber_bundle::base_space_member::standard_host(), fiber_bundle::st3_e3::standard_host(), fiber_bundle::at3_e3::standard_host(), fiber_bundle::st4_e2::standard_host(), fiber_bundle::t4_e2::standard_host(), fiber_bundle::st4_e3::standard_host(), fiber_bundle::met_e1::standard_host(), fiber_bundle::e1::standard_host(), fiber_bundle::t3_e3::standard_host(), fiber_bundle::e2::standard_host(), fiber_bundle::e4::standard_host(), fiber_bundle::at2_e2::standard_host(), fiber_bundle::jcb_e23::standard_host(), fiber_bundle::at2_e3::standard_host(), fiber_bundle::at0::standard_host(), fiber_bundle::st2_e2::standard_host(), fiber_bundle::st2_e3::standard_host(), fiber_bundle::jcb_e13::standard_host(), fiber_bundle::jcb_e33::standard_host(), fiber_bundle::t4_e3::standard_host(), fiber_bundle::t2_e2::standard_host(), fiber_bundle::met_e2::standard_host(), fiber_bundle::gl2::standard_host(), fiber_bundle::t2_e3::standard_host(), fiber_bundle::met_e3::standard_host(), fiber_bundle::e3::standard_host(), fiber_bundle::gl3::standard_host(), fiber_bundle::binary_section_space_schema_member::standard_member(), tool::visualization_iterator_4_2::visualization_iterator_4_2(), and tool::visualization_iterator_4_3::visualization_iterator_4_3().

◆ powerset()

sheaf::poset_powerset_state * sheaf::poset_component::powerset ( ) const
protected

◆ powerset_member()

sheaf::subposet_state * sheaf::poset_component::powerset_member ( const scoped_index xindex) const
protectedvirtual

The hidden state of the subposet asocciated with index xindex.

Todo:
should be inlined
Precondition
Postcondition
  • result != 0

Definition at line 119 of file poset_component.cc.

References row_dof_tuple().

Referenced by crg(), and sheaf::schema_poset_member::dof_subposet_state().

◆ put_name()

void sheaf::poset_component::put_name ( const std::string &  xname,
bool  xunique,
bool  xauto_access 
)
pure virtual

Make xname a name for this; if xunique, make xname the only name.

Precondition
  • poset_path::is_valid_name(xname)
Is Abstract.
Postcondition
  • xunique ? (name(xauto_access) == xname) : has_name(xname, xauto_access)

Implemented in sheaf::abstract_poset_member, and sheaf::subposet.

Definition at line 695 of file poset_component.cc.

References delete_name().

Referenced by has_name().

◆ put_version()

void sheaf::poset_component::put_version ( int  xversion,
bool  xunalias = false 
)
virtual

Sets version to (possibly aliased) xversion. If unalias == true, set version to the actual version alias refers to.

Precondition
  • has_version(xversion)
  • !xunalias ? xversion != CURRENT_MEMBER_VERSION : true
Postcondition
  • xunalias ? version(false) == unaliased_version(xversion) : version(false) == xversion

Reimplemented in fiber_bundle::section_space_schema_member.

Definition at line 422 of file poset_component.cc.

References unaliased_version().

Referenced by sheaf::dof_tuple_record_set::attach_transfer_schema(), sheaf::member_record_set::externalize(), sheaf::poset_scaffold::initialize_schema_for_read(), sheaf::poset_table_state::invariant(), sheaf::poset_scaffold::put_member_names_to_poset(), sheaf::poset_dft::recursive_dft(), and version().

◆ release_access()

void sheaf::poset_component::release_access ( bool  xall = false) const
virtual

Release access. If xall is true, release all levels of access. Otherwise, release one level of access.

Precondition
Postcondition

Reimplemented from sheaf::read_write_monitor_handle.

Definition at line 1561 of file poset_component.cc.

References is_ancestor_of().

Referenced by fiber_bundle::vd_algebra::add(), sheaf::schema_poset_member::alignment(), fiber_bundle::tp_algebra::alt(), fiber_bundle::sec_vd_algebra::assign(), attach_to_state(), fiber_bundle::section_space_schema_member::attach_to_state(), fields::base_space_map::base_space_map(), fields::body_pusher::body_pusher(), fiber_bundle::unstructured_block_builder::build_block_pa(), sheaf::arg_list::conforms_to(), sheaf::poset_path::conforms_to(), sheaf::arg_list::conforms_to_extension(), fiber_bundle::contract(), fiber_bundle::tp_algebra::contract(), fiber_bundle::vd_algebra::contract(), fiber_bundle::e3_algebra::cross(), fiber_bundle::sec_vd::deep_copy(), fiber_bundle::st2_algebra::determinant(), fiber_bundle::vd_algebra::divide(), sheaf::schema_poset_member::dof_id_space(), fiber_bundle::ed_algebra::dot(), fiber_bundle::sec_vd_algebra::extrema(), fields::field_at0::field_at0(), fields::field_at1::field_at1(), fields::field_at2::field_at2(), fields::field_at2_e2::field_at2_e2(), fields::field_at2_e3::field_at2_e3(), fields::field_at3::field_at3(), fields::field_at3_e3::field_at3_e3(), fields::field_atp::field_atp(), fields::field_e1::field_e1(), fields::field_e1_uniform::field_e1_uniform(), fields::field_e2::field_e2(), fields::field_e2_uniform::field_e2_uniform(), fields::field_e3::field_e3(), fields::field_e3_uniform::field_e3_uniform(), fields::field_e4::field_e4(), fields::field_ed::field_ed(), fields::field_jcb::field_jcb(), fields::field_jcb_e13::field_jcb_e13(), fields::field_jcb_e23::field_jcb_e23(), fields::field_jcb_e33::field_jcb_e33(), fields::field_jcb_ed::field_jcb_ed(), fields::field_met::field_met(), fields::field_met_e1::field_met_e1(), fields::field_met_e2::field_met_e2(), fields::field_met_e3::field_met_e3(), fields::field_met_ed::field_met_ed(), fields::field_st2::field_st2(), fields::field_st2_e2::field_st2_e2(), fields::field_st2_e3::field_st2_e3(), fields::field_st3::field_st3(), fields::field_st3_e3::field_st3_e3(), fields::field_st4::field_st4(), fields::field_st4_e2::field_st4_e2(), fields::field_st4_e3::field_st4_e3(), fields::field_stp::field_stp(), fields::field_t2::field_t2(), fields::field_t2_e2::field_t2_e2(), fields::field_t2_e3::field_t2_e3(), fields::field_t3::field_t3(), fields::field_t3_e3::field_t3_e3(), fields::field_t4::field_t4(), fields::field_t4_e2::field_t4_e2(), fields::field_t4_e3::field_t4_e3(), fields::field_tp::field_tp(), fields::field_vd::field_vd(), get_read_write_access(), fiber_bundle::atp_algebra::hook(), geometry::sec_ed_invertible::initialize_d_array_point_locator(), geometry::sec_ed_invertible::initialize_d_tree_point_locator(), geometry::sec_ed_invertible::initialize_d_uniform_point_locator(), fiber_bundle::section_space_schema_poset::initialize_handle_data_members(), geometry::sec_ed_invertible::initialize_point_locator(), sheaf::namespace_poset_schema::initialize_standard_subposets(), fiber_bundle::ed_algebra::length(), fiber_bundle::met_algebra::lower(), fiber_bundle::sec_vd_algebra::max(), fiber_bundle::vd_algebra::max(), fiber_bundle::sec_vd_algebra::min(), fiber_bundle::vd_algebra::min(), fiber_bundle::vd_algebra::multiply(), fiber_bundle::sec_vd::new_comp(), fiber_bundle::base_space_poset::new_row_dof_map(), fiber_bundle::product_section_space_schema_poset::new_state(), fiber_bundle::unstructured_block::new_state(), sheaf::refinable_poset::new_table(), sheaf::poset::new_table(), fiber_bundle::sec_atp_space::new_table(), fiber_bundle::at0_space::new_table(), fiber_bundle::sec_at1_space::new_table(), fiber_bundle::at1_space::new_table(), fiber_bundle::sec_stp_space::new_table(), fiber_bundle::sec_at0_space::new_table(), fiber_bundle::binary_section_space_schema_poset::new_table(), fiber_bundle::atp_space::new_table(), fiber_bundle::stp_space::new_table(), fiber_bundle::sec_rep_descriptor_poset::new_table(), fiber_bundle::vd_space::new_table(), fiber_bundle::tuple_space::new_table(), fiber_bundle::sec_vd_space::new_table(), fiber_bundle::sec_tp_space::new_table(), fiber_bundle::tp_space::new_table(), fiber_bundle::gln_space::new_table(), fiber_bundle::sec_tuple_space::new_table(), fiber_bundle::jcb_space::new_table(), fiber_bundle::sec_jcb_space::new_table(), fiber_bundle::base_space_poset::new_table(), fiber_bundle::ed_algebra::normalize(), fiber_bundle::product_section_space_schema_member::offset(), sheaf::schema_poset_member::offset(), fiber_bundle::operator<<(), sheaf::operator<<(), fiber_bundle::jcb_algebra::pull(), fields::discretization_pusher::push(), fields::base_space_map::push(), fiber_bundle::jcb_algebra::push(), fields::section_pusher::push_pa(), fiber_bundle::ed_algebra::put_length(), fields::field_vd::put_property_dofs(), fields::put_property_dofs_action::put_property_dofs_action(), fields::field_factory::put_uniform_coord_dofs(), fiber_bundle::met_algebra::raise(), fiber_bundle::unstructured_block::refine(), fiber_bundle::section_space_schema_poset::release_access(), fields::field_vd::release_access(), sheaf::schema_poset_member::row_dof_id_space(), fields::base_space_map::same_base(), fields::base_space_map::same_fiber(), fields::body_pusher::same_fiber(), fields::base_space_map::same_rep(), fields::section_pusher::section_pusher(), sheaf::schema_poset_member::size(), fiber_bundle::atp_algebra::star(), fiber_bundle::vd_algebra::subtract(), fiber_bundle::tp_algebra::sym(), sheaf::schema_poset_member::table_dof_id_space(), fiber_bundle::tp_algebra::tensor(), fiber_bundle::section_space_schema_poset::terminate_access(), fiber_bundle::st2_algebra::trace(), sheaf::schema_poset_member::type(), fiber_bundle::sec_vd::value_at_point_pa(), and fiber_bundle::atp_algebra::wedge().

◆ row_dof_tuple()

sheaf::poset_dof_map * sheaf::poset_component::row_dof_tuple ( const scoped_index xindex) const
protected

The row dof tuple associated with xindex.

Precondition

Definition at line 144 of file poset_component.cc.

References init_handle_data_members().

Referenced by fiber_bundle::sec_rep_descriptor::new_jim_state(), powerset_member(), and fiber_bundle::sec_vd::value_at_point_pa().

◆ same_namespace() [1/2]

bool sheaf::poset_component::same_namespace ( const poset_component xother) const

True if the host of xother resides in the same namespace as this or if both are unattached.

Postcondition
  • -unexecutable( true if hosts of this and xother are in same namespace or if this and xother both unattached )

Definition at line 997 of file poset_component.cc.

References host(), sheaf::poset_state_handle::host(), and is_attached().

Referenced by namespace_is_ancestor_of().

◆ same_namespace() [2/2]

bool sheaf::poset_component::same_namespace ( const poset_state_handle xother) const

True if xother resides in the same namespace as the host of this or if both are unattached.

Postcondition
  • -unexecutable( "true if hosts of this and xother are in same namespace or if this and xother both unattached" )

Definition at line 1027 of file poset_component.cc.

References attach_to_state(), sheaf::poset_state_handle::host(), and sheaf::poset_state_handle::is_attached().

◆ state_obj()

sheaf::poset_state * sheaf::poset_component::state_obj ( ) const
protectedvirtual

The state this component handle is attached to.

Postcondition
  • _host == 0 ? result == 0 : true

Implements sheaf::read_write_monitor_handle.

Definition at line 82 of file poset_component.cc.

References powerset().

Referenced by is_same_state(), and poset_component().

◆ unaliased_version()

◆ version()

int sheaf::poset_component::version ( bool  xunalias = true) const

The (possibly aliased) version of this component. The version of the host used when evaluating properties of this component. If unalias == true, return actual version alias refers to.

Precondition
Postcondition
  • result != CURRENT_MEMBER_VERSION
  • xunalias ? (result != CURRENT_HOST_VERSION) : true

Definition at line 398 of file poset_component.cc.

References put_version().

Referenced by attach_to_state(), fiber_bundle::section_space_schema_member::attach_to_state(), sheaf::dof_tuple_record_set::attach_transfer_schema(), sheaf::depth_first_iterator::depth_first_iterator(), sheaf::depth_first_itr< T >::depth_first_itr(), sheaf::dof_tuple_record_set::externalize(), sheaf::dof_tuple_record_set::externalize_all_dofs(), sheaf::dof_tuple_record_set::externalize_domain(), fields::field_eval_iterator::field_eval_iterator(), sheaf::filtered_depth_first_iterator::filtered_depth_first_iterator(), sheaf::filtered_depth_first_itr< T >::filtered_depth_first_itr(), get_index_from_name(), fields::field_eval_iterator::initialize_coordinate_schema(), sheaf::depth_first_iterator::initialize_filter(), fields::property_disc_iterator::initialize_iteration(), tool::visualization_iterator::initialize_iteration(), fields::field_eval_iterator::initialize_property_schema(), fiber_bundle::discretization_iterator::initialize_schema_anchor(), fiber_bundle::eval_iterator::initialize_schema_anchor(), sheaf::depth_first_itr< T >::initialize_traversal(), sheaf::depth_first_iterator::initialize_traversal(), sheaf::dof_tuple_record_set::internalize_all_dofs(), fiber_bundle::operator<<(), sheaf::operator<<(), sheaf::poset_dof_iterator::operator=(), fiber_bundle::section_dof_iterator::operator=(), sheaf::depth_first_iterator::operator=(), sheaf::filtered_depth_first_iterator::operator=(), sheaf::depth_first_itr< T >::operator=(), sheaf::filtered_depth_first_itr< T >::operator=(), sheaf::dof_tuple_record_set::populate_internal_dof_map(), sheaf::poset_dof_iterator::poset_dof_iterator(), fields::property_disc_iterator_1_1::property_disc_iterator_1_1(), fields::property_disc_iterator_1_2::property_disc_iterator_1_2(), fields::property_disc_iterator_1_3::property_disc_iterator_1_3(), fields::property_disc_iterator_4_2::property_disc_iterator_4_2(), fields::property_disc_iterator_4_3::property_disc_iterator_4_3(), sheaf::filtered_depth_first_member_iterator::put_anchor(), sheaf::filtered_depth_first_iterator::put_anchor(), sheaf::filtered_depth_first_itr< T >::put_anchor(), sheaf::poset_scaffold::put_member_names_to_poset(), fiber_bundle::discretization_iterator::put_schema_anchor(), fiber_bundle::eval_iterator::put_schema_anchor(), sheaf::schema_poset_member::row_cache_consistent(), fiber_bundle::section_dof_iterator::section_dof_iterator(), sheaf::schema_poset_member::table_cache_consistent(), sheaf::poset_general_record::transfer_poset_to_internal_buffer(), fiber_bundle::product_section_space_schema_member::update_row_cache(), fiber_bundle::binary_section_space_schema_member::update_row_cache(), sheaf::schema_poset_member::update_row_cache(), sheaf::schema_poset_member::update_table_cache(), tool::visualization_iterator_1_1::visualization_iterator_1_1(), tool::visualization_iterator_1_3::visualization_iterator_1_3(), tool::visualization_iterator_4_2::visualization_iterator_4_2(), and tool::visualization_iterator_4_3::visualization_iterator_4_3().

◆ version_index() [1/2]

◆ version_index() [2/2]

void sheaf::poset_component::version_index ( scoped_index result) const

The subposet index for the filter associated with version().

Precondition
Postcondition
  • host()->includes_subposet(result)

Definition at line 506 of file poset_component.cc.

References version_name().

◆ version_name()

Member Data Documentation

◆ _host

◆ _index

scoped_index sheaf::poset_component::_index
protected

The index for this component within the host.

Definition at line 143 of file poset_component.h.

Referenced by fiber_bundle::binary_section_space_schema_member::attach_to_state().

◆ _version

int sheaf::poset_component::_version
protected

The version of this component. The version of the host used when evaluating properties of this component.

Definition at line 149 of file poset_component.h.

Referenced by attach_to_state(), and fiber_bundle::binary_section_space_schema_member::attach_to_state().


The documentation for this class was generated from the following files: