GroveEngine/include/grove/DataTreeFactory.h
StillHammer e1cfa4513e Initial commit: Grove Engine core architecture
- Core interfaces for modular engine system
- Resource management and registry system
- Module system with sequential execution
- ImGui-based UI implementation
- Intra-process I/O communication
- Data tree structures for hierarchical data
- Serialization framework
- Task scheduler interface
- Debug engine implementation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-28 00:19:15 +08:00

23 lines
559 B
C++

#pragma once
#include <string>
#include <memory>
#include "IDataTree.h"
namespace warfactory {
/**
* @brief Factory for creating data tree instances
*/
class DataTreeFactory {
public:
/**
* @brief Create data tree from configuration source
* @param type Tree type ("json", "database", etc.)
* @param sourcePath Path to configuration source
* @return Data tree instance
*/
static std::unique_ptr<IDataTree> create(const std::string& type, const std::string& sourcePath);
};
} // namespace warfactory