]> git.mxchange.org Git - simgear.git/commitdiff
Removed commented-out dead code.
authordavid <david>
Fri, 22 Mar 2002 13:18:49 +0000 (13:18 +0000)
committerdavid <david>
Fri, 22 Mar 2002 13:18:49 +0000 (13:18 +0000)
simgear/misc/commands.cxx
simgear/misc/commands.hxx

index a4669f35eb8cc7b6019998bbf8299a04755e3b8e..0b471651590d20068d376b46b35987e69fd81f67 100644 (file)
@@ -91,74 +91,4 @@ SGCommandMgr::execute (const string &name, const SGPropertyNode * arg,
     return (*command)(arg, state);
 }
 
     return (*command)(arg, state);
 }
 
-
-// bool
-// SGCommandMgr::execute (const string &name) const
-// {
-//                             // FIXME
-//   SGPropertyNode node;
-//   return execute(name, &node);
-// }
-
-
-// bool
-// SGCommandMgr::execute (const string &name, bool value) const
-// {
-//                             // FIXME
-//   SGPropertyNode node;
-//   node.setBoolValue(value);
-//   return execute(name, &node);
-// }
-
-
-// bool
-// SGCommandMgr::execute (const string &name, int value) const
-// {
-//                             // FIXME
-//   SGPropertyNode node;
-//   node.setIntValue(value);
-//   return execute(name, &node);
-// }
-
-
-// bool
-// SGCommandMgr::execute (const string &name, long value) const
-// {
-//                             // FIXME
-//   SGPropertyNode node;
-//   node.setLongValue(value);
-//   return execute(name, &node);
-// }
-
-
-// bool
-// SGCommandMgr::execute (const string &name, float value) const
-// {
-//                             // FIXME
-//   SGPropertyNode node;
-//   node.setFloatValue(value);
-//   return execute(name, &node);
-// }
-
-
-// bool
-// SGCommandMgr::execute (const string &name, double value) const
-// {
-//                             // FIXME
-//   SGPropertyNode node;
-//   node.setDoubleValue(value);
-//   return execute(name, &node);
-// }
-
-
-// bool
-// SGCommandMgr::execute (const string &name, string value) const
-// {
-//                             // FIXME
-//   SGPropertyNode node;
-//   node.setStringValue(value);
-//   return execute(name, &node);
-// }
-
-
 // end of commands.cxx
 // end of commands.cxx
index 288f82553e7443b34170d474b075c52ab19887ca..392120b2dc5e082239391e7ff731bad3c11182cd 100644 (file)
@@ -150,104 +150,6 @@ public:
                        const SGPropertyNode * arg,
                        SGCommandState ** state) const;
 
                        const SGPropertyNode * arg,
                        SGCommandState ** state) const;
 
-
-//   /**
-//    * Execute a command with no argument.
-//    *
-//    * The command function will receive a pointer to a property node
-//    * with no value and no children.
-//    *
-//    * @param name The name of the command.
-//    * @return true if the command is present and executes successfully,
-//    * false otherwise.
-//    */
-//   virtual bool execute (const string &name) const;
-
-
-//   /**
-//    * Execute a command with a single bool argument.
-//    *
-//    * The command function will receive a pointer to a property node
-//    * with a bool value and no children.
-//    *
-//    * @param name The name of the command.
-//    * @param arg The bool argument to the command.
-//    * @return true if the command is present and executes successfully,
-//    * false otherwise.
-//    */
-//   virtual bool execute (const string &name, bool arg) const;
-
-
-//   /**
-//    * Execute a command with a single int argument.
-//    *
-//    * The command function will receive a pointer to a property node
-//    * with a int value and no children.
-//    *
-//    * @param name The name of the command.
-//    * @param arg The int argument to the command.
-//    * @return true if the command is present and executes successfully,
-//    * false otherwise.
-//    */
-//   virtual bool execute (const string &name, int arg) const;
-
-
-//   /**
-//    * Execute a command with a single long argument.
-//    *
-//    * The command function will receive a pointer to a property node
-//    * with a long value and no children.
-//    *
-//    * @param name The name of the command.
-//    * @param arg The long argument to the command.
-//    * @return true if the command is present and executes successfully,
-//    * false otherwise.
-//    */
-//   virtual bool execute (const string &name, long arg) const;
-
-
-//   /**
-//    * Execute a command with a single float argument.
-//    *
-//    * The command function will receive a pointer to a property node
-//    * with a float value and no children.
-//    *
-//    * @param name The name of the command.
-//    * @param arg The float argument to the command.
-//    * @return true if the command is present and executes successfully,
-//    * false otherwise.
-//    */
-//   virtual bool execute (const string &name, float arg) const;
-
-
-//   /**
-//    * Execute a command with a single double argument.
-//    *
-//    * The command function will receive a pointer to a property node
-//    * with a double value and no children.
-//    *
-//    * @param name The name of the command.
-//    * @param arg The double argument to the command.
-//    * @return true if the command is present and executes successfully,
-//    * false otherwise.
-//    */
-//   virtual bool execute (const string &name, double arg) const;
-
-
-//   /**
-//    * Execute a command with a single string argument.
-//    *
-//    * The command function will receive a pointer to a property node
-//    * with a string value and no children.
-//    *
-//    * @param name The name of the command.
-//    * @param arg The string argument to the command.
-//    * @return true if the command is present and executes successfully,
-//    * false otherwise.
-//    */
-//   virtual bool execute (const string &name, string arg) const;
-
-
 private:
 
   typedef map<string,command_t> command_map;
 private:
 
   typedef map<string,command_t> command_map;