/* -*- mode: c++ -*- 
*/
/* 

    GIFT, a flexible content based image retrieval system.
    Copyright (C) 1998, 1999, 2000 CUI, University of Geneva

    This program 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.

    This program 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 this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

*/
// -*- mode: c++ -*-
#ifndef _MRML
#define _MRML
/** this is supposed to contain constants like
    ios contains constants important for in-out-streams;
    presently it contains the names for all tags in the mrml
    dtd. The names are given in pseudo-germanic fashion
    with out any separation signs.

    The goal of this class is to make changes of 
    names easier and typesafer. Leaving the 
    normal GIFT naming scheme for variables
    is supposed to make things stand out better
    from the fest of the code.

    For documentation of the tags, please see the 
    documentation of the MRML DTD
*/
class mrml{
 public:
  /** the only elment which is not supposed to named
      as the element in the dtd: mrml::mrml would be 
      misinterpreted as a constructor*/
  static const char* mrmlTag;
  /** element */
  static const char* ihandshake;

  /** element */
  static const char* getConfiguration;
  /** element */
  static const char* configurationDescription;

  /** element */
  static const char* openSession;
  /** element */
  static const char* renameSession;
  /** element */
  static const char* deleteSession;
  /** element */
  static const char* sessionList;

  /** element */
  static const char* getCollections;
  /** element */
  static const char* collectionList;
  /** element */
  static const char* collection;

  /** element */
  static const char* getAlgorithms;

  /** element */
  static const char* algorithmList;
  /** element */
  static const char* algorithm;
  /** attribute */
  static const char* algorithmID;
  /** attribute */
  static const char* algorithmType;
  /** attribute */
  static const char* algorithmName;

  /** element */
  static const char* queryParadigm;
  /** element */
  static const char* queryParadigmList;
  /** attribute */
  static const char* queryParadigmID;

  /** element */
  static const char* getPropertySheet;
  /** element */
  static const char* propertySheet;

  /** element */
  static const char* configureSession;

  /** element */
  static const char* randomImages;

  /** element */
  static const char* queryStep;
  /** element */
  static const char* queryResult;
  /** attribute */
  static const char* queryStepID;
  /** attribute */
  static const char* queryType;
  /** attribute */
  static const char* resultCutoff;
  /** attribute */
  static const char* resultSize;

  /** element */
  static const char* beginTransaction;
  /** element */
  static const char* endTransaction;


  /** element */
  static const char* userRelevance;
  /** element */
  static const char* userRelevanceElement;
  /** element */
  static const char* userRelevanceElementList;
  /** element */
  static const char* userData;
  /** element */
  static const char* error;

 public:

  /** attribute */
  static const char* collectionID;
  /** attribute */
  static const char* collectionName;

  /** attribute */
  static const char* userName;
  /** attribute */
  static const char* sessionID;
  /** attribute */
  static const char* sessionName;

  
  /** attribute */
  static const char* transactionID;
  
  /** element */
  static const char* queryResultElementList;
  /** element */
  static const char* queryResultElement;
  /** attribute */
  static const char* calculatedSimilarity;
  /** attribute */
  static const char* thumbnailLocation;
  /** attribute */
  static const char* imageLocation;

  
  
};

#endif

Documentation generated by muellerw@pc7170 on Fre Sep 29 14:43:08 CEST 2000