9 #include <boost/unordered_map.hpp>
20 #include <boost/signal.hpp>
24 class DtElementDefinitionRecord;
25 class DtElementsRecord;
29 class DtElementDefinition;
30 class DtElementDefinitionHierarchy;
31 class DtElementDefinitionNode;
32 class DtVisualAttributeInterface;
39 class DtBaseConnection;
40 class DtElementDefinitionNew;
51 typedef std::map<DtUnicode, DtElementDefinitionNew*>
66 const std::string& name()
const;
73 unsigned int numberOfElementDefinitions()
const;
123 bool renameElementDefinition(
const DtUnicode& oldName,
130 void loadDefaults(
bool loadOnlyFactory);
133 void revertSettings();
136 virtual void saveAsDefaults();
139 virtual void exportSettings(
const std::string& fileName);
145 virtual void importSettings(
const std::string& fileName,
150 virtual void importSettings(
const std::string& fileName);
156 virtual void mergeSettings(
const std::string& fileName,
176 virtual void mergeRecord(
185 virtual void setAutoSave(
bool enabled);
211 void setFromOldRecord(
232 typedef std::vector<const makArchives::DtElementDefinitionRecord*>
ElementGroup;
245 virtual void buildElementChildren(
257 virtual void registerBackup();
259 virtual bool recordMatchesDefinition(
344 void registerElementType(ElementDefinitionType type,
345 const std::string& name,
const DtUnicode& typeScreenName,
346 bool proceduralOnly);
360 ElementDefinitionType type)
const;
368 template <
typename ManagerClass>
372 template <
typename ManagerClass>
392 typedef boost::unordered_map<unsigned int, DtElementDefinitionManager*>
414 boost::signal<void (const DtUnicode& oldName, const DtUnicode& newName)>