SourceForge.net Logo

eval::detail::object_method_store Class Reference

Stores methods (static and non-static) for an object. More...

#include <execution_context.hpp>

Collaboration diagram for eval::detail::object_method_store:

Collaboration graph
[legend]

List of all members.

Public Types

typedef std::multimap
< std::string, fwrap >
::const_iterator 
const_method_it_t
typedef std::multimap
< std::string, fwrap >
::iterator 
method_it_t

Public Member Functions

 object_method_store (const std::string &obj_name)
std::string get_obj_name () const
void add_method (const std::string &method_name, const fwrap &m)
std::pair< const_method_it_t,
const_method_it_t
get_methods (const std::string &method_name) const
void add_static_method (const std::string &static_method_name, const fwrap &m)
std::pair< const_method_it_t,
const_method_it_t
get_static_methods (const std::string &method_name) const
void delete_methods (const std::string &method_name)
 deletes static and non-static methods

Private Attributes

std::string _obj_name
std::multimap< std::string, fwrap_methods
std::multimap< std::string, fwrap_static_methods


Detailed Description

Stores methods (static and non-static) for an object.

Member Typedef Documentation

typedef std::multimap<std::string, fwrap>::const_iterator eval::detail::object_method_store::const_method_it_t

typedef std::multimap<std::string, fwrap>::iterator eval::detail::object_method_store::method_it_t


Constructor & Destructor Documentation

eval::detail::object_method_store::object_method_store ( const std::string &  obj_name  )  [inline]


Member Function Documentation

std::string eval::detail::object_method_store::get_obj_name (  )  const [inline]

void eval::detail::object_method_store::add_method ( const std::string &  method_name,
const fwrap m 
) [inline]

std::pair<const_method_it_t, const_method_it_t> eval::detail::object_method_store::get_methods ( const std::string &  method_name  )  const [inline]

void eval::detail::object_method_store::add_static_method ( const std::string &  static_method_name,
const fwrap m 
) [inline]

std::pair<const_method_it_t, const_method_it_t> eval::detail::object_method_store::get_static_methods ( const std::string &  method_name  )  const [inline]

void eval::detail::object_method_store::delete_methods ( const std::string &  method_name  )  [inline]

deletes static and non-static methods


Member Data Documentation

std::multimap<std::string, fwrap> eval::detail::object_method_store::_methods [private]

std::multimap<std::string, fwrap> eval::detail::object_method_store::_static_methods [private]


The documentation for this class was generated from the following file:

Generated on Sat Sep 20 20:02:34 2008 for eval by  doxygen 1.5.6