SheafSystem
0.0.0.0
|
A description of a dof in a schema. More...
#include <schema_descriptor.h>
Public Member Functions | |
virtual bool | is_ancestor_of (const any *other) const |
Conformance test; true if other conforms to this. More... | |
virtual schema_descriptor * | clone () const |
Virtual constructor, makes a new instance of the same type as this. More... | |
bool | operator== (const schema_descriptor &xother) const |
Equality operator. More... | |
virtual bool | invariant () const |
Class invariant. More... | |
schema_descriptor () | |
Default constructor. More... | |
schema_descriptor (const schema_descriptor &xother) | |
Copy constructor. More... | |
schema_descriptor (const std::string &xname, primitive_type xtype=NOT_A_PRIMITIVE_TYPE, bool xis_table_dof=true) | |
Creates an instance with name == xname, type == xtype, and is_table_dof == xis_table_dof. More... | |
virtual | ~schema_descriptor () |
Destructor. More... | |
Public Member Functions inherited from sheaf::any | |
bool | is_same_type (const any *other) const |
True if other is the same type as this. More... | |
virtual | ~any () |
Destructor. More... | |
bool | invariant_check () const |
True if invariant checking is enabled. More... | |
void | enable_invariant_check () const |
Enable invariant checking. More... | |
void | disable_invariant_check () const |
Disable invariant check. Intended for preventing recursive calls to invariant and for suppressing invariant checking during multi-phase initialization. More... | |
int | disable_invariance_check_request_depth () const |
Number of times disable_invariant_check has been called without matching call to enable_invariant_check. More... | |
Public Attributes | |
std::string | name |
The name of the dof described by this. More... | |
primitive_type | type |
The type of the dof described by this. More... | |
bool | is_table_dof |
The role of the dof described by this; true if this describes a table dof. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from sheaf::any | |
any () | |
default constructor More... | |
A description of a dof in a schema.
Definition at line 45 of file schema_descriptor.h.
sheaf::schema_descriptor::schema_descriptor | ( | ) |
Default constructor.
Definition at line 141 of file schema_descriptor.cc.
Referenced by invariant(), and schema_descriptor().
sheaf::schema_descriptor::schema_descriptor | ( | const schema_descriptor & | xother | ) |
Copy constructor.
Definition at line 167 of file schema_descriptor.cc.
References schema_descriptor().
sheaf::schema_descriptor::schema_descriptor | ( | const std::string & | xname, |
primitive_type | xtype = NOT_A_PRIMITIVE_TYPE , |
||
bool | xis_table_dof = true |
||
) |
Creates an instance with name == xname, type == xtype, and is_table_dof == xis_table_dof.
Definition at line 189 of file schema_descriptor.cc.
References ~schema_descriptor().
|
virtual |
|
virtual |
Virtual constructor, makes a new instance of the same type as this.
Reimplemented from sheaf::any.
Definition at line 55 of file schema_descriptor.cc.
References operator==().
Referenced by is_ancestor_of().
|
virtual |
Class invariant.
Reimplemented from sheaf::any.
Definition at line 105 of file schema_descriptor.cc.
References schema_descriptor().
Referenced by operator==().
|
virtual |
Conformance test; true if other conforms to this.
Reimplemented from sheaf::any.
Definition at line 34 of file schema_descriptor.cc.
References clone().
bool sheaf::schema_descriptor::operator== | ( | const schema_descriptor & | xother | ) | const |
Equality operator.
Definition at line 80 of file schema_descriptor.cc.
References invariant(), is_table_dof, name, and type.
Referenced by clone().
bool sheaf::schema_descriptor::is_table_dof |
The role of the dof described by this; true if this describes a table dof.
Definition at line 120 of file schema_descriptor.h.
Referenced by sheaf::operator<<(), operator==(), and sheaf::operator>>().
std::string sheaf::schema_descriptor::name |
The name of the dof described by this.
Definition at line 109 of file schema_descriptor.h.
Referenced by sheaf::operator<<(), operator==(), and sheaf::operator>>().
primitive_type sheaf::schema_descriptor::type |
The type of the dof described by this.
Definition at line 114 of file schema_descriptor.h.
Referenced by sheaf::operator<<(), operator==(), and sheaf::operator>>().