inlib  1.2.0
Public Member Functions
inlib::sg::mf_std_vec< T > Class Template Reference
Inheritance diagram for inlib::sg::mf_std_vec< T >:
Inheritance graph
[legend]
Collaboration diagram for inlib::sg::mf_std_vec< T >:
Collaboration graph
[legend]

List of all members.

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_std_vec ()
virtual ~mf_std_vec ()
 mf_std_vec (const mf_std_vec &a_from)
mf_std_vecoperator= (const mf_std_vec &a_from)

Detailed Description

template<class T>
class inlib::sg::mf_std_vec< T >

Definition at line 267 of file mf.


Constructor & Destructor Documentation

template<class T >
inlib::sg::mf_std_vec< T >::mf_std_vec ( ) [inline]

Definition at line 288 of file mf.

: bmf< std::vector<T> >(){}
template<class T >
virtual inlib::sg::mf_std_vec< T >::~mf_std_vec ( ) [inline, virtual]

Definition at line 289 of file mf.

{}
template<class T >
inlib::sg::mf_std_vec< T >::mf_std_vec ( const mf_std_vec< T > &  a_from) [inline]

Definition at line 291 of file mf.

  : bmf< std::vector<T> >(a_from){}

Member Function Documentation

template<class T >
virtual bool inlib::sg::mf_std_vec< T >::dump ( std::ostream &  a_out) [inline, virtual]

Implements inlib::sg::field.

Definition at line 278 of file mf.

                                       {
    const std::vector< std::vector<T> >& vec = bmf< std::vector<T> >::m_values;
    a_out << "size : " << vec.size() << std::endl;
    typedef typename std::vector< std::vector<T> >::const_iterator cit_t;
    for(cit_t it=vec.begin();it!=vec.end();++it) {
      //a_out << "  " << (*it) << std::endl;
    }
    return true;
  }
template<class T >
mf_std_vec& inlib::sg::mf_std_vec< T >::operator= ( const mf_std_vec< T > &  a_from) [inline]

Definition at line 293 of file mf.

                                                 {
    bmf< std::vector<T> >::operator=(a_from);
    return *this;
  }
template<class T >
virtual bool inlib::sg::mf_std_vec< T >::read ( io::irbuf a_buffer) [inline, virtual]

Implements inlib::sg::field.

Definition at line 274 of file mf.

                                       {
    std::vector< std::vector<T> >& vec = bmf< std::vector<T> >::m_values;
    return a_buffer.read_std_vec_vec(vec);
  }
template<class T >
virtual bool inlib::sg::mf_std_vec< T >::write ( io::iwbuf a_buffer) [inline, virtual]

Implements inlib::sg::field.

Definition at line 269 of file mf.

                                        {
    //used in exlib/sg/text_freetype::unitext
    const std::vector< std::vector<T> >& vec = bmf< std::vector<T> >::m_values;
    return a_buffer.write_std_vec_vec(vec);
  }

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines