21 #ifndef PRIMITIVES_POSET_H 22 #define PRIMITIVES_POSET_H 24 #ifndef SHEAF_DLL_SPEC_H 25 #include "SheafSystem/sheaf_dll_spec.h" 29 #include "SheafSystem/poset.h" 32 #ifndef POSET_MEMBER_H 33 #include "SheafSystem/total_poset_member.h" 36 #ifndef POSET_STATE_HANDLE_H 37 #include "SheafSystem/poset_state_handle.h" 40 #ifndef STD_IOSTREAM_H 41 #include "SheafSystem/std_iostream.h" 47 class namespace_poset;
67 static const std::string& standard_name();
72 bool primitive_members_attached()
const;
111 return _signed_char_type;
119 return _signed_char_type;
127 return _short_int_type;
135 return _short_int_type;
191 return _long_int_type;
199 return _long_int_type;
207 return _long_long_int_type;
215 return _long_long_int_type;
223 return _unsigned_char_type;
231 return _unsigned_char_type;
239 return _unsigned_short_int_type;
247 return _unsigned_short_int_type;
255 return _unsigned_int_type;
263 return _unsigned_int_type;
271 return _unsigned_long_int_type;
279 return _unsigned_long_int_type;
287 return _unsigned_long_long_int_type;
295 return _unsigned_long_long_int_type;
335 return _long_double_type;
343 return _long_double_type;
351 return _void_star_type;
359 return _void_star_type;
367 return _c_string_type;
375 return _c_string_type;
383 return _namespace_relative_member_index_type;
391 return _namespace_relative_member_index_type;
399 return _namespace_relative_subposet_index_type;
407 return _namespace_relative_subposet_index_type;
537 static bool make_prototype();
557 virtual const char* class_name()
const;
563 virtual bool row_dof_map_conforms(
const poset_dof_map* xdof_map)
const;
579 virtual void detach_from_state();
592 virtual void initialize_standard_members();
597 virtual void initialize_standard_subposets(
const std::string& xname);
612 virtual bool is_ancestor_of(
const any* other)
const;
617 bool invariant()
const;
633 #endif // ifndef PRIMITIVES_POSET_H A client handle for a subposet.
abstract_poset_member & char_type()
Poset member representing primitive type char (mutable version)
abstract_poset_member & int_type_type()
Poset member representing primitive type int_type; alias for int (mutable version) ...
const abstract_poset_member & void_star_type() const
Poset member representing primitive type void_star (const version)
The default name space; a poset which contains other posets as members.
abstract_poset_member & namespace_relative_member_index_type()
Poset member representing primitive type namespace_relative_member_index (mutable version) ...
poset_type
Identifiers for poset types.
abstract_poset_member & namespace_relative_subposet_index_type()
Poset member representing primitive type namespace_relative_member_index (mutable version) ...
abstract_poset_member & bool_type()
Poset member representing primitive type bool (mutable version)
A client handle for a general, abstract partially order set.
abstract_poset_member & int_type()
Poset member representing primitive type int (mutable version)
const abstract_poset_member & namespace_relative_member_index_type() const
Poset member representing primitive type namespace_relative_member_index (const version) ...
const abstract_poset_member & unsigned_int_type() const
Poset member representing primitive type unsigned int (const version)
abstract_poset_member & unsigned_char_type()
Poset member representing primitive type unsigned char (mutable version)
const abstract_poset_member & int_type() const
Poset member representing primitive type int (const version)
The general, abstract map from dof ids to dof values.
abstract_poset_member & float_type()
Poset member representing primitive type float (mutable version)
abstract_poset_member & pod_index_type_type()
Poset member representing primitive type pod_index_type; alias for int (mutable version) ...
const abstract_poset_member & unsigned_short_int_type() const
Poset member representing primitive type unsigned short int (const version)
const abstract_poset_member & unsigned_long_int_type() const
Poset member representing primitive type unsigned long int (const version)
The poset containing the primitive type definitions.
Abstract base class with useful features for all objects.
abstract_poset_member & unsigned_short_int_type()
Poset member representing primitive type unsigned short int (mutable version)
abstract_poset_member & void_star_type()
Poset member representing primitive type void_star (mutable version)
primitive_type
Type ids for sheaf primitives.
const abstract_poset_member & long_int_type() const
Poset member representing primitive type long int (const version)
abstract_poset_member & unsigned_int_type()
Poset member representing primitive type unsigned int (mutable version)
const abstract_poset_member & signed_char_type() const
Poset member representing primitive type signed char (const version)
const abstract_poset_member & c_string_type() const
Poset member representing primitive type c_string (const version)
const abstract_poset_member & namespace_relative_subposet_index_type() const
Poset member representing primitive type namespace_relative_member_index (const version) ...
const abstract_poset_member & float_type() const
Poset member representing primitive type float (const version)
abstract_poset_member & signed_char_type()
Poset member representing primitive type signed char (mutable version)
abstract_poset_member & long_long_int_type()
Poset member representing primitive type long long int (mutable version)
void attach_to_state(const poset_state_handle *xother)
Attach this handle to the same state as xother.
abstract_poset_member & double_type()
Poset member representing primitive type double (mutable version)
const abstract_poset_member & int_type_type() const
Poset member representing primitive type int_type; alias for int (const version)
abstract_poset_member & c_string_type()
Poset member representing primitive type c_string (mutable version)
abstract_poset_member & long_int_type()
Poset member representing primitive type long int (mutable version)
abstract_poset_member & unsigned_long_long_int_type()
Poset member representing primitive type unsigned long long int (mutable version) ...
const abstract_poset_member & double_type() const
Poset member representing primitive type double (const version)
const abstract_poset_member & pod_index_type_type() const
Poset member representing primitive type pod_index_type; alias for int (const version) ...
const abstract_poset_member & char_type() const
Poset member representing primitive type char (const version)
const abstract_poset_member & unsigned_long_long_int_type() const
Poset member representing primitive type unsigned long long int (const version)
abstract_poset_member & short_int_type()
Poset member representing primitive type short int (mutable version)
int_type pod_index_type
The plain old data index type.
Namespace for the sheaves component of the sheaf system.
const abstract_poset_member & long_long_int_type() const
Poset member representing primitive type long long int (const version)
An abstract client handle for a member of a poset.
abstract_poset_member & long_double_type()
Poset member representing primitive type long double (mutable version)
void new_state(namespace_poset &xns, const poset_path &xpath, const schema_poset_member &xschema, array_poset_dof_map &xdof_map)
Creates a new poset state with schema xschema and table dof map xdof_map, attaches this to the state ...
const abstract_poset_member & unsigned_char_type() const
Poset member representing primitive type unsigned char (const version)
const abstract_poset_member & long_double_type() const
Poset member representing primitive type long double (const version)
const abstract_poset_member & short_int_type() const
Poset member representing primitive type short int (const version)
A client handle for an unrestricted member of a poset. A total_poset_member is guaranteed not to be r...
abstract_poset_member & unsigned_long_int_type()
Poset member representing primitive type unsigned long int (mutable version)
const abstract_poset_member & bool_type() const
Poset member representing primitive type bool (const version)