Choreonoid  1.5
ItemTreeArchiver.h
Go to the documentation of this file.
1 
5 #ifndef CNOID_BASE_ITEM_TREE_ARCHIVER_H
6 #define CNOID_BASE_ITEM_TREE_ARCHIVER_H
7 
8 #include "Archive.h"
9 #include <set>
10 #include "exportdecl.h"
11 
12 namespace cnoid {
13 
14 class Item;
15 class ItemTreeArchiverImpl;
16 
18 {
19 public:
22  void reset();
23  ArchivePtr store(Archive* parentArchive, Item* topItem);
24  bool restore(Archive* archive, Item* parentItem, const std::set<std::string>& optionalPlugins);
25  int numArchivedItems() const;
26  int numRestoredItems() const;
27 
28 private:
29  ItemTreeArchiverImpl* impl;
30 };
31 
32 }
33 
34 #endif
Definition: Archive.h:21
Definition: Item.h:38
Defines the minimum processing for performing pasing file for STL.
Definition: AbstractSceneLoader.h:9
#define CNOID_EXPORT
Definition: Util/exportdecl.h:37
Definition: ItemTreeArchiver.h:17