From 9f0389c398ca7e5878789d865078a5e0f7c827bb Mon Sep 17 00:00:00 2001 From: florent <florent@laas.fr> Date: Sat, 25 Dec 2010 22:15:28 +0100 Subject: [PATCH] Cosmetic changes * src/dynamic-command.h, * src/dynamic.cpp: fix indentation. --- src/dynamic-command.h | 18 +++++++++--------- src/dynamic.cpp | 3 +-- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/src/dynamic-command.h b/src/dynamic-command.h index e676c3b..102c37c 100644 --- a/src/dynamic-command.h +++ b/src/dynamic-command.h @@ -40,8 +40,8 @@ namespace sot { /// \param entity instance of Entity owning this command /// \param docstring documentation of the command SetFiles(Dynamic& entity, const std::string& docstring) : - Command(entity, boost::assign::list_of(Value::STRING) - (Value::STRING)(Value::STRING)(Value::STRING), docstring) + Command(entity, boost::assign::list_of(Value::STRING) + (Value::STRING)(Value::STRING)(Value::STRING), docstring) { } virtual Value doExecute() @@ -70,7 +70,7 @@ namespace sot { /// \param entity instance of Entity owning this command /// \param docstring documentation of the command Parse(Dynamic& entity, const std::string& docstring) : - Command(entity, std::vector<Value::Type>(), docstring) + Command(entity, std::vector<Value::Type>(), docstring) { } virtual Value doExecute() @@ -92,8 +92,8 @@ namespace sot { /// \param entity instance of Entity owning this command /// \param docstring documentation of the command CreateOpPoint(Dynamic& entity, const std::string& docstring) : - Command(entity, boost::assign::list_of(Value::STRING)(Value::STRING), - docstring) + Command(entity, boost::assign::list_of(Value::STRING)(Value::STRING), + docstring) { } virtual Value doExecute() @@ -139,8 +139,8 @@ namespace sot { /// \param entity instance of Entity owning this command /// \param docstring documentation of the command SetProperty(Dynamic& entity, const std::string& docstring) : - Command(entity, boost::assign::list_of(Value::STRING)(Value::STRING), - docstring) + Command(entity, boost::assign::list_of(Value::STRING)(Value::STRING), + docstring) { } virtual Value doExecute() @@ -164,8 +164,8 @@ namespace sot { /// \param entity instance of Entity owning this command /// \param docstring documentation of the command GetProperty(Dynamic& entity, const std::string& docstring) : - Command(entity, boost::assign::list_of(Value::STRING), - docstring) + Command(entity, boost::assign::list_of(Value::STRING), + docstring) { } virtual Value doExecute() diff --git a/src/dynamic.cpp b/src/dynamic.cpp index d1e73ee..932ea64 100644 --- a/src/dynamic.cpp +++ b/src/dynamic.cpp @@ -152,8 +152,7 @@ Dynamic( const std::string & name, bool build ) " - a string: name the joint, among (gaze, left-ankle, right ankle\n" " , left-wrist, right-wrist, waist, chest).\n" "\n"; - addCommand("createOpPoint", - new command::CreateOpPoint(*this, docstring)); + addCommand("createOpPoint", new command::CreateOpPoint(*this, docstring)); // SetProperty docstring = " \n" -- GitLab