Go to the documentation of this file.
26 static const std::string s_v(
"tools::sg::bmf");
30 virtual void*
cast(
const std::string& a_class)
const {
73 void add(
const T& a_value) {
77 void add(
const std::vector<T>& a_vals) {
78 if(a_vals.empty())
return;
79 typedef typename std::vector<T>::const_iterator const_it_t;
80 for(const_it_t it=a_vals.begin();it!=a_vals.end();++it){
85 void add_allocated(
size_t& a_pos,
const T& a_1,
const T& a_2,
const T& a_3) {
87 v[a_pos] = a_1;a_pos++;
88 v[a_pos] = a_2;a_pos++;
89 v[a_pos] = a_3;a_pos++;
92 typedef typename std::vector<T>::iterator
it_t;
98 if(a_index>=
m_values.size())
return false;
104 if(a_index>=
m_values.size()) {a_value=T();
return false;}
118 bool to_resize =
m_values.size()==1?
false:
true;
119 bool is_eq = ( (
m_values.size()>=1) && (
m_values[0]==a_value) ) ?
true :
false;
121 if(to_resize || !is_eq)
m_touched =
true;
133 bool setValues(
size_t a_index,
size_t a_num,
const T* a_vs) {
137 for(
size_t index=0;index<a_num;index++) {
139 m_values[a_index+index] = a_vs[index];
158 if(a_start>=(
m_values.size()+1))
return 0;