|
IT++ 4.3.1
|
Automatic naming when saving. More...
#include <itpp/base/itfile.h>
Public Member Functions | |
| Name (const std::string &n, const std::string &d="") | |
| Constructor. | |
| Name & | operator= (const Name &) |
| Dummy assignment operator - MSVC++ warning C4512. | |
Public Attributes | |
| const std::string & | name |
| The name string. | |
| const std::string & | desc |
| The description. | |
Automatic naming when saving.
An easy way to give a variable a name and optionally description when saving. Usage:
|
inline |
Constructor.
Definition at line 432 of file itfile.h.
Referenced by itpp::it_save_var_as(), itpp::BLDPC_Generator::load(), itpp::LDPC_Generator_Systematic::load(), itpp::MOG_generic::load(), itpp::LDPC_Code::load_code(), operator=(), itpp::BLDPC_Generator::save(), itpp::LDPC_Generator_Systematic::save(), itpp::MOG_generic::save(), and itpp::LDPC_Code::save_code().
| const std::string& itpp::Name::name |
The name string.
Definition at line 436 of file itfile.h.
Referenced by Name(), itpp::operator<<(), itpp::operator<<(), itpp::operator>>(), and itpp::operator>>().
| const std::string& itpp::Name::desc |
The description.
Definition at line 438 of file itfile.h.
Referenced by Name(), and itpp::operator<<().