CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
reco::parser::MethodInvoker Class Reference

#include <MethodInvoker.h>

Public Member Functions

edm::ObjectWithDict invoke (const edm::ObjectWithDict &obj, edm::ObjectWithDict &retstore) const
 
bool isFunction () const
 
edm::MemberWithDict const member () const
 
edm::FunctionWithDict const method () const
 
 MethodInvoker (const edm::FunctionWithDict &method, const std::vector< AnyMethodArgument > &ints=std::vector< AnyMethodArgument >())
 
 MethodInvoker (const edm::MemberWithDict &)
 
 MethodInvoker (const MethodInvoker &)
 
std::string methodName () const
 
MethodInvokeroperator= (const MethodInvoker &)
 
std::string returnTypeName () const
 

Private Member Functions

void setArgs ()
 

Private Attributes

std::vector< void * > args_
 
std::vector< AnyMethodArgumentints_
 
bool isFunction_
 
edm::MemberWithDict member_
 
edm::FunctionWithDict method_
 
edm::TypeWithDict retTypeFinal_
 

Detailed Description

Definition at line 31 of file MethodInvoker.h.

Constructor & Destructor Documentation

MethodInvoker::MethodInvoker ( const edm::FunctionWithDict method,
const std::vector< AnyMethodArgument > &  ints = std::vector<AnyMethodArgument>() 
)
explicit

Definition at line 14 of file MethodInvoker.cc.

MethodInvoker::MethodInvoker ( const edm::MemberWithDict member)
explicit

Definition at line 40 of file MethodInvoker.cc.

MethodInvoker::MethodInvoker ( const MethodInvoker rhs)

Definition at line 62 of file MethodInvoker.cc.

Member Function Documentation

edm::ObjectWithDict MethodInvoker::invoke ( const edm::ObjectWithDict obj,
edm::ObjectWithDict retstore 
) const

Invokes the method, putting the result in retval. Returns the Object that points to the result value, after removing any "*" and "&" Caller code is responsible for allocating retstore before calling 'invoke', and of deallocating it afterwards

Definition at line 119 of file MethodInvoker.cc.

bool reco::parser::MethodInvoker::isFunction ( ) const
inline

Definition at line 52 of file MethodInvoker.h.

References isFunction_.

52 { return isFunction_; }
edm::MemberWithDict const reco::parser::MethodInvoker::member ( ) const
inline

Definition at line 51 of file MethodInvoker.h.

References member_.

51 { return member_; }
edm::MemberWithDict member_
Definition: MethodInvoker.h:34
edm::FunctionWithDict const reco::parser::MethodInvoker::method ( ) const
inline

Definition at line 50 of file MethodInvoker.h.

References method_.

50 { return method_; }
edm::FunctionWithDict method_
Definition: MethodInvoker.h:33
std::string MethodInvoker::methodName ( ) const

Definition at line 99 of file MethodInvoker.cc.

MethodInvoker & MethodInvoker::operator= ( const MethodInvoker rhs)

Definition at line 74 of file MethodInvoker.cc.

std::string MethodInvoker::returnTypeName ( ) const

Definition at line 109 of file MethodInvoker.cc.

void MethodInvoker::setArgs ( )
private

Definition at line 90 of file MethodInvoker.cc.

Member Data Documentation

std::vector<void*> reco::parser::MethodInvoker::args_
private

Definition at line 36 of file MethodInvoker.h.

std::vector<AnyMethodArgument> reco::parser::MethodInvoker::ints_
private

Definition at line 35 of file MethodInvoker.h.

bool reco::parser::MethodInvoker::isFunction_
private

Definition at line 38 of file MethodInvoker.h.

Referenced by isFunction().

edm::MemberWithDict reco::parser::MethodInvoker::member_
private

Definition at line 34 of file MethodInvoker.h.

Referenced by member().

edm::FunctionWithDict reco::parser::MethodInvoker::method_
private

Definition at line 33 of file MethodInvoker.h.

Referenced by method().

edm::TypeWithDict reco::parser::MethodInvoker::retTypeFinal_
private

Definition at line 39 of file MethodInvoker.h.