diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-06-19 16:42:53 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-06-19 17:43:27 +0300 |
commit | 3ceb9faf1a628dea203f41e49d99503c2f8df65b (patch) | |
tree | ae057ba3086b218a1c9e3cff3dc48c1e3a9e22b0 /source | |
parent | 59b523c3c98ece3c186354c3ae5300ae0a7c6b79 (diff) |
Cleanup: IO, made some functions in `AbstractHierarchyIterator` protected
These functions are not needed in the public interface, only by the
`AbstractHierarchyIterator` class and its subclasses.
No functional changes.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/io/common/IO_abstract_hierarchy_iterator.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/io/common/IO_abstract_hierarchy_iterator.h b/source/blender/io/common/IO_abstract_hierarchy_iterator.h index 8cac3f4c72d..2f0c1b270f1 100644 --- a/source/blender/io/common/IO_abstract_hierarchy_iterator.h +++ b/source/blender/io/common/IO_abstract_hierarchy_iterator.h @@ -239,7 +239,6 @@ class AbstractHierarchyIterator { Object *duplicator, const std::set<Object *> &dupli_set); - ExportChildren &graph_children(const HierarchyContext *parent_context); void context_update_for_graph_index(HierarchyContext *context, const ExportGraph::key_type &graph_index) const; @@ -260,8 +259,6 @@ class AbstractHierarchyIterator { std::string get_object_name(const Object *object) const; std::string get_object_data_name(const Object *object) const; - AbstractHierarchyWriter *get_writer(const std::string &export_path) const; - typedef AbstractHierarchyWriter *(AbstractHierarchyIterator::*create_writer_func)( const HierarchyContext *); /* Ensure that a writer exists; if it doesn't, call create_func(context). @@ -313,6 +310,9 @@ class AbstractHierarchyIterator { /* Called by release_writers() to free what the create_XXX_writer() functions allocated. */ virtual void delete_object_writer(AbstractHierarchyWriter *writer) = 0; + + AbstractHierarchyWriter *get_writer(const std::string &export_path) const; + ExportChildren &graph_children(const HierarchyContext *parent_context); }; } // namespace io |