Skip to content

add hasField to FieldsContainer #48

@AODQ

Description

@AODQ

Right now I don't think you can query if a FieldsContainer has a field, this would be very useful in post-process type of functions that iterate through all entities looking for a specific field.

    auto FieldsContainer::hasField(const std::string& name) const -> bool {
      return m_fields.count(name) > 0;
    };

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions