fw4spl
amp/src/fwDataCamp/Tag.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 <fwCamp/UserObject.hpp>
8 #include "fwDataCamp/Tag.hpp"
9 
10 fwCampImplementDataMacro((fwData)(Tag))
11 {
12  builder
13  .tag("object_version", "1")
14  .tag("lib_name", "fwData")
15  .base< ::fwData::Object>()
16  .property("point_list", &::fwData::Tag::m_pointList)
17  .property("type", &::fwData::Tag::m_sType)
18  .property("size", &::fwData::Tag::m_size)
19  ;
20 }
::fwData::PointList::sptr m_pointList
list of points
std::string m_sType
type of tag
Base class for each data object.
Contains the representation of the data objects used in the framework.
double m_size
size of tag