SheafSystem  0.0.0.0
sheaf::poset_path Class Reference

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_pathoperator= (const poset_path &xposet_path)
 Assignment from poset_path. More...
 
poset_pathoperator= (const std::string &xpath)
 Assignment from string. More...
 
poset_pathoperator= (const char *cpath)
 Assignment from C string. More...
 
poset_pathoperator= (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_posetcurrent_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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ poset_path() [1/6]

sheaf::poset_path::poset_path ( )

Default constructor.

Postcondition

Definition at line 36 of file poset_path.cc.

Referenced by poset_path(), and ~poset_path().

◆ poset_path() [2/6]

sheaf::poset_path::poset_path ( const poset_path xposet_path)

Copy constructor.

Postcondition
  • *this == xposet_path

Definition at line 55 of file poset_path.cc.

References poset_path().

◆ poset_path() [3/6]

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.

Precondition
  • is_valid_path(xposet_name + delimiter() + xmember_name)
Postcondition

Definition at line 75 of file poset_path.cc.

References ~poset_path().

◆ ~poset_path()

sheaf::poset_path::~poset_path ( )

Destructor.

Definition at line 98 of file poset_path.cc.

References poset_path().

Referenced by poset_path().

◆ poset_path() [4/6]

sheaf::poset_path::poset_path ( const std::string &  xpath)

Conversion from string.

Precondition
  • is_valid_path(xpath)
Postcondition
  • *this == xpath

Definition at line 117 of file poset_path.cc.

References poset_path().

◆ poset_path() [5/6]

sheaf::poset_path::poset_path ( const char *  xpath)

Conversion from C string.

Precondition
  • xpath != 0
  • is_valid_path(xpath)
Postcondition
  • (*this) == xpath

Definition at line 138 of file poset_path.cc.

References poset_path().

◆ poset_path() [6/6]

sheaf::poset_path::poset_path ( const primitive_value xpath)

Conversion from primitive_value.

Precondition
  • xpath.id() == C_STRING
  • is_valid_path(xpath.value().c_string_primitive)
Postcondition
  • (*this) == xpath

Definition at line 157 of file poset_path.cc.

References sheaf::primitive_value::id(), operator=(), and sheaf::primitive_value::value().

Member Function Documentation

◆ block_id()

size_t sheaf::poset_path::block_id ( const std::string &  xname)
static

Extracts the index from a block name or block neighborhood name.

Precondition
  • xname.find(block_prefix()) != string::npos

Definition at line 857 of file poset_path.cc.

References reserved_prefix().

Referenced by block_neighborhood_name().

◆ block_name() [1/2]

std::string sheaf::poset_path::block_name ( const size_t &  xindex)
static

Creates the standard name for the block with index xindex.

Precondition
  • index_traits<size_t>::is_valid(xindex)
Postcondition
  • result.find(block_prefix()) == 0

Definition at line 751 of file poset_path.cc.

Referenced by make_reserved_name().

◆ block_name() [2/2]

std::string sheaf::poset_path::block_name ( const std::string &  xneighborhood_name)
static

Creates the standard block name associated with the neighborhood with name xneighborhood_name.

Precondition
  • xneighborhood_name.find(neighborhood_prefix()) != string::npos
Postcondition
  • result.find(block_prefix()) == 0

Definition at line 778 of file poset_path.cc.

References block_neighborhood_name().

◆ block_neighborhood_name() [1/2]

std::string sheaf::poset_path::block_neighborhood_name ( const size_t &  xindex)
static

Creates the standard name for the neighborhood of the block with index xindex.

Precondition
  • index_traits<size_t>::is_valid(xindex)
Postcondition
  • result.find(neighborhood_prefix()) == 0

Definition at line 805 of file poset_path.cc.

Referenced by block_name().

◆ block_neighborhood_name() [2/2]

std::string sheaf::poset_path::block_neighborhood_name ( const std::string &  xblock_name)
static

Creates the standard neighborhood name associated with the block with name xblock_name.

Postcondition
  • xblock_name.find(block_prefix()) == 0
  • result.find(neighborhood_prefix()) == 0

Definition at line 832 of file poset_path.cc.

References block_id().

◆ block_prefix()

std::string sheaf::poset_path::block_prefix ( )
static

Prefix for identifying blocks.

Definition at line 950 of file poset_path.cc.

References neighborhood_prefix().

Referenced by boundary_name().

◆ boundary_name()

std::string sheaf::poset_path::boundary_name ( const std::string &  xmbr_name)
static

Creates the standard boundary name associated with the member with name xmbr_name.

Postcondition
  • result.find(boundary_prefix()) == 0

Definition at line 927 of file poset_path.cc.

References block_prefix().

Referenced by boundary_prefix().

◆ boundary_prefix()

std::string sheaf::poset_path::boundary_prefix ( )
static

Prefix for identifying boundary members.

Definition at line 906 of file poset_path.cc.

References boundary_name().

Referenced by reserved_prefix().

◆ conforms_to() [1/2]

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.

Precondition
  • state_exists(xauto_access)
  • xauto_access || state_is_read_accessible(xauto_access)
  • xother.state_exists(xauto_access)
  • xauto_access || xother.state_is_read_accessible(xauto_access)

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().

◆ conforms_to() [2/2]

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.

Precondition
  • xns.state_is_auto_read_accessible(xauto_access)
  • xns.contains_path(*this, xauto_access)
  • xns.member_poset(*this, xauto_access).state_is_auto_read_accessible(xauto_access)
  • xns.contains_path(xother, xauto_access)
  • xns.member_poset(xother, xauto_access).state_is_auto_read_accessible(xauto_access)

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().

◆ current_namespace()

sheaf::namespace_poset * sheaf::poset_path::current_namespace ( ) const
Deprecated:
Use namespace_poset::current_namespace() instead. The current working namespace; the root for this path. Synonym for namespace_poset::current_workspace().
Postcondition

Definition at line 994 of file poset_path.cc.

References sheaf::namespace_poset::current_namespace(), and state_exists().

Referenced by neighborhood_prefix().

◆ delimiter() [1/2]

char sheaf::poset_path::delimiter ( )
static

The path delimiter; used to separate poset name from member name.

Postcondition
  • result == '/'

Definition at line 575 of file poset_path.cc.

References path_legal_characters().

Referenced by name_legal_characters(), and poset_name().

◆ delimiter() [2/2]

std::string sheaf::poset_path::delimiter ( const std::string &  xpath)
static

Extracts delimiter from xpath.

Definition at line 645 of file poset_path.cc.

References member_name().

◆ empty()

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().

◆ full()

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().

◆ is_valid_name()

bool sheaf::poset_path::is_valid_name ( const std::string &  xname)
static

True if xname is not empty and contains only name legal characters.

Postcondition
  • result == (!xname.empty() && (xname.find_first_not_of(name_legal_characters()) == string::npos))

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().

◆ is_valid_path()

bool sheaf::poset_path::is_valid_path ( const std::string &  xpath)
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.

Postcondition
  • result == ((xpath.find_first_not_of(path_legal_characters()) == string::npos) && (!poset_name(xpath).empty() || (delimiter(xpath).empty() && member_name(xpath).empty())))

Definition at line 355 of file poset_path.cc.

References operator==().

Referenced by is_valid_name().

◆ make_name()

std::string sheaf::poset_path::make_name ( const std::string &  xprefix,
int  xindex,
const std::string &  xsuffix 
)
static

Creates a string xprefix_xindex_xsuffix.

Postcondition
  • !xprefix.empty() ? result.find(xprefix) == 0 : true
  • !xsuffix.empty() ? (result.find(xsuffix) + xsuffix.size()) == result.size() : true

Definition at line 705 of file poset_path.cc.

References make_reserved_name().

Referenced by to_stream().

◆ make_reserved_name()

std::string sheaf::poset_path::make_reserved_name ( const std::string &  xprefix,
const size_t &  xindex,
const std::string &  xsuffix 
)
static

◆ member_exists()

bool sheaf::poset_path::member_exists ( bool  xauto_access) const

◆ member_name() [1/2]

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().

◆ member_name() [2/2]

std::string sheaf::poset_path::member_name ( const std::string &  xpath)
static

Extracts member name from xpath.

Postcondition
  • delimiter(xpath).empty() ? result.empty() : true

Definition at line 670 of file poset_path.cc.

References to_stream().

◆ name_legal_characters()

const std::string & sheaf::poset_path::name_legal_characters ( )
static

The characters a name is allowed to contain.

Postcondition
  • result == "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ -,.=+()*:?"

Definition at line 547 of file poset_path.cc.

References delimiter().

Referenced by put_member_name().

◆ neighborhood_prefix()

std::string sheaf::poset_path::neighborhood_prefix ( )
static

Prefix for identifying neighborhoods.

Definition at line 973 of file poset_path.cc.

References current_namespace().

Referenced by block_prefix().

◆ operator primitive_value()

sheaf::poset_path::operator primitive_value ( ) const

Conversion to primitive_value.

◆ operator=() [1/4]

sheaf::poset_path & sheaf::poset_path::operator= ( const poset_path xposet_path)

Assignment from poset_path.

Postcondition
  • *this == xposet_path

Definition at line 201 of file poset_path.cc.

Referenced by operator=(), and poset_path().

◆ operator=() [2/4]

sheaf::poset_path & sheaf::poset_path::operator= ( const std::string &  xpath)

Assignment from string.

Precondition
  • is_valid_path(xpath)
Postcondition
  • *this == xpath

Definition at line 224 of file poset_path.cc.

References operator=().

◆ operator=() [3/4]

sheaf::poset_path & sheaf::poset_path::operator= ( const char *  cpath)

Assignment from C string.

Precondition
  • cpath != 0
  • is_valid_path(cpath)
Postcondition
  • *this == cpath

Definition at line 247 of file poset_path.cc.

References operator=().

◆ operator=() [4/4]

sheaf::poset_path & sheaf::poset_path::operator= ( const primitive_value xpath)

Assignment from primitive_value.

Postcondition
  • *this == xposet_path

Definition at line 271 of file poset_path.cc.

References empty(), and sheaf::primitive_value::value().

◆ operator==() [1/3]

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==().

◆ operator==() [2/3]

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==().

◆ operator==() [3/3]

bool sheaf::poset_path::operator== ( const char *  xother) const

True if this specifies the same poset and member as xother.

Precondition
  • xother != 0

Definition at line 428 of file poset_path.cc.

References sheaf::operator==(), and path().

◆ 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().

◆ path_legal_characters()

const std::string & sheaf::poset_path::path_legal_characters ( )
static

The characters a path is allowed to contain.

Postcondition

Definition at line 598 of file poset_path.cc.

References poset_name().

Referenced by delimiter().

◆ poset_exists()

bool sheaf::poset_path::poset_exists ( bool  xauto_access) const
Deprecated:
Use namespace_poset::current_namespace()->contains_poset(*this) instead. True if this refers to a poset and the poset exists in the current name space.
Precondition

Definition at line 1053 of file poset_path.cc.

References member_exists().

Referenced by state_exists().

◆ poset_name() [1/2]

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().

◆ poset_name() [2/2]

std::string sheaf::poset_path::poset_name ( const std::string &  xpath)
static

Extracts poset name from xpath.

Definition at line 621 of file poset_path.cc.

References delimiter().

◆ put_member_name()

void sheaf::poset_path::put_member_name ( const std::string &  xname)

◆ put_poset_name()

void sheaf::poset_path::put_poset_name ( const std::string &  xname)

Sets poset_name() to xname.

Precondition
  • is_valid_name(xname)
Postcondition

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().

◆ reserved_prefix()

◆ state_exists()

bool sheaf::poset_path::state_exists ( bool  xauto_access) const
Deprecated:
Use namespace_poset::current_namespace()->contains_path(*this) instead. True if the state this refers to exists in the current name space.
Precondition

Definition at line 1017 of file poset_path.cc.

References poset_exists().

Referenced by conforms_to(), and current_namespace().

◆ state_is_read_accessible()

bool sheaf::poset_path::state_is_read_accessible ( bool  xauto_access) const
Deprecated:
Use namespace_poset::current_namespace()->poset_state_is_read_accessible(*this) instead. True if the state this refers to is read accessible.
Precondition
  • state_exists(xauto_access)

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().

◆ state_is_read_write_accessible()

bool sheaf::poset_path::state_is_read_write_accessible ( bool  xauto_access) const
Deprecated:
Use namespace_poset::current_namespace()->poset_state_is_read_write_accessible(*this) instead. True if the state this refers to is read-write accessible.
Precondition
  • state_exists(xauto_access)

Definition at line 1129 of file poset_path.cc.

References conforms_to().

Referenced by state_is_read_accessible().

◆ to_stream()

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().


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