59 template <
typename SpecificPropType>
60 const SpecificPropType* findField(
const DtString& fieldName)
const
62 return findProperty<SpecificPropType>(fieldName);
65 template <
typename SpecificPropType>
66 SpecificPropType* findField(
const DtString& fieldName)
68 return findProperty<SpecificPropType>(fieldName);
80 template <
typename ValueType>
81 boost::optional<ValueType> findFieldValue(
const DtString& fieldName)
const
83 return findPropertyValue<ValueType>(fieldName);
92 template <
typename ValueType>
93 bool findAndSetFieldValue(
const DtString& fieldName, ValueType val)
95 return findAndSetPropertyValue<ValueType>(fieldName, val);
116 template <
typename SpecificPropType>
117 SpecificPropType* addNewField(
const DtString& fieldName)
119 return addNewProperty<SpecificPropType>(fieldName);
129 virtual bool removeField(
const DtString& propertyName)
152 virtual void putSelf(std::string& fp,
int indentLevel,
bool writeUnspecified,
153 const DtFilename& path);