inlib
1.2.0
|
Public Member Functions | |
virtual bool | write (io::iwbuf &a_buffer) |
virtual bool | read (io::irbuf &a_buffer) |
virtual bool | dump (std::ostream &a_out) |
mf () | |
mf (const mf &a_from) | |
mf & | operator= (const mf &a_from) |
mf & | operator= (const std::vector< T > &a_from) |
inlib::sg::mf< T >::mf | ( | ) | [inline] |
inlib::sg::mf< T >::mf | ( | const mf< T > & | a_from | ) | [inline] |
virtual bool inlib::sg::mf< T >::dump | ( | std::ostream & | a_out | ) | [inline, virtual] |
Implements inlib::sg::field.
Definition at line 111 of file mf.
{ const std::vector<T>& vec = bmf<T>::m_values; a_out << "size : " << vec.size() << std::endl; typedef typename std::vector<T>::const_iterator cit_t; for(cit_t it=vec.begin();it!=vec.end();++it) { a_out << " " << (*it) << std::endl; } return true; }
mf& inlib::sg::mf< T >::operator= | ( | const mf< T > & | a_from | ) | [inline] |
Definition at line 126 of file mf.
{ //typedef typename bmf<T>::iterator bmf_t; bmf<T>::operator=(a_from); return *this; }
mf& inlib::sg::mf< T >::operator= | ( | const std::vector< T > & | a_from | ) | [inline] |
Reimplemented from inlib::sg::bmf< T >.
Definition at line 132 of file mf.
{ bmf<T>::operator=(a_from); return *this; }
virtual bool inlib::sg::mf< T >::read | ( | io::irbuf & | a_buffer | ) | [inline, virtual] |
Implements inlib::sg::field.
Definition at line 107 of file mf.
{
std::vector<T>& vec = bmf<T>::m_values;
return a_buffer.read_std_vec(vec);
}
virtual bool inlib::sg::mf< T >::write | ( | io::iwbuf & | a_buffer | ) | [inline, virtual] |
Implements inlib::sg::field.
Definition at line 103 of file mf.
{ const std::vector<T>& vec = bmf<T>::m_values; return a_buffer.write_vec(vec.size(),vec_data(vec)); }