[Lemon-commits] Alpar Juttner: Remove LgfContents.is*()

Lemon HG hg at lemon.cs.elte.hu
Fri Jun 20 12:16:20 CEST 2008


details:   http://lemon.cs.elte.hu/hg/lemon/rev/4b9ab1324c3b
changeset: 180:4b9ab1324c3b
user:      Alpar Juttner <alpar [at] cs.elte.hu>
date:      Wed Jun 18 12:59:07 2008 +0100
description:
	Remove LgfContents.is*()

diffstat:

1 file changed, 14 deletions(-)
lemon/lgf_reader.h |   14 --------------

diffs (31 lines):

diff -r 289266783a0b -r 4b9ab1324c3b lemon/lgf_reader.h
--- a/lemon/lgf_reader.h	Wed Jun 18 12:39:20 2008 +0100
+++ b/lemon/lgf_reader.h	Wed Jun 18 12:59:07 2008 +0100
@@ -2221,13 +2221,6 @@
       return _edge_maps[i];
     }
 
-    /// \brief Returns true when the section type is \c "@arcs".
-    ///
-    /// Returns true when the section type is \c "@arcs", and not "@edges".
-    bool isArcSection(int i) const {
-      return _arc_sections[i];
-    }
-
     /// @}
 
     /// \name Edge sections   
@@ -2252,13 +2245,6 @@
     /// Gives back the edge maps for the given section.
     const std::vector<std::string>& edgeMaps(int i) const {
       return _edge_maps[i];
-    }
-
-    /// \brief Returns true when the section type is \c "@edges".
-    ///
-    /// Returns true when the section type is \c "@edges", and not "@arcs".
-    bool isEdgeSection(int i) const {
-      return !_arc_sections[i];
     }
 
     /// @}



More information about the Lemon-commits mailing list