20 #include "SheafSystem/abstract_poset_member.h" 21 #include "SheafSystem/arg_list.h" 22 #include "SheafSystem/assert_contract.h" 23 #include "SheafSystem/index_iterator.h" 24 #include "SheafSystem/namespace_poset_member.h" 25 #include "SheafSystem/poset_member_iterator.h" 26 #include "SheafSystem/postorder_iterator.h" 27 #include "SheafSystem/primitives_poset.h" 28 #include "SheafSystem/primitives_poset_schema.h" 29 #include "SheafSystem/schema_poset_member.h" 30 #include "SheafSystem/sheaves_namespace.h" 31 #include "SheafSystem/refinable_poset.h" 61 ensure(
name() == xname);
136 t->
put_name(
"standard triangle",
true,
false);
258 return SHEAVES_NAMESPACE_ID;
271 static const char* result =
"sheaves_namespace";
virtual ~sheaves_namespace()
Destructor.
virtual void create_cover_link(abstract_poset_member *xlesser)
Insert a link from this to lesser; make lesser <= this.
sheaves_namespace()
Default constructor; creates an unattached handle.
const scoped_index & index() const
The member index of this poset within the namespace host()
static void make_triangle(sheaves_namespace *xns)
Creates a triangle schema using the primatives poset; used for test drivers.
poset_path path(bool xauto_access=true) const
A path to this component.
The default name space; a poset which contains other posets as members.
poset_type
Identifiers for poset types.
primitives_poset & primitives()
The poset of primitives for this namespace (mutable version)
virtual void get_read_write_access(bool xrelease_read_only_access=false)
Get read write access to the state associated with this. If release_read_only_access is requested...
abstract_poset_member & int_type()
Poset member representing primitive type int (mutable version)
The standard sheaves name space.
namespace_poset * host() const
The namespace this poset resides in. Obsolete; use name_space() instead.
static namespace_poset * current_namespace()
The current default namespace.
void put_dof_tuple(const void *xbuf, size_t xbuflen)
Copies the entire dof tuple between xbuf and internal storage.
A client handle for a member of a namespace poset.
The poset containing the primitive type definitions.
virtual const char * class_name() const
The name of this class.
void new_state(const std::string &xname)
Creates a new namespace state with name xname and attaches this to it.
bool has_standard_subposet_ct() const
True if poset is in its initial state, that is, it contains just the standard subposets.
A client handle for a mutable partially ordered set.
bool state_is_read_write_accessible() const
True if this is attached and if the state is accessible for read and write or access control is disab...
virtual void get_read_access() const
Get read access to the state associated with this.
virtual void put_name(const std::string &xname, bool xunique, bool xauto_access)
Make xname a name for this; if xunique, make xname the only name.
static refinable_poset & new_table(namespace_type &xhost, const poset_path &xpath, const poset_path &xschema_path, bool xauto_access)
Creates a new poset in namespace xns with path xpath and schema specified by xschema_path.
const hub_index_space_handle & member_hub_id_space(bool xauto_access) const
The member hub id space.
virtual poset_type type_id() const
Identifier for the type of this poset.
virtual bool is_attached() const
True if this is attached to a state.
bool invariant() const
Class invariant.
virtual std::string name() const
The name of this poset.
virtual void end_jim_edit_mode(bool xensure_lattice_invariant=true, bool xauto_access=true)
Prevent editing of jims and jim order relation.
static bool is_valid_name(const std::string &xname)
True if xname is not empty and contains only name legal characters.
An abstract client handle for a member of a poset.
bool in_jim_edit_mode() const
True if editing jims and jim order relation is allowed.
SHEAF_DLL_SPEC bool is_valid(pod_index_type xpod_index)
True if an only if xpod_index is valid.
bool state_is_not_read_accessible() const
True if this is attached and if the state is accessible for read or if access control is disabled...
namespace_poset()
Default constructor; creates an unattached namespace handle.
virtual void release_access(bool xall=false) const
Release access. If xall is true, release all levels of access. Otherwise, release one level of access...
A client handle for an unrestricted member of a poset. A total_poset_member is guaranteed not to be r...
virtual void begin_jim_edit_mode(bool xauto_access=true)
Allow editing of jims and jim order relation.