CMS 3D CMS Logo

Public Member Functions | Private Attributes

edm::FunctionWithDict Class Reference

#include <FunctionWithDict.h>

List of all members.

Public Member Functions

Reflex::Type_Iterator begin () const
TypeWithDict declaringType () const
Reflex::Type_Iterator end () const
size_t functionParameterSize (bool required=false) const
 FunctionWithDict ()
 FunctionWithDict (Reflex::Member const &function)
void invoke (ObjectWithDict const &obj, ObjectWithDict *ret, std::vector< void * > const &values=std::vector< void * >()) const
bool isConst () const
bool isConstructor () const
bool isDestructor () const
bool isOperator () const
bool isPublic () const
bool isStatic () const
std::string name () const
 operator bool () const
TypeWithDict returnType () const
size_t size () const
std::string typeName () const
TypeWithDict typeOf () const

Private Attributes

Reflex::Member function_

Detailed Description

Definition at line 19 of file FunctionWithDict.h.


Constructor & Destructor Documentation

edm::FunctionWithDict::FunctionWithDict ( ) [inline]

Definition at line 21 of file FunctionWithDict.h.

: function_() {}
edm::FunctionWithDict::FunctionWithDict ( Reflex::Member const &  function) [inline, explicit]

Definition at line 23 of file FunctionWithDict.h.


Member Function Documentation

Reflex::Type_Iterator edm::FunctionWithDict::begin ( void  ) const

Definition at line 73 of file FunctionWithDict.cc.

References function_.

Referenced by PhysicsTools::Calibration::MVAComputer::addProcessor().

                                {
    return function_.TypeOf().FunctionParameter_Begin();
  }
TypeWithDict edm::FunctionWithDict::declaringType ( ) const

Definition at line 29 of file FunctionWithDict.cc.

References function_.

Referenced by reco::checkMethod().

                                        {
    return (TypeWithDict(function_.DeclaringType()));
  }
Reflex::Type_Iterator edm::FunctionWithDict::end ( void  ) const

Definition at line 78 of file FunctionWithDict.cc.

References function_.

                              {
    return function_.TypeOf().FunctionParameter_End();
  }
size_t edm::FunctionWithDict::functionParameterSize ( bool  required = false) const

Definition at line 63 of file FunctionWithDict.cc.

References function_.

Referenced by PhysicsTools::Calibration::MVAComputer::addProcessor(), reco::checkMethod(), size(), and FWTableViewManager::tableFormats().

                                                             {
    return function_.FunctionParameterSize(required);
  }
void edm::FunctionWithDict::invoke ( ObjectWithDict const &  obj,
ObjectWithDict ret,
std::vector< void * > const &  values = std::vector<void*>() 
) const

Definition at line 68 of file FunctionWithDict.cc.

References function_, and edm::ObjectWithDict::object_.

Referenced by reco::parser::MethodInvoker::invoke().

                                                                                                               {
    function_.Invoke(obj.object_, &ret->object_, values);
  }
bool edm::FunctionWithDict::isConst ( ) const

Definition at line 34 of file FunctionWithDict.cc.

References function_.

Referenced by FWTableViewManager::tableFormats().

                                  {
    return function_.IsConst();
  }
bool edm::FunctionWithDict::isConstructor ( ) const
bool edm::FunctionWithDict::isDestructor ( ) const

Definition at line 44 of file FunctionWithDict.cc.

References function_.

Referenced by reco::checkMethod(), and fireworks::OptionNode::fillOptionForType().

                                       {
    return function_.IsDestructor();
  }
bool edm::FunctionWithDict::isOperator ( ) const

Definition at line 49 of file FunctionWithDict.cc.

References function_.

Referenced by fireworks::OptionNode::fillOptionForType().

                                     {
    return function_.IsOperator();
  }
bool edm::FunctionWithDict::isPublic ( ) const

Definition at line 54 of file FunctionWithDict.cc.

References function_.

Referenced by reco::checkMethod(), fireworks::OptionNode::fillOptionForType(), and FWTableViewManager::tableFormats().

                                   {
    return function_.IsPublic();
  }
bool edm::FunctionWithDict::isStatic ( ) const

Definition at line 58 of file FunctionWithDict.cc.

References function_.

Referenced by reco::checkMethod().

                                        {
    return function_.IsStatic();
  }
std::string edm::FunctionWithDict::name ( void  ) const
edm::FunctionWithDict::operator bool ( ) const [explicit]

Definition at line 82 of file FunctionWithDict.cc.

References function_.

                                        {
    return bool(function_);
  }
TypeWithDict edm::FunctionWithDict::returnType ( ) const

Definition at line 24 of file FunctionWithDict.cc.

References function_.

Referenced by reco::parser::MethodInvoker::invoke(), reco::returnType(), and FWTableViewManager::tableFormats().

                                     {
    return (TypeWithDict(function_.TypeOf().ReturnType()));
  }
size_t edm::FunctionWithDict::size ( void  ) const [inline]

Definition at line 53 of file FunctionWithDict.h.

References functionParameterSize().

                        {
      return functionParameterSize();
    }
std::string edm::FunctionWithDict::typeName ( ) const

Definition at line 16 of file FunctionWithDict.cc.

References function_.

{return function_.TypeOf().Name();}
TypeWithDict edm::FunctionWithDict::typeOf ( ) const

Member Data Documentation

Reflex::Member edm::FunctionWithDict::function_ [private]