IT++ Logo Newcom Logo

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

Automatic naming when saving. More...

#include <itpp/base/itfile.h>

List of all members.

Public Member Functions

 Name (const std::string &n)
 Constructor.

Public Attributes

const std::string & name
 The name string.


Detailed Description

Automatic naming when saving.

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

    vec v1("1 2 3"), v2;
    it_file f("file.it");
    f << Name("v") << v1;
    f >> Name("v") >> v2;

Definition at line 375 of file itfile.h.


Constructor & Destructor Documentation

itpp::Name::Name ( const std::string &  n  )  [inline]

Constructor.

Definition at line 378 of file itfile.h.


Member Data Documentation

const std::string& itpp::Name::name

The name string.

Definition at line 380 of file itfile.h.

Referenced by itpp::operator<<(), and itpp::operator>>().


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

Generated on Fri Jun 8 02:09:03 2007 for IT++ by Doxygen 1.5.2