|
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_string () | |
| virtual | ~mf_string () |
| mf_string (const mf_string &a_from) | |
| mf_string & | operator= (const mf_string &a_from) |
| mf_string & | operator= (const std::vector< std::string > &a_value) |
| inlib::sg::mf_string::mf_string | ( | ) | [inline] |
| virtual inlib::sg::mf_string::~mf_string | ( | ) | [inline, virtual] |
| inlib::sg::mf_string::mf_string | ( | const mf_string & | a_from | ) | [inline] |
| virtual bool inlib::sg::mf_string::dump | ( | std::ostream & | a_out | ) | [inline, virtual] |
Implements inlib::sg::field.
Definition at line 147 of file mf.
{
const std::vector<std::string>& vec = bmf<std::string>::m_values;
a_out << "size : " << vec.size() << std::endl;
std::vector<std::string>::const_iterator it;
for(it=vec.begin();it!=vec.end();++it) {
a_out << " \"" << (*it) << "\"" << std::endl;
}
return true;
}
Definition at line 162 of file mf.
{
bmf<std::string>::operator=(a_from);
return *this;
}
| mf_string& inlib::sg::mf_string::operator= | ( | const std::vector< std::string > & | a_value | ) | [inline] |
Reimplemented from inlib::sg::bmf< std::string >.
Definition at line 167 of file mf.
{
bmf<std::string>::operator=(a_value);
return *this;
}
| virtual bool inlib::sg::mf_string::read | ( | io::irbuf & | a_buffer | ) | [inline, virtual] |
Implements inlib::sg::field.
Definition at line 143 of file mf.
{
std::vector<std::string>& vec = bmf<std::string>::m_values;
return a_buffer.read_vec(vec);
}
| virtual bool inlib::sg::mf_string::write | ( | io::iwbuf & | a_buffer | ) | [inline, virtual] |
Implements inlib::sg::field.
Definition at line 140 of file mf.
{
return a_buffer.write_vec(m_values);
}
1.7.5.1