FWParameterBase

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
#ifndef Fireworks_Core_FWParameterBase_h
#define Fireworks_Core_FWParameterBase_h
// -*- C++ -*-
//
// Package:     Core
// Class  :     FWParameterBase
//
/**\class FWParameterBase FWParameterBase.h Fireworks/Core/interface/FWParameterBase.h

   Description: <one line class summary>

   Usage:
    <usage>

 */
//
// Original Author:  Chris Jones
//         Created:  Sat Feb 23 13:35:15 EST 2008
//

// system include files
#include <string>

// user include files
#include "Fireworks/Core/interface/FWConfigurable.h"

// forward declarations
class FWConfiguration;
class FWParameterizable;

class FWParameterBase : public FWConfigurable {
public:
  FWParameterBase(FWParameterizable* iParent, const std::string& iName);
  ~FWParameterBase() override;

  // ---------- const member functions ---------------------

  //virtual void addTo(FWConfiguration& ) const = 0;
  const std::string& name() const { return m_name; }

  // ---------- static member functions --------------------

  // ---------- member functions ---------------------------
  //virtual void setFrom(const FWConfiguration&) = 0;

  FWParameterBase(const FWParameterBase&) = delete;                   // stop default
  const FWParameterBase& operator=(const FWParameterBase&) = delete;  // stop default
private:
  // ---------- member data --------------------------------

  std::string m_name;
};

#endif