SheafSystem
0.0.0.0
|
A path defined by a poset name and a member name separated by a forward slash ('/'). For example: "cell_definitions/triangle". More...
#include <poset_path.h>
Public Member Functions | |
poset_path () | |
Default constructor. More... | |
poset_path (const poset_path &xposet_path) | |
Copy constructor. More... | |
poset_path (const std::string &xposet_name, const std::string &xmember_name) | |
Creates an instance with poset_name() == xposet_name and member_name() == xmember_name. More... | |
~poset_path () | |
Destructor. More... | |
poset_path (const std::string &xpath) | |
Conversion from string. More... | |
poset_path (const char *xpath) | |
Conversion from C string. More... | |
poset_path (const primitive_value &xpath) | |
Conversion from primitive_value. More... | |
operator primitive_value () const | |
Conversion to primitive_value. More... | |
poset_path & | operator= (const poset_path &xposet_path) |
Assignment from poset_path. More... | |
poset_path & | operator= (const std::string &xpath) |
Assignment from string. More... | |
poset_path & | operator= (const char *cpath) |
Assignment from C string. More... | |
poset_path & | operator= (const primitive_value &xpath) |
Assignment from primitive_value. More... | |
bool | empty () const |
True if both poset name and member name are empty. More... | |
bool | full () const |
True if both poset name and member name are not empty. More... | |
bool | operator== (const poset_path &xother) const |
True if this specifies the same poset and member as xother. More... | |
bool | operator== (const std::string &xother) const |
True if this specifies the same poset and member as xother. More... | |
bool | operator== (const char *xother) const |
True if this specifies the same poset and member as xother. More... | |
std::string | path () const |
The full path as a string. More... | |
std::string | poset_name () const |
The poset name part of the path. More... | |
void | put_poset_name (const std::string &xname) |
Sets poset_name() to xname. More... | |
std::string | member_name () const |
The member name part of the path. More... | |
void | put_member_name (const std::string &xname) |
Sets member_name() to xname. More... | |
void | to_stream (std::ostream &xos=std::cout) const |
Write instance information to an ostream (default = stdout). More... | |
namespace_poset * | current_namespace () const |
bool | state_exists (bool xauto_access) const |
bool | poset_exists (bool xauto_access) const |
bool | member_exists (bool xauto_access) const |
bool | state_is_read_accessible (bool xauto_access) const |
bool | state_is_read_write_accessible (bool xauto_access) const |
bool | conforms_to (const poset_path &xother, bool xauto_access) const |
True if the schema member this refers to conforms to the schema member xother refers to in the current namespace. More... | |
bool | conforms_to (const namespace_poset &xns, const poset_path &xother, bool xauto_access) const |
True if the schema member this refers to conforms to the schema member xother refers to in name space xns. More... | |
Static Public Member Functions | |
static bool | is_valid_name (const std::string &xname) |
True if xname is not empty and contains only name legal characters. More... | |
static bool | is_valid_path (const std::string &xpath) |
True if xpath is empty, or if not empty, contains only legal characters and contains just a poset name, or contains a poset name and delimiter(), or contains contains a poset name, a delimiter(), and a member name. More... | |
static const std::string & | name_legal_characters () |
The characters a name is allowed to contain. More... | |
static char | delimiter () |
The path delimiter; used to separate poset name from member name. More... | |
static const std::string & | path_legal_characters () |
The characters a path is allowed to contain. More... | |
static std::string | poset_name (const std::string &xpath) |
Extracts poset name from xpath. More... | |
static std::string | delimiter (const std::string &xpath) |
Extracts delimiter from xpath. More... | |
static std::string | member_name (const std::string &xpath) |
Extracts member name from xpath. More... | |
static std::string | make_name (const std::string &xprefix, int xindex, const std::string &xsuffix) |
Creates a string xprefix_xindex_xsuffix. More... | |
static std::string | make_reserved_name (const std::string &xprefix, const size_t &xindex, const std::string &xsuffix) |
Creates a string reserved_prefix()_xprefix_xindex_xsuffix. More... | |
static std::string | block_name (const size_t &xindex) |
Creates the standard name for the block with index xindex. More... | |
static std::string | block_name (const std::string &xneighborhood_name) |
Creates the standard block name associated with the neighborhood with name xneighborhood_name. More... | |
static std::string | block_neighborhood_name (const size_t &xindex) |
Creates the standard name for the neighborhood of the block with index xindex. More... | |
static std::string | block_neighborhood_name (const std::string &xblock_name) |
Creates the standard neighborhood name associated with the block with name xblock_name. More... | |
static size_t | block_id (const std::string &xname) |
Extracts the index from a block name or block neighborhood name. More... | |
static std::string | reserved_prefix () |
Prefix for identifying member names reserved by the sheaf system. More... | |
static std::string | boundary_prefix () |
Prefix for identifying boundary members. More... | |
static std::string | boundary_name (const std::string &xmbr_name) |
Creates the standard boundary name associated with the member with name xmbr_name. More... | |
static std::string | block_prefix () |
Prefix for identifying blocks. More... | |
static std::string | neighborhood_prefix () |
Prefix for identifying neighborhoods. More... | |
A path defined by a poset name and a member name separated by a forward slash ('/'). For example: "cell_definitions/triangle".
Definition at line 48 of file poset_path.h.
sheaf::poset_path::poset_path | ( | ) |
Default constructor.
Definition at line 36 of file poset_path.cc.
Referenced by poset_path(), and ~poset_path().
sheaf::poset_path::poset_path | ( | const poset_path & | xposet_path | ) |
Copy constructor.
Definition at line 55 of file poset_path.cc.
References poset_path().
sheaf::poset_path::poset_path | ( | const std::string & | xposet_name, |
const std::string & | xmember_name | ||
) |
Creates an instance with poset_name() == xposet_name and member_name() == xmember_name.
Definition at line 75 of file poset_path.cc.
References ~poset_path().
sheaf::poset_path::~poset_path | ( | ) |
Destructor.
Definition at line 98 of file poset_path.cc.
References poset_path().
Referenced by poset_path().
sheaf::poset_path::poset_path | ( | const std::string & | xpath | ) |
Conversion from string.
Definition at line 117 of file poset_path.cc.
References poset_path().
sheaf::poset_path::poset_path | ( | const char * | xpath | ) |
Conversion from C string.
Definition at line 138 of file poset_path.cc.
References poset_path().
sheaf::poset_path::poset_path | ( | const primitive_value & | xpath | ) |
Conversion from primitive_value.
Definition at line 157 of file poset_path.cc.
References sheaf::primitive_value::id(), operator=(), and sheaf::primitive_value::value().
|
static |
Extracts the index from a block name or block neighborhood name.
Definition at line 857 of file poset_path.cc.
References reserved_prefix().
Referenced by block_neighborhood_name().
|
static |
Creates the standard name for the block with index xindex.
Definition at line 751 of file poset_path.cc.
Referenced by make_reserved_name().
|
static |
Creates the standard block name associated with the neighborhood with name xneighborhood_name.
Definition at line 778 of file poset_path.cc.
References block_neighborhood_name().
|
static |
Creates the standard name for the neighborhood of the block with index xindex.
Definition at line 805 of file poset_path.cc.
Referenced by block_name().
|
static |
Creates the standard neighborhood name associated with the block with name xblock_name.
Definition at line 832 of file poset_path.cc.
References block_id().
|
static |
Prefix for identifying blocks.
Definition at line 950 of file poset_path.cc.
References neighborhood_prefix().
Referenced by boundary_name().
|
static |
Creates the standard boundary name associated with the member with name xmbr_name.
Definition at line 927 of file poset_path.cc.
References block_prefix().
Referenced by boundary_prefix().
|
static |
Prefix for identifying boundary members.
Definition at line 906 of file poset_path.cc.
References boundary_name().
Referenced by reserved_prefix().
bool sheaf::poset_path::conforms_to | ( | const poset_path & | xother, |
bool | xauto_access | ||
) | const |
True if the schema member this refers to conforms to the schema member xother refers to in the current namespace.
Definition at line 1155 of file poset_path.cc.
References sheaf::schema_poset_member::conforms_to(), sheaf::schema_poset_member::detach_from_state(), sheaf::poset_component::get_read_access(), poset_name(), sheaf::poset_component::release_access(), state_exists(), and state_is_read_accessible().
Referenced by sheaf::arg_list::conforms_to_extension(), fiber_bundle::product_section_space_schema_poset::initialize_arg_list(), fiber_bundle::product_section_space_schema_poset::new_state(), and state_is_read_write_accessible().
bool sheaf::poset_path::conforms_to | ( | const namespace_poset & | xns, |
const poset_path & | xother, | ||
bool | xauto_access | ||
) | const |
True if the schema member this refers to conforms to the schema member xother refers to in name space xns.
Definition at line 1205 of file poset_path.cc.
References sheaf::schema_poset_member::conforms_to(), sheaf::namespace_poset::contains_path(), sheaf::namespace_poset::member_poset(), sheaf::operator<<(), and sheaf::read_write_monitor_handle::state_is_auto_read_accessible().
sheaf::namespace_poset * sheaf::poset_path::current_namespace | ( | ) | const |
Definition at line 994 of file poset_path.cc.
References sheaf::namespace_poset::current_namespace(), and state_exists().
Referenced by neighborhood_prefix().
|
static |
The path delimiter; used to separate poset name from member name.
Definition at line 575 of file poset_path.cc.
References path_legal_characters().
Referenced by name_legal_characters(), and poset_name().
|
static |
Extracts delimiter from xpath.
Definition at line 645 of file poset_path.cc.
References member_name().
bool sheaf::poset_path::empty | ( | ) | const |
True if both poset name and member name are empty.
Definition at line 291 of file poset_path.cc.
References full().
Referenced by fiber_bundle::vd_space::d(), fiber_bundle::sec_vd_space::d(), fiber_bundle::jcb_space::domain_path(), fiber_bundle::sec_jcb_space::domain_path(), fiber_bundle::sec_jcb::domain_path(), fiber_bundle::jcb::domain_path(), fiber_bundle::sec_tuple_space::fiber_schema_conforms(), fiber_bundle::sec_tuple_space::fiber_space_conforms(), fiber_bundle::product_section_space_schema_poset::initialize_arg_list(), fields::make_base_space(), fiber_bundle::homogeneous_block::new_host(), fiber_bundle::sec_e1_uniform::new_host(), fiber_bundle::sec_e2_uniform::new_host(), fiber_bundle::structured_block::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_at2::new_host(), fiber_bundle::sec_t2::new_host(), fiber_bundle::sec_t3::new_host(), fiber_bundle::sec_t4::new_host(), fiber_bundle::sec_at3::new_host(), fiber_bundle::sec_jcb_ed::new_host(), fiber_bundle::zone_nodes_block::new_host(), fiber_bundle::point_block_3d::new_host(), fiber_bundle::point_block_2d::new_host(), fiber_bundle::sec_st2::new_host(), fiber_bundle::sec_st3::new_host(), fiber_bundle::sec_st4::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_st4_e3::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_e1::new_host(), fiber_bundle::sec_met_e2::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_t2_e3::new_host(), fiber_bundle::sec_t3_e3::new_host(), fiber_bundle::sec_t4_e2::new_host(), fiber_bundle::sec_at2_e3::new_host(), fiber_bundle::sec_t4_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(), fiber_bundle::sec_rep_descriptor::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(), sheaf::abstract_poset_member::new_host(), fiber_bundle::jcb_ed::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::jcb::new_host(), fiber_bundle::tp::new_host(), fiber_bundle::gln::new_host(), fiber_bundle::vd::new_host(), fiber_bundle::st3_e3::new_host(), fiber_bundle::at3_e3::new_host(), fiber_bundle::st4_e2::new_host(), fiber_bundle::t4_e2::new_host(), fiber_bundle::st4_e3::new_host(), fiber_bundle::met_e1::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::at2_e2::new_host(), fiber_bundle::jcb_e23::new_host(), fiber_bundle::at2_e3::new_host(), fiber_bundle::at0::new_host(), fiber_bundle::st2_e2::new_host(), fiber_bundle::jcb_e13::new_host(), fiber_bundle::st2_e3::new_host(), fiber_bundle::jcb_e33::new_host(), fiber_bundle::t4_e3::new_host(), fiber_bundle::t2_e2::new_host(), fiber_bundle::met_e2::new_host(), fiber_bundle::gl2::new_host(), fiber_bundle::t2_e3::new_host(), fiber_bundle::met_e3::new_host(), fiber_bundle::e3::new_host(), fiber_bundle::gl3::new_host(), sheaf::poset_state_handle::new_state(), sheaf::refinable_poset::new_table(), sheaf::poset::new_table(), fiber_bundle::sec_atp_space::new_table(), fiber_bundle::sec_at1_space::new_table(), fiber_bundle::at0_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::sec_rep_descriptor_poset::new_table(), fiber_bundle::atp_space::new_table(), fiber_bundle::stp_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::jcb_space::new_table(), fiber_bundle::sec_jcb_space::new_table(), fiber_bundle::base_space_poset::new_table(), operator=(), sheaf::poset_state_handle::path(), sheaf::namespace_poset::path(), fiber_bundle::jcb_space::range_path(), fiber_bundle::sec_jcb_space::range_path(), fiber_bundle::sec_jcb::range_path(), fiber_bundle::jcb::range_path(), fiber_bundle::vd_space::scalar_space_path(), fiber_bundle::gln_space::scalar_space_path(), fiber_bundle::sec_vd_space::scalar_space_path(), fiber_bundle::sec_vd::scalar_space_path(), fiber_bundle::gln::scalar_space_path(), fiber_bundle::vd::scalar_space_path(), fiber_bundle::sec_e1_uniform::standard_host(), fiber_bundle::sec_e2_uniform::standard_host(), fiber_bundle::sec_e3_uniform::standard_host(), fiber_bundle::sec_e4::standard_host(), fiber_bundle::sec_met_e2::standard_host(), fiber_bundle::sec_st4_e2::standard_host(), fiber_bundle::sec_e3::standard_host(), fiber_bundle::sec_at2_e2::standard_host(), fiber_bundle::sec_t2_e2::standard_host(), fiber_bundle::sec_met_e1::standard_host(), fiber_bundle::sec_st3_e3::standard_host(), fiber_bundle::sec_e1::standard_host(), fiber_bundle::sec_st2_e3::standard_host(), fiber_bundle::sec_st4_e3::standard_host(), fiber_bundle::sec_t4_e3::standard_host(), fiber_bundle::sec_met_e3::standard_host(), fiber_bundle::sec_st2_e2::standard_host(), fiber_bundle::sec_at2_e3::standard_host(), fiber_bundle::sec_t4_e2::standard_host(), fiber_bundle::sec_t3_e3::standard_host(), fiber_bundle::sec_t2_e3::standard_host(), fiber_bundle::sec_e2::standard_host(), fiber_bundle::sec_at3_e3::standard_host(), fiber_bundle::sec_at0::standard_host(), fiber_bundle::sec_jcb_e33::standard_host(), fiber_bundle::sec_jcb_e13::standard_host(), fiber_bundle::sec_jcb_e23::standard_host(), sheaf::schema_poset_member::standard_host(), fiber_bundle::sec_tuple::standard_host_is_available(), fiber_bundle::binary_section_space_schema_member::standard_host_is_available(), fiber_bundle::sec_tuple::standard_host_path(), fiber_bundle::binary_section_space_schema_member::standard_host_path(), fiber_bundle::sec_rep_descriptor::standard_host_path(), fiber_bundle::binary_section_space_schema_member::standard_member_path(), fiber_bundle::standard_section_space_path(), fiber_bundle::standard_section_space_schema_path(), fiber_bundle::gln_space::vector_space_path(), fiber_bundle::sec_tp_space::vector_space_path(), fiber_bundle::tp_space::vector_space_path(), fiber_bundle::sec_tp::vector_space_path(), fiber_bundle::tp::vector_space_path(), and fiber_bundle::gln::vector_space_path().
bool sheaf::poset_path::full | ( | ) | const |
True if both poset name and member name are not empty.
Definition at line 311 of file poset_path.cc.
References is_valid_name().
Referenced by fiber_bundle::binary_section_space_schema_member::attach_to_state(), fiber_bundle::section_space_schema_member::attach_to_state(), sheaf::abstract_poset_member::attach_to_state(), sheaf::schema_poset_member::conforms_to(), sheaf::namespace_poset::contains_poset_member(), sheaf::namespace_poset::contains_poset_subposet(), fiber_bundle::tp_space::d(), fiber_bundle::jcb_space::d(), sheaf::schema_poset_member::dof_ct(), empty(), fiber_bundle::sec_tuple_space::fiber_schema_conforms(), fiber_bundle::section_space_schema_member::fiber_schema_conforms_to(), fields::make_base_space(), sheaf::schema_poset_member::make_schema(), fiber_bundle::base_space_factory< base_type >::new_base(), fields::field_factory_2< coord_type, prop_type, base_type >::new_field(), fiber_bundle::homogeneous_block::new_host(), fiber_bundle::structured_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::sec_met_ed::new_host(), fiber_bundle::unstructured_block::new_host(), fiber_bundle::sec_met::new_host(), fiber_bundle::point_block_2d::new_host(), fiber_bundle::sec_st2::new_host(), fiber_bundle::point_block_3d::new_host(), fiber_bundle::sec_st3::new_host(), fiber_bundle::sec_st4::new_host(), fiber_bundle::sec_t2::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_1d::new_host(), fiber_bundle::sec_ed::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_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_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_e1::new_host(), fiber_bundle::sec_met_e2::new_host(), fiber_bundle::sec_met_e3::new_host(), fiber_bundle::sec_st2_e2::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_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(), fiber_bundle::sec_rep_descriptor::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(), sheaf::abstract_poset_member::new_host(), fiber_bundle::jcb_ed::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::at2::new_host(), fiber_bundle::st2::new_host(), fiber_bundle::jcb::new_host(), fiber_bundle::tp::new_host(), fiber_bundle::gln::new_host(), fiber_bundle::vd::new_host(), fiber_bundle::st3_e3::new_host(), fiber_bundle::at3_e3::new_host(), fiber_bundle::st4_e2::new_host(), fiber_bundle::t4_e2::new_host(), fiber_bundle::st4_e3::new_host(), fiber_bundle::met_e1::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::at2_e2::new_host(), fiber_bundle::jcb_e23::new_host(), fiber_bundle::at2_e3::new_host(), fiber_bundle::at0::new_host(), fiber_bundle::st2_e2::new_host(), fiber_bundle::jcb_e13::new_host(), fiber_bundle::st2_e3::new_host(), fiber_bundle::jcb_e33::new_host(), fiber_bundle::t4_e3::new_host(), fiber_bundle::t2_e2::new_host(), fiber_bundle::met_e2::new_host(), fiber_bundle::gl2::new_host(), fiber_bundle::t2_e3::new_host(), fiber_bundle::met_e3::new_host(), fiber_bundle::e3::new_host(), fiber_bundle::gl3::new_host(), sheaf::poset_state_handle::new_state(), sheaf::refinable_poset::new_table(), sheaf::poset::new_table(), fiber_bundle::sec_atp_space::new_table(), fiber_bundle::sec_at1_space::new_table(), fiber_bundle::at0_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::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::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(), sheaf::poset_state_handle::path(), sheaf::namespace_poset::path(), sheaf::namespace_poset::primitives_schema_path(), sheaf::schema_poset_member::row_conforms_to(), fields::field_factory_2< coord_type, prop_type, base_type >::standard_field(), fiber_bundle::sec_e2_uniform::standard_host(), fiber_bundle::sec_e1_uniform::standard_host(), fiber_bundle::sec_e3_uniform::standard_host(), fiber_bundle::sec_met_e2::standard_host(), fiber_bundle::sec_met_e1::standard_host(), fiber_bundle::sec_st3_e3::standard_host(), fiber_bundle::sec_st4_e2::standard_host(), fiber_bundle::sec_st2_e3::standard_host(), fiber_bundle::sec_st4_e3::standard_host(), fiber_bundle::sec_e1::standard_host(), fiber_bundle::sec_at2_e2::standard_host(), fiber_bundle::sec_e3::standard_host(), fiber_bundle::sec_e4::standard_host(), fiber_bundle::sec_t2_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_t3_e3::standard_host(), fiber_bundle::sec_e2::standard_host(), fiber_bundle::sec_t2_e3::standard_host(), fiber_bundle::sec_at3_e3::standard_host(), fiber_bundle::sec_t4_e3::standard_host(), fiber_bundle::sec_at2_e3::standard_host(), fiber_bundle::sec_at0::standard_host(), fiber_bundle::sec_jcb_e33::standard_host(), fiber_bundle::sec_jcb_e13::standard_host(), fiber_bundle::sec_jcb_e23::standard_host(), fiber_bundle::binary_section_space_schema_member::standard_host(), fiber_bundle::sec_tuple::standard_host_is_available(), fiber_bundle::binary_section_space_schema_member::standard_host_is_available(), fiber_bundle::sec_tuple::standard_host_path(), fiber_bundle::binary_section_space_schema_member::standard_host_path(), fiber_bundle::sec_rep_descriptor::standard_host_path(), fiber_bundle::binary_section_space_schema_member::standard_member_path(), fiber_bundle::sec_tuple::standard_rep_path(), fiber_bundle::sec_e1_uniform::standard_rep_path(), fiber_bundle::sec_e2_uniform::standard_rep_path(), fiber_bundle::sec_e3_uniform::standard_rep_path(), fiber_bundle::at0_space::standard_schema_path(), fiber_bundle::at1_space::standard_schema_path(), fiber_bundle::atp_space::standard_schema_path(), fiber_bundle::stp_space::standard_schema_path(), fiber_bundle::sec_rep_descriptor_poset::standard_schema_path(), fiber_bundle::vd_space::standard_schema_path(), fiber_bundle::binary_section_space_schema_member::standard_schema_path(), fiber_bundle::tp_space::standard_schema_path(), fiber_bundle::tuple_space::standard_schema_path(), fiber_bundle::jcb_space::standard_schema_path(), fiber_bundle::gln_space::standard_schema_path(), fiber_bundle::sec_rep_descriptor::standard_schema_path(), fiber_bundle::section_space_schema_member::standard_schema_path(), sheaf::schema_poset_member::standard_schema_path(), fiber_bundle::section_space_schema_poset::standard_schema_path(), fiber_bundle::base_space_poset::standard_schema_path(), fiber_bundle::product_section_space_schema_poset::standard_schema_path(), fiber_bundle::jcb_ed::standard_schema_path(), fiber_bundle::stp::standard_schema_path(), fiber_bundle::atp::standard_schema_path(), fiber_bundle::tuple::standard_schema_path(), fiber_bundle::jcb::standard_schema_path(), fiber_bundle::tp::standard_schema_path(), fiber_bundle::gln::standard_schema_path(), fiber_bundle::vd::standard_schema_path(), fiber_bundle::section_space_schema_poset::standard_schema_poset_name(), fiber_bundle::standard_section_space_path(), fiber_bundle::standard_section_space_schema_path(), and sheaf::schema_poset_member::table_conforms_to().
|
static |
True if xname is not empty and contains only name legal characters.
Definition at line 331 of file poset_path.cc.
References is_valid_path().
Referenced by full(), sheaf::namespace_poset_schema::initialize_standard_subposets(), fiber_bundle::vd_space::initialize_standard_subposets(), fiber_bundle::sec_vd_space::initialize_standard_subposets(), fiber_bundle::base_space_factory< base_type >::new_base(), fiber_bundle::base_space_factory< base_type >::new_space(), fiber_bundle::product_section_space_schema_poset::new_state(), sheaf::namespace_poset::new_state(), sheaf::poset_state::put_name(), sheaf::namespace_poset::put_name(), sheaf::sheaves_namespace::sheaves_namespace(), fields::field_factory_2< coord_type, prop_type, base_type >::standard_field(), 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::binary_section_space_schema_member::standard_host(), fiber_bundle::group::standard_host_is_available(), fiber_bundle::tuple::standard_host_is_available(), fiber_bundle::sec_tuple::standard_host_is_available(), fiber_bundle::binary_section_space_schema_member::standard_host_is_available(), fiber_bundle::sec_tuple::standard_host_path(), fiber_bundle::group::standard_host_path(), fiber_bundle::tuple::standard_host_path(), fiber_bundle::binary_section_space_schema_member::standard_host_path(), and fiber_bundle::binary_section_space_schema_member::standard_member_path().
|
static |
True if xpath is empty, or if not empty, contains only legal characters and contains just a poset name, or contains a poset name and delimiter(), or contains contains a poset name, a delimiter(), and a member name.
Definition at line 355 of file poset_path.cc.
References operator==().
Referenced by is_valid_name().
|
static |
Creates a string xprefix_xindex_xsuffix.
Definition at line 705 of file poset_path.cc.
References make_reserved_name().
Referenced by to_stream().
|
static |
Creates a string reserved_prefix()_xprefix_xindex_xsuffix.
Definition at line 733 of file poset_path.cc.
References block_name().
Referenced by fiber_bundle::base_space_crg_interval::block_vertices_name(), fiber_bundle::sec_rep_space::branch_id_space_name(), fiber_bundle::vd_space::covariant_subposet_name(), sheaf::crg_interval::explicit_cover_name(), sheaf::implicit_crg_interval::implicit_cover_name(), sheaf::crg_interval::local_id_space_name(), and make_name().
bool sheaf::poset_path::member_exists | ( | bool | xauto_access | ) | const |
Definition at line 1079 of file poset_path.cc.
References state_is_read_accessible().
Referenced by sheaf::arg_list::conforms_to(), sheaf::arg_list::conforms_to_extension(), fiber_bundle::unstructured_block::new_state(), poset_exists(), fiber_bundle::base_space_member::prototype_exists(), and fiber_bundle::unstructured_block::refine().
std::string sheaf::poset_path::member_name | ( | ) | const |
The member name part of the path.
Definition at line 511 of file poset_path.cc.
References put_member_name().
Referenced by fiber_bundle::binary_section_space_schema_member::attach_to_state(), fiber_bundle::section_space_schema_member::attach_to_state(), sheaf::abstract_poset_member::attach_to_state(), fields::body_pusher::body_pusher(), fiber_bundle::unstructured_block_builder::build_block_decomposition(), sheaf::schema_poset_member::conforms_to(), sheaf::namespace_poset::contains_path(), sheaf::namespace_poset::contains_poset_member(), sheaf::namespace_poset::contains_poset_subposet(), delimiter(), sheaf::schema_poset_member::dof_ct(), sheaf::poset_component::has_path(), fields::make_base_space(), 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(), sheaf::schema_poset_member::make_schema(), 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_unstructured_block_prototype(), fiber_bundle::fiber_bundles_namespace::make_zone_nodes_block_prototype(), sheaf::poset_state_handle::member_path(), fiber_bundle::base_space_factory< base_type >::new_base(), sheaf::schema_poset_member::new_jim_state(), sheaf::poset_component::path(), put_poset_name(), fiber_bundle::sec_rep_space_member::standard_fiber_space_name(), fiber_bundle::sec_tuple::standard_host_path(), fiber_bundle::binary_section_space_schema_member::standard_host_path(), fiber_bundle::binary_section_space_schema_member::standard_member_path(), fiber_bundle::standard_section_space_schema_path(), fiber_bundle::point_block_1d::static_local_cell_prototype_path(), fiber_bundle::point_block_2d::static_local_cell_prototype_path(), fiber_bundle::point_block_3d::static_local_cell_prototype_path(), fiber_bundle::structured_block_1d::static_local_cell_prototype_path(), fiber_bundle::structured_block_2d::static_local_cell_prototype_path(), fiber_bundle::structured_block_3d::static_local_cell_prototype_path(), fiber_bundle::unstructured_block::static_prototype_path(), fiber_bundle::point_block_3d::static_prototype_path(), fiber_bundle::point_block_2d::static_prototype_path(), fiber_bundle::zone_nodes_block::static_prototype_path(), fiber_bundle::point_block_1d::static_prototype_path(), fiber_bundle::structured_block_3d::static_prototype_path(), fiber_bundle::structured_block_2d::static_prototype_path(), and fiber_bundle::structured_block_1d::static_prototype_path().
|
static |
Extracts member name from xpath.
Definition at line 670 of file poset_path.cc.
References to_stream().
|
static |
The characters a name is allowed to contain.
Definition at line 547 of file poset_path.cc.
References delimiter().
Referenced by put_member_name().
|
static |
Prefix for identifying neighborhoods.
Definition at line 973 of file poset_path.cc.
References current_namespace().
Referenced by block_prefix().
sheaf::poset_path::operator primitive_value | ( | ) | const |
Conversion to primitive_value.
sheaf::poset_path & sheaf::poset_path::operator= | ( | const poset_path & | xposet_path | ) |
Assignment from poset_path.
Definition at line 201 of file poset_path.cc.
Referenced by operator=(), and poset_path().
sheaf::poset_path & sheaf::poset_path::operator= | ( | const std::string & | xpath | ) |
Assignment from string.
Definition at line 224 of file poset_path.cc.
References operator=().
sheaf::poset_path & sheaf::poset_path::operator= | ( | const char * | cpath | ) |
Assignment from C string.
Definition at line 247 of file poset_path.cc.
References operator=().
sheaf::poset_path & sheaf::poset_path::operator= | ( | const primitive_value & | xpath | ) |
Assignment from primitive_value.
Definition at line 271 of file poset_path.cc.
References empty(), and sheaf::primitive_value::value().
bool sheaf::poset_path::operator== | ( | const poset_path & | xother | ) | const |
True if this specifies the same poset and member as xother.
Definition at line 385 of file poset_path.cc.
Referenced by is_valid_path(), and operator==().
bool sheaf::poset_path::operator== | ( | const std::string & | xother | ) | const |
True if this specifies the same poset and member as xother.
Definition at line 405 of file poset_path.cc.
References operator==().
bool sheaf::poset_path::operator== | ( | const char * | xother | ) | const |
True if this specifies the same poset and member as xother.
Definition at line 428 of file poset_path.cc.
References sheaf::operator==(), and path().
std::string sheaf::poset_path::path | ( | ) | const |
The full path as a string.
Definition at line 450 of file poset_path.cc.
References poset_name().
Referenced by fields::field_factory_2< coord_type, prop_type, base_type >::new_field(), sheaf::operator<<(), operator==(), sheaf::operator==(), fiber_bundle::sec_tp_space::same_vector_fiber_space(), fields::field_factory_2< coord_type, prop_type, base_type >::standard_field(), fiber_bundle::sec_e1_uniform::standard_host(), fiber_bundle::sec_e2_uniform::standard_host(), fiber_bundle::sec_e3_uniform::standard_host(), fiber_bundle::sec_met_e1::standard_host(), fiber_bundle::sec_met_e2::standard_host(), fiber_bundle::sec_st2_e3::standard_host(), fiber_bundle::sec_st3_e3::standard_host(), fiber_bundle::sec_st4_e2::standard_host(), fiber_bundle::sec_st4_e3::standard_host(), fiber_bundle::sec_t2_e2::standard_host(), fiber_bundle::sec_at2_e2::standard_host(), fiber_bundle::sec_e1::standard_host(), fiber_bundle::sec_e3::standard_host(), fiber_bundle::sec_e4::standard_host(), fiber_bundle::sec_met_e3::standard_host(), fiber_bundle::sec_st2_e2::standard_host(), fiber_bundle::sec_t4_e2::standard_host(), fiber_bundle::sec_t4_e3::standard_host(), fiber_bundle::sec_t3_e3::standard_host(), fiber_bundle::sec_t2_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_jcb_e13::standard_host(), fiber_bundle::sec_jcb_e33::standard_host(), fiber_bundle::sec_jcb_e23::standard_host(), fiber_bundle::binary_section_space_schema_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::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(), and fiber_bundle::gl3::standard_host().
|
static |
The characters a path is allowed to contain.
Definition at line 598 of file poset_path.cc.
References poset_name().
Referenced by delimiter().
bool sheaf::poset_path::poset_exists | ( | bool | xauto_access | ) | const |
Definition at line 1053 of file poset_path.cc.
References member_exists().
Referenced by state_exists().
std::string sheaf::poset_path::poset_name | ( | ) | const |
The poset name part of the path.
Definition at line 473 of file poset_path.cc.
References put_poset_name().
Referenced by fields::body_pusher::body_pusher(), conforms_to(), sheaf::schema_poset_member::conforms_to(), sheaf::namespace_poset::contains_path(), sheaf::namespace_poset::contains_poset(), sheaf::namespace_poset::contains_poset_subposet(), sheaf::namespace_poset::delete_poset(), sheaf::poset_component::has_path(), fields::make_base_space(), 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::poset_state_handle::member_path(), sheaf::namespace_poset::member_poset(), fiber_bundle::base_space_factory< base_type >::new_base(), fields::field_factory_2< coord_type, prop_type, base_type >::new_field(), fiber_bundle::binary_section_space_schema_member::new_host(), sheaf::schema_poset_member::new_host(), sheaf::schema_poset_member::new_jim_state(), sheaf::poset::new_state(), fiber_bundle::binary_section_space_schema_poset::new_state(), fiber_bundle::sec_rep_space::new_state(), sheaf::poset_state_handle::new_state(), sheaf::poset::new_table(), path(), sheaf::poset_component::path(), path_legal_characters(), fiber_bundle::point_block_2d::standard_host(), fiber_bundle::point_block_3d::standard_host(), fiber_bundle::unstructured_block::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(), 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::sec_tuple::standard_host_path(), fiber_bundle::binary_section_space_schema_member::standard_host_path(), fiber_bundle::atp_space::standard_schema_path(), fiber_bundle::at1_space::standard_schema_path(), fiber_bundle::stp_space::standard_schema_path(), fiber_bundle::at0_space::standard_schema_path(), fiber_bundle::vd_space::standard_schema_path(), fiber_bundle::tp_space::standard_schema_path(), fiber_bundle::tuple_space::standard_schema_path(), fiber_bundle::jcb_space::standard_schema_path(), fiber_bundle::gln_space::standard_schema_path(), fiber_bundle::product_section_space_schema_poset::standard_schema_path(), fiber_bundle::jcb_ed::standard_schema_path(), fiber_bundle::stp::standard_schema_path(), fiber_bundle::atp::standard_schema_path(), fiber_bundle::tuple::standard_schema_path(), fiber_bundle::jcb::standard_schema_path(), fiber_bundle::tp::standard_schema_path(), fiber_bundle::gln::standard_schema_path(), fiber_bundle::vd::standard_schema_path(), fiber_bundle::section_space_schema_poset::standard_schema_poset_name(), fiber_bundle::standard_section_space_path(), fiber_bundle::standard_section_space_schema_path(), fiber_bundle::point_block_1d::static_local_cell_prototype_path(), fiber_bundle::point_block_2d::static_local_cell_prototype_path(), fiber_bundle::point_block_3d::static_local_cell_prototype_path(), fiber_bundle::structured_block_1d::static_local_cell_prototype_path(), fiber_bundle::structured_block_2d::static_local_cell_prototype_path(), fiber_bundle::structured_block_3d::static_local_cell_prototype_path(), fiber_bundle::unstructured_block::static_prototype_path(), fiber_bundle::point_block_2d::static_prototype_path(), fiber_bundle::zone_nodes_block::static_prototype_path(), fiber_bundle::point_block_3d::static_prototype_path(), fiber_bundle::point_block_1d::static_prototype_path(), fiber_bundle::structured_block_3d::static_prototype_path(), fiber_bundle::structured_block_2d::static_prototype_path(), and fiber_bundle::structured_block_1d::static_prototype_path().
|
static |
Extracts poset name from xpath.
Definition at line 621 of file poset_path.cc.
References delimiter().
void sheaf::poset_path::put_member_name | ( | const std::string & | xname | ) |
Sets member_name() to xname.
Definition at line 526 of file poset_path.cc.
References name_legal_characters().
Referenced by fields::body_pusher::body_pusher(), fields::make_base_space(), member_name(), fiber_bundle::binary_section_space_schema_member::standard_member_path(), and fiber_bundle::standard_section_space_schema_path().
void sheaf::poset_path::put_poset_name | ( | const std::string & | xname | ) |
Sets poset_name() to xname.
Definition at line 489 of file poset_path.cc.
References member_name().
Referenced by fields::body_pusher::body_pusher(), fields::make_base_space(), poset_name(), fiber_bundle::standard_section_space_path(), and fiber_bundle::standard_section_space_schema_path().
|
static |
Prefix for identifying member names reserved by the sheaf system.
Definition at line 883 of file poset_path.cc.
References boundary_prefix().
Referenced by block_id(), sheaf::schema_poset_member::dof_subposet_name(), sheaf::primary_sum_index_space_state::gathered_hub_id_space_name(), sheaf::index_space_family::hub_id_space_name(), fiber_bundle::mesh_partition::name_prefix(), sheaf::record_set::name_space_alias(), and sheaf::record_set::name_space_prefix().
bool sheaf::poset_path::state_exists | ( | bool | xauto_access | ) | const |
Definition at line 1017 of file poset_path.cc.
References poset_exists().
Referenced by conforms_to(), and current_namespace().
bool sheaf::poset_path::state_is_read_accessible | ( | bool | xauto_access | ) | const |
Definition at line 1103 of file poset_path.cc.
References state_is_read_write_accessible().
Referenced by sheaf::arg_list::conforms_to(), conforms_to(), sheaf::arg_list::conforms_to_extension(), member_exists(), fiber_bundle::unstructured_block::new_state(), and fiber_bundle::unstructured_block::refine().
bool sheaf::poset_path::state_is_read_write_accessible | ( | bool | xauto_access | ) | const |
Definition at line 1129 of file poset_path.cc.
References conforms_to().
Referenced by state_is_read_accessible().
void sheaf::poset_path::to_stream | ( | std::ostream & | xos = std::cout | ) | const |
Write instance information to an ostream (default = stdout).
Definition at line 697 of file poset_path.cc.
References make_name().
Referenced by member_name().