torc-master
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
UserDataContainer.cpp
Go to the documentation of this file.
1
// Torc - Copyright 2011-2013 University of Southern California. All Rights Reserved.
2
// $HeadURL$
3
// $Id$
4
5
// This program is free software: you can redistribute it and/or modify it under the terms of the
6
// GNU General Public License as published by the Free Software Foundation, either version 3 of the
7
// License, or (at your option) any later version.
8
//
9
// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
10
// without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
11
// the GNU General Public License for more details.
12
//
13
// You should have received a copy of the GNU General Public License along with this program. If
14
// not, see <http://www.gnu.org/licenses/>.
15
16
#include "
torc/generic/UserDataContainer.hpp
"
17
18
namespace
torc {
19
namespace
generic {
20
21
/**
22
* Set the list of userData
23
*
24
* @param[in] inSource The list of UserData
25
*/
26
void
UserDataContainer::setUserData
(
const
std::list<std::string>& inSource) {
27
mUserData
.insert(
mUserData
.end(), inSource.begin(), inSource.end());
28
}
29
30
/**
31
* Add an user data to the list of user data
32
* @param[in] inSource An user data as string
33
*/
34
void
UserDataContainer::addUserData
(
const
std::string
& inSource) {
35
mUserData
.push_back(inSource);
36
}
37
38
UserDataContainer::UserDataContainer
() :
39
mUserData() {}
40
41
UserDataContainer::~UserDataContainer
() throw () {}
42
43
}
// namespace generic
44
}
// namespace torc
torc::bitstream::string
std::string string
Definition:
LibGenFactory.hpp:35
torc::generic::UserDataContainer::setUserData
void setUserData(const std::list< std::string > &inSource)
Definition:
UserDataContainer.cpp:26
torc::generic::UserDataContainer::UserDataContainer
UserDataContainer()
Definition:
UserDataContainer.cpp:38
torc::generic::UserDataContainer::~UserDataContainer
~UserDataContainer()
Definition:
UserDataContainer.cpp:41
torc::generic::UserDataContainer::mUserData
std::list< std::string > mUserData
Definition:
UserDataContainer.hpp:70
UserDataContainer.hpp
torc::generic::UserDataContainer::addUserData
void addUserData(const std::string &inSource)
Definition:
UserDataContainer.cpp:34
src
torc
generic
UserDataContainer.cpp
Generated on Thu Dec 18 2014 16:30:40 for torc-master by
1.8.6