Class entity

Nested Relationships

Inheritance Relationships

Base Type

Class Documentation

class IfcParse::entity : public IfcParse::declaration

Public Functions

entity(const std::string &name, bool is_abstract, int index_in_schema, entity *supertype)
bool is(const std::string &name) const
bool is(const IfcParse::declaration &decl) const
bool is_abstract() const
void set_subtypes(const std::vector<const entity*> &subtypes)
void set_attributes(const std::vector<const attribute*> &attributes, const std::vector<bool> &derived)
void set_inverse_attributes(const std::vector<const inverse_attribute*> &inverse_attributes)
const std::vector<const entity*> &subtypes() const
const std::vector<const attribute*> &attributes() const
const std::vector<bool> &derived() const
const std::vector<const attribute*> all_attributes() const
const std::vector<const inverse_attribute*> all_inverse_attributes() const
const attribute *attribute_by_index(size_t index) const
size_t attribute_count() const
ptrdiff_t attribute_index(const attribute *attr) const
ptrdiff_t attribute_index(const std::string &attr_name) const
const entity *supertype() const
const entity *as_entity() const

Protected Functions

const attribute *attribute_by_index_(size_t &index) const

Protected Attributes

bool is_abstract_
const entity *supertype_
std::vector<const entity*> subtypes_
std::vector<const attribute*> attributes_
std::vector<bool> derived_
std::vector<const inverse_attribute*> inverse_attributes_
class attribute_by_name_cmp

Public Functions

attribute_by_name_cmp(const std::string name)
bool operator()(const attribute *attr)