#include <readable.hh>
Collaboration diagram for oln::io::internal::anything:
Public Member Functions | |
anything () | |
Constructor. | |
anything (const anything &rhs) | |
Constructor. | |
anything (const std::string &str) | |
Constructor. | |
anything (const char *c) | |
Constructor. | |
template<typename T> T & | assign (T &output) const |
This function will be called when applied to an operator = and load the file (str_ is the filename). |
This class is called by oln::load and just keep the filename to load. As soon as you will use the operator = on it, assign will be called and it will read the file. If you would like some examples to know how to use that, go to oln::abstract::iter
Definition at line 55 of file readable.hh.
|
Constructor.
Definition at line 62 of file readable.hh.
00062 : str_() {} |
|
This function will be called when applied to an operator = and load the file (str_ is the filename). <
Definition at line 85 of file readable.hh. Referenced by oln::image1d< T, Exact >::image1d(), oln::image2d< std::vector< oln::point2d > >::image2d(), oln::image3d< T, Exact >::image3d(), oln::image3d< T, Exact >::operator=(), oln::image2d< std::vector< oln::point2d > >::operator=(), and oln::image1d< T, Exact >::operator=().
00086 {
00087 read_any(output, str_);
00089 return output;
00090 }
|