FWSimpleRepresentationChecker

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 55
#ifndef Fireworks_Core_FWSimpleRepresentationChecker_h
#define Fireworks_Core_FWSimpleRepresentationChecker_h
// -*- C++ -*-
//
// Package:     Core
// Class  :     FWSimpleRepresentationChecker
//
/**\class FWSimpleRepresentationChecker FWSimpleRepresentationChecker.h Fireworks/Core/interface/FWSimpleRepresentationChecker.h

   Description: Used to check to see if a Simple proxy builder could be used to represent a particular type

   Usage:
    <usage>

 */
//
// Original Author:  Chris Jones
//         Created:  Tue Nov 25 10:54:22 EST 2008
//

// system include files
#include "FWCore/Reflection/interface/TypeWithDict.h"

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

// forward declarations

class FWSimpleRepresentationChecker : public FWRepresentationCheckerBase {
public:
  FWSimpleRepresentationChecker(const std::string& iTypeidName,
                                const std::string& iPurpose,
                                unsigned int iBitPackedViews,
                                bool iRepresentsSubPart,
                                bool iRequiresFF = false);
  ~FWSimpleRepresentationChecker() override;

  // ---------- const member functions ---------------------
  FWRepresentationInfo infoFor(const std::string& iTypeName) const override;

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

  // ---------- member functions ---------------------------
  static bool inheritsFrom(const edm::TypeWithDict& iChild, const std::string& iParentTypeName, unsigned int& distance);

  FWSimpleRepresentationChecker(const FWSimpleRepresentationChecker&) = delete;  // stop default

  const FWSimpleRepresentationChecker& operator=(const FWSimpleRepresentationChecker&) = delete;  // stop default

private:
  // ---------- member data --------------------------------
  const std::string m_typeidName;
};

#endif