16#ifndef __LEGION_ARGUMENT_MAP_H__
17#define __LEGION_ARGUMENT_MAP_H__
44 : args(
const_cast<void*
>(arg)), arglen(argsize)
49 : args(rhs.args), arglen(rhs.arglen)
52 inline size_t get_size(
void)
const {
return arglen; }
53 inline void* get_ptr(
void)
const {
return args; }
57 return (args == arg.args) && (arglen == arg.arglen);
61 return (args < arg.args) && (arglen < arg.arglen);
104 inline bool operator==(
const ArgumentMap& rhs)
const
106 return (impl == rhs.impl);
108 inline bool operator<(
const ArgumentMap& rhs)
const
110 return (impl < rhs.impl);
112 inline bool exists(
void)
const {
return (impl !=
nullptr); }
128 bool replace =
true);
160 template<
typename PT,
unsigned DIM>
162 const PT point[DIM],
const UntypedBuffer& arg,
bool replace =
false);
168 template<
typename PT,
unsigned DIM>
171 FRIEND_ALL_RUNTIME_CLASSES
172 Internal::ArgumentMapImpl* impl;
174 explicit ArgumentMap(Internal::ArgumentMapImpl* i);
179#include "legion/api/argument_map.inl"
Definition argument_map.h:93
void set_point(const DomainPoint &point, const UntypedBuffer &arg, bool replace=true)
bool remove_point(const DomainPoint &point)
bool remove_point(const PT point[DIM])
bool has_point(const DomainPoint &point)
void set_point_arg(const PT point[DIM], const UntypedBuffer &arg, bool replace=false)
void set_point(const DomainPoint &point, const Future &f, bool replace=true)
UntypedBuffer get_point(const DomainPoint &point) const
Definition future_map.h:41
Definition argument_map.h:40
Definition accessors.h:29