// -*- C++ -*-
-/* This file is part of
-* ======================================================
-*
-* LyX, The Document Processor
-*
-* Copyright 1995 Matthias Ettrich
-* Copyright 1995-2000 the LyX Team.
-*
-* ====================================================== */
+/**
+ * \file Variables.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Lars Gullik Bjønnes
+ * \author Jean-Marc Lasgouttes
+ *
+ * Full author contact details are available in file CREDITS.
+ */
#ifndef VARIABLES_H
#define VARIABLES_H
-#ifdef __GNUG__
-#pragma interface
-#endif
-
#include "LString.h"
#include <map>
///
class Variables {
public:
- ///
- void set(string const &, string const &);
- ///
- string get(string const &) const;
- ///
- bool isset(string const & var) const;
- ///
- string expand(string const &) const;
+ ///
+ void set(string const &, string const &);
+ ///
+ string const get(string const &) const;
+ ///
+ bool isSet(string const & var) const;
+ ///
+ string const expand(string const &) const;
private:
- ///
- typedef std::map<string, string> Vars;
- ///
- Vars vars_;
+ ///
+ typedef std::map<string, string> Vars;
+ ///
+ Vars vars_;
};
#endif