1 #ifndef PhysicsTools_MVAComputer_Variable_h 2 #define PhysicsTools_MVAComputer_Variable_h 79 typedef std::vector<Value>
_Data;
93 inline ValueList(
const _Data &orig) : data_(orig) {}
101 inline void clear() { data_.clear(); }
107 inline size_type
size()
const {
return data_.size(); }
108 bool empty()
const {
return data_.empty(); }
110 inline const_iterator
begin()
const {
return data_.begin(); }
111 iterator
begin() {
return data_.begin(); }
113 inline const_iterator
end()
const {
return data_.end(); }
114 iterator
end() {
return data_.end(); }
116 inline const _Data &
values()
const {
return data_; }
119 inline const_reference
front()
const {
return *data_.begin(); }
120 reference
front() {
return *data_.begin(); }
122 inline const_reference
back()
const {
return *data_.rbegin(); }
123 reference
back() {
return *data_.rbegin(); }
125 inline const_pointer
data()
const {
return &front(); }
126 pointer
data() {
return &front(); }
149 #endif // PhysicsTools_MVAComputer_Variable_h
Container::value_type value_type