62 std :: shared_ptr< Field >
67 std :: shared_ptr< Field >p;
85 std::vector<FieldType>
88 std::vector<FieldType> ret;
89 for(
const auto& keyField: this->
externalFields) ret.push_back(keyField.first);
FieldType
Physical type of field.
void unregisterField(FieldType key)
Unregisters (deletes) the field registered under given key.
std::map< FieldType, std::shared_ptr< Field > > externalFields
Field container.
FieldPtr giveField(FieldType key)
Returns the previously registered field under given key; NULL otherwise.
void registerField(FieldPtr eField, FieldType key)
Registers the given field (the receiver is not assumed to own given field).
std::vector< FieldType > giveRegisteredKeys()
Returns list of registered field keys, which can be obtained by calling giveField.
the oofem namespace is to define a context or scope in which all oofem names are defined.
bool isFieldRegistered(FieldType key)
Returns true if field is registered under key.