fw4spl
amp/src/fwDataCamp/location/Folder.cpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2015.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #include <fwData/camp/mapper.hpp>
8 #include <fwData/location/Folder.hpp>
9 
10 #include <fwCamp/UserObject.hpp>
11 
12 fwCampImplementDataMacro((fwData)(location)(Folder))
13 {
14  builder
15  .tag("object_version", "1")
16  .tag("lib_name", "fwData")
17  .base< ::fwData::Object>()
18  .property("folder", &::fwData::location::Folder::m_folder)
19  .property("recursive", &::fwData::location::Folder::m_isRecursive)
20  ;
21 }
PathType m_folder
Folder path
Definition: Folder.hpp:66
Base class for each data object.
bool m_isRecursive
Flag if folder is recursive.
Definition: Folder.hpp:69
Contains the representation of the data objects used in the framework.