From 51a55f017ed291b32246bf8f079c4416ec5277fc Mon Sep 17 00:00:00 2001
From: Francois Keith <keith@lirmm.fr>
Date: Fri, 24 Jan 2014 23:36:16 +0100
Subject: [PATCH] Add the display method for normalization purposes.

This allows to do 'print solver' in the python interface.
The 'dispTask' method is kept for transition purpose.
---
 src/stack-template.t.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/stack-template.t.cpp b/src/stack-template.t.cpp
index 50d8687..e68b3d4 100644
--- a/src/stack-template.t.cpp
+++ b/src/stack-template.t.cpp
@@ -256,6 +256,9 @@ namespace dynamicgraph
     addCommand("dispStack",						\
 	       makeCommandVerbose(*this,&stack_t::display,		\
 				  docCommandVerbose("Guess what?")));	\
+    addCommand("display",						\
+	       makeCommandVerbose(*this,&stack_t::display,		\
+				  docCommandVerbose("display the list of tasks pushed inside the stack.")));\
     addCommand("up",							\
 	       makeCommandVoid1(*this,					\
 				(void (EntityClassName::*)(const std::string&))	\
-- 
GitLab