lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [4895] Remove declarations of disused members


From: Greg Chicares
Subject: [lmi-commits] [4895] Remove declarations of disused members
Date: Mon, 03 May 2010 11:34:49 +0000

Revision: 4895
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=4895
Author:   chicares
Date:     2010-05-03 11:34:49 +0000 (Mon, 03 May 2010)
Log Message:
-----------
Remove declarations of disused members

Modified Paths:
--------------
    lmi/trunk/dbdict.hpp
    lmi/trunk/dbvalue.hpp

Modified: lmi/trunk/dbdict.hpp
===================================================================
--- lmi/trunk/dbdict.hpp        2010-05-02 17:06:17 UTC (rev 4894)
+++ lmi/trunk/dbdict.hpp        2010-05-03 11:34:49 UTC (rev 4895)
@@ -38,6 +38,8 @@
 typedef std::map<int, TDBValue> dict_map;
 typedef dict_map::value_type dict_map_val;
 
+/// Cached product database.
+
 class LMI_SO DBDictionary
     :private boost::noncopyable
     ,virtual private obstruct_slicing<DBDictionary>
@@ -55,7 +57,7 @@
     void WriteSampleDBFile();
     void WriteProprietaryDBFiles();
 
-    void InitAntediluvian(); // Antediluvian
+    void InitAntediluvian();
 
   private:
     DBDictionary();
@@ -69,10 +71,7 @@
 
     static std::string CachedFilename;
 
-    void AddEntry(dict_map_val const&); // Antediluvian
-
     dict_map dictionary_;
-    dict_map* dictionary; // Antediluvian
 };
 
 void LMI_SO print_databases();

Modified: lmi/trunk/dbvalue.hpp
===================================================================
--- lmi/trunk/dbvalue.hpp       2010-05-02 17:06:17 UTC (rev 4894)
+++ lmi/trunk/dbvalue.hpp       2010-05-03 11:34:49 UTC (rev 4895)
@@ -97,7 +97,6 @@
 
     double const* operator[](TDBIndex const& idx) const;
     double&       operator[](std::vector<int> const& idx);
-    double const* operator[](int const* idx) const; // Antediluvian
 
     int GetKey()            const;
     int GetNDims()          const; // Antediluvian: detect default-contructed 
objects.
@@ -124,10 +123,6 @@
     int                 key_;
     std::vector<int>    axis_lengths_;
     std::vector<double> data_values_;
-    int                 ndims_; // Antediluvian: number of dimensions
-    int*                dims_;  // Antediluvian: dimensions
-    int                 ndata_; // Antediluvian: number of data
-    double*             data_;  // Antediluvian: data
     std::string         gloss_;
 };
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]