Choreonoid
1.8
src
Base
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 "
ItemList.h
"
10
#include <set>
11
#include "exportdecl.h"
12
13
namespace
cnoid
{
14
15
class
Item;
16
17
class
CNOID_EXPORT
ItemTreeArchiver
18
{
19
public
:
20
ItemTreeArchiver
();
21
~
ItemTreeArchiver
();
22
void
reset();
23
ArchivePtr
store(
Archive
* parentArchive,
Item
* topItem);
24
void
restore(
Archive
* archive,
Item
* parentItem,
const
std::set<std::string>& optionalPlugins);
25
int
numArchivedItems()
const
;
26
int
numRestoredItems()
const
;
27
28
private
:
29
class
Impl;
30
Impl* impl;
31
};
32
33
}
34
35
#endif
cnoid::Archive
Definition:
Archive.h:22
cnoid::ItemTreeArchiver
Definition:
ItemTreeArchiver.h:17
cnoid::ref_ptr< Archive >
Archive.h
cnoid
Definition:
AbstractSceneLoader.h:11
cnoid::Item
Definition:
Item.h:29
ItemList.h
Generated by
1.8.17