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 boost::unordered_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);
208 void setFromOldRecord(
229 typedef std::vector<const makArchives::DtElementDefinitionRecord*>
ElementGroup;
242 virtual void buildElementChildren(
254 virtual void registerBackup();
256 virtual bool recordMatchesDefinition(
339 void registerElementType(ElementDefinitionType type,
340 const std::string& name,
const DtUnicode& typeScreenName,
341 bool proceduralOnly);
355 ElementDefinitionType type)
const;
363 template <
typename ManagerClass>
367 template <
typename ManagerClass>
387 typedef boost::unordered_map<unsigned int, DtElementDefinitionManager*>
409 boost::signal<void (const DtUnicode& oldName, const DtUnicode& newName)>