IT++ Logo

itpp::Name Class Reference
[IT++ File Format]

#include <itpp/base/itfile.h>

List of all members.


Detailed Description

Automatic naming when saving

An easy way to give a variable a name and optionally description when saving. Usage:.

    vec v1("1 2 3"), v2;
    it_file f("file.it");
    f << Name("v", "A vector of consecutive double values") << v1;
    f >> Name("v") >> v2;

Definition at line 415 of file itfile.h.


Public Member Functions

 Name (const std::string &n, const std::string &d="")
 Constructor.

Public Attributes

const std::string & name
 The name string.
const std::string & desc
 The descripion.

The documentation for this class was generated from the following file:
SourceForge Logo

Generated on Sun Sep 14 18:57:11 2008 for IT++ by Doxygen 1.5.6