]> www.ginac.de Git - ginac.git/blobdiff - ginac/archive.h
* Indentation vs. alignment.
[ginac.git] / ginac / archive.h
index 5423dbfcd2aa9a0046b75d4e7d3d3978bfecdd34..af7bbc27721666d1811566b4731c236025354da7 100644 (file)
@@ -3,7 +3,7 @@
  *  Archiving of GiNaC expressions. */
 
 /*
- *  GiNaC Copyright (C) 1999-2003 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2005 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
  *
  *  You should have received a copy of the GNU General Public License
  *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 #ifndef __GINAC_ARCHIVE_H__
@@ -66,7 +66,7 @@ public:
                property_info() {}
                property_info(property_type t, const std::string &n, unsigned c = 1) : type(t), name(n), count(c) {}
 
-               property_type type;     /**< Data type of property. */
+               property_type type; /**< Data type of property. */
                std::string name;   /**< Name of property. */
                unsigned count;     /**< Number of occurrences. */
        };
@@ -131,7 +131,7 @@ private:
 
                property_type type; /**< Data type of property. */
                archive_atom name;  /**< Name of property. */
-               unsigned value; /**< Stored value. */
+               unsigned value;     /**< Stored value. */
        };
 
        /** Reference to the archive to which this node belongs. */
@@ -176,17 +176,20 @@ public:
        void archive_ex(const ex &e, const char *name);
 
        /** Retrieve expression from archive by name.
-        *  @param sym_lst list of pre-defined symbols */
+        *  @param sym_lst list of pre-defined symbols
+        *  @param name name of expression */
        ex unarchive_ex(const lst &sym_lst, const char *name) const;
 
        /** Retrieve expression from archive by index.
         *  @param sym_lst list of pre-defined symbols
+        *  @param index index of expression
      *  @see count_expressions */
        ex unarchive_ex(const lst &sym_lst, unsigned index = 0) const;
 
        /** Retrieve expression and its name from archive by index.
         *  @param sym_lst list of pre-defined symbols
         *  @param name receives the name of the expression
+        *  @param index index of expression
      *  @see count_expressions */
        ex unarchive_ex(const lst &sym_lst, std::string &name, unsigned index = 0) const;
 
@@ -214,8 +217,8 @@ private:
                archived_ex() {}
                archived_ex(archive_atom n, archive_node_id node) : name(n), root(node) {}
 
-               archive_atom name;              /**< Name of expression. */
-               archive_node_id root;   /**< ID of root node. */
+               archive_atom name;     /**< Name of expression. */
+               archive_node_id root;  /**< ID of root node. */
        };
 
        /** Vector of archived expression descriptors. */