/*
 * Project: MoleCuilder
 * Description: creates and alters molecular systems
 * Copyright (C)  2010-2012 University of Bonn. All rights reserved.
 * 
 *
 *   This file is part of MoleCuilder.
 *
 *    MoleCuilder is free software: you can redistribute it and/or modify
 *    it under the terms of the GNU General Public License as published by
 *    the Free Software Foundation, either version 2 of the License, or
 *    (at your option) any later version.
 *
 *    MoleCuilder is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *    GNU General Public License for more details.
 *
 *    You should have received a copy of the GNU General Public License
 *    along with MoleCuilder.  If not, see .
 */
/*
 * CommandLineDialog.cpp
 *
 *  Created on: May 8, 2010
 *      Author: heber
 */
// include config.h
#ifdef HAVE_CONFIG_H
#include 
#endif
#include "CodePatterns/MemDebug.hpp"
#include "CommandLineUI/CommandLineDialog.hpp"
#include "CommandLineUI/Query/CommandLineQuery.hpp"
using namespace std;
CommandLineDialog::CommandLineDialog(const std::string &_title) :
    Dialog(_title)
{
}
CommandLineDialog::~CommandLineDialog()
{
}
void CommandLineDialog::queryEmpty(const std::string title, const std::string description){
  registerQuery(new EmptyCommandLineQuery(title, description));
}
void CommandLineDialog::queryInt(Parameter ¶m, const std::string title, const std::string description){
  registerQuery(new IntCommandLineQuery(param, title, description));
}
void CommandLineDialog::queryInts(Parameter > ¶m, const std::string title, const std::string description){
  registerQuery(new IntsCommandLineQuery(param, title, description));
}
void CommandLineDialog::queryUnsignedInt(Parameter ¶m, const std::string title, const std::string description){
  registerQuery(new UnsignedIntCommandLineQuery(param, title, description));
}
void CommandLineDialog::queryUnsignedInts(Parameter > ¶m, const std::string title, const std::string description){
  registerQuery(new UnsignedIntsCommandLineQuery(param, title, description));
}
void CommandLineDialog::queryBoolean(Parameter ¶m, const std::string title, const std::string description){
  registerQuery(new BooleanCommandLineQuery(param, title, description));
}
void CommandLineDialog::queryDouble(Parameter ¶m, const std::string title, const std::string description){
  registerQuery(new DoubleCommandLineQuery(param, title, description));
}
void CommandLineDialog::queryDoubles(Parameter > ¶m, const std::string title, const std::string description){
  registerQuery(new DoublesCommandLineQuery(param, title, description));
}
void CommandLineDialog::queryString(Parameter ¶m, const std::string title, const std::string description){
  registerQuery(new StringCommandLineQuery(param, title, description));
}
void CommandLineDialog::queryStrings(Parameter > ¶m, const std::string title, const std::string description){
  registerQuery(new StringsCommandLineQuery(param, title, description));
}
void CommandLineDialog::queryAtom(Parameter ¶m, const std::string title, const std::string description) {
  registerQuery(new AtomCommandLineQuery(param, title, description));
}
void CommandLineDialog::queryAtoms(Parameter > ¶m, const std::string title, const std::string description) {
  registerQuery(new AtomsCommandLineQuery(param, title, description));
}
void CommandLineDialog::queryMolecule(Parameter ¶m, const std::string title, const std::string description) {
  registerQuery(new MoleculeCommandLineQuery(param, title, description));
}
void CommandLineDialog::queryMolecules(Parameter > ¶m, const std::string title, const std::string description) {
  registerQuery(new MoleculesCommandLineQuery(param, title, description));
}
void CommandLineDialog::queryVector(Parameter ¶m, const std::string title, const std::string description) {
  registerQuery(new VectorCommandLineQuery(param, title, description));
}
void CommandLineDialog::queryVectors(Parameter > ¶m, const std::string title, const std::string description) {
  registerQuery(new VectorsCommandLineQuery(param, title, description));
}
void CommandLineDialog::queryRealSpaceMatrix(Parameter ¶m, const std::string title, const std::string description) {
  registerQuery(new RealSpaceMatrixCommandLineQuery(param, title,description));
}
void CommandLineDialog::queryElement(Parameter ¶m, const std::string title, const std::string description){
  registerQuery(new ElementCommandLineQuery(param, title, description));
}
void CommandLineDialog::queryElements(Parameter > ¶m, const std::string title, const std::string description){
  registerQuery(new ElementsCommandLineQuery(param, title, description));
}
void CommandLineDialog::queryFile(Parameter ¶m, const std::string title, const std::string description){
  registerQuery(new FileCommandLineQuery(param, title, description));
}
void CommandLineDialog::queryFiles(Parameter > ¶m, const std::string title, const std::string description){
  registerQuery(new FilesCommandLineQuery(param, title, description));
}
void CommandLineDialog::queryKeyValuePair(Parameter ¶m, const std::string title, const std::string description)
{
  registerQuery(new KeyValuePairCommandLineQuery(param, title,description));
}
void CommandLineDialog::queryKeyValuePairs(Parameter< std::vector > ¶m, const std::string title, const std::string description)
{
  registerQuery(new KeyValuePairsCommandLineQuery(param, title,description));
}
/************************** Query Infrastructure ************************/
/*       ---> shifted to folder Query                                   */
/************************************************************************/