9 #include <boost/unordered_map.hpp>
21 #include <boost/signal.hpp>
25 class DtElementDefinitionRecord;
26 class DtElementsRecord;
30 class DtElementDefinition;
31 class DtElementDefinitionHierarchy;
32 class DtElementDefinitionNode;
33 class DtVisualAttributeInterface;
40 class DtBaseConnection;
41 class DtElementDefinitionNew;
52 typedef boost::unordered_map<DtUnicode,DtElementDefinitionNew*>
67 const std::string& name()
const;
74 unsigned int numberOfElementDefinitions()
const;
124 bool renameElementDefinition(
const DtUnicode& oldName,
131 void loadDefaults(
bool loadOnlyFactory);
134 void revertSettings();
137 virtual void saveAsDefaults();
140 virtual void exportSettings(
const std::string& fileName);
146 virtual void importSettings(
const std::string& fileName,
151 virtual void importSettings(
const std::string& fileName);
157 virtual void mergeSettings(
const std::string& fileName,
177 virtual void mergeRecord(
186 virtual void setAutoSave(
bool enabled);
212 void setFromOldRecord(
233 typedef std::vector<const makArchives::DtElementDefinitionRecord*>
ElementGroup;
246 virtual void buildElementChildren(
258 virtual void registerBackup();
260 virtual bool recordMatchesDefinition(
345 void registerElementType(ElementDefinitionType type,
346 const std::string& name,
const DtUnicode& typeScreenName,
347 bool proceduralOnly);
361 ElementDefinitionType type)
const;
369 template <
typename ManagerClass>
373 template <
typename ManagerClass>
393 typedef boost::unordered_map<unsigned int, DtElementDefinitionManager*>
415 boost::signal<void (const DtUnicode& oldName, const DtUnicode& newName)>