// // See the file LICENSE for redistribution information. // // Copyright (c) 2002,2009 Oracle. All rights reserved. // // #ifndef __SETTYPEDVARIABLECOMMAND_HPP #define __SETTYPEDVARIABLECOMMAND_HPP #include "ShellCommand.hpp" class SetTypedVariableCommand : public ShellCommand { public: SetTypedVariableCommand() {}; virtual ~SetTypedVariableCommand() {}; virtual std::string getCommandName() const; virtual std::string getCommandNameCompat() const; virtual std::string getBriefHelp() const; virtual std::string getMoreHelp() const; virtual void execute(Args &args, Environment &env); private: static DbXml::XmlValue::Type getValueType(std::string type); }; #endif