TAU_MAPPING_OBJECT(3) TAU Mapping API TAU_MAPPING_OBJECT(3)NAME
TAU_MAPPING_OBJECT - Declares a mapping object
SYNOPSIS
C/C++:
TAU_MAPPING_OBJECT(FunctionInfo FuncIdVar);
DESCRIPTION
To create storage for an identifier associated with a higher level statement that is mapped using TAU_MAPPING, we use the
TAU_MAPPING_OBJECT macro. For example, in the TAU_MAPPING example, the array expressions are created into objects of a class
ExpressionKernel, and each statement is an object that is an instance of this class. To embed the identity of the statement we store the
mapping object in a data field in this class. This is shown below:
EXAMPLE
C/C++ :
template<class LHS,class Op,class RHS,class EvalTag>
class ExpressionKernel : public Pooma::Iterate_t {
public:
typedef ExpressionKernel<LHS,Op,RHS,EvalTag> This_t;
//
// Construct from an Expr.
// Build the kernel that will evaluate the expression on the
// given domain.
// Acquire locks on the data referred to by the expression.
//
ExpressionKernel(const LHS&,const Op&,const RHS&,
Pooma::Scheduler_t&);
virtual ~ExpressionKernel();
// Do the loop.
virtual void run();
private:
// The expression we will evaluate.
LHS lhs_m;
Op op_m;
RHS rhs_m;
TAU_MAPPING_OBJECT(TauMapFI)
};
SEE ALSO TAU_MAPPING_CREATE(3), TAU_MAPPING_LINK(3), TAU_MAPPING_PROFILE(3)
08/31/2005 TAU_MAPPING_OBJECT(3)
Check Out this Related Man Page
RDF::Query::Algebra::Minus(3pm) User Contributed Perl Documentation RDF::Query::Algebra::Minus(3pm)NAME
RDF::Query::Algebra::Minus - Algebra class for Minus patterns
VERSION
This document describes RDF::Query::Algebra::Minus version 2.908.
METHODS
Beyond the methods documented below, this class inherits methods from the RDF::Query::Algebra class.
"new ( $pattern, $opt_pattern )"
Returns a new Minus structure.
"construct_args"
Returns a list of arguments that, passed to this class' constructor, will produce a clone of this algebra pattern.
"pattern"
Returns the base pattern (LHS) onto which the minus pattern matches.
"minus"
Returns the minus pattern (RHS).
"sse"
Returns the SSE string for this algebra expression.
"as_sparql"
Returns the SPARQL string for this algebra expression.
"as_hash"
Returns the query as a nested set of plain data structures (no objects).
"type"
Returns the type of this algebra expression.
"referenced_variables"
Returns a list of the variable names used in this algebra expression.
"potentially_bound"
Returns a list of the variable names used in this algebra expression that will bind values during execution.
"definite_variables"
Returns a list of the variable names that will be bound after evaluating this algebra expression.
AUTHOR
Gregory Todd Williams <gwilliams@cpan.org>
perl v5.14.2 2012-01-31 RDF::Query::Algebra::Minus(3pm)
1. The problem statement, all variables and given/known data:
I have a retake assignment to complete for my computer networks and OS class. This isn't really my area, had I known last year I could have swapped it for a different module I would have done so. I'm determined to get through it... (6 Replies)
for shell operators like <, >, <<, and >> do the LHS always have to be a process or device and the RHS a file or device?
Is it possible for the RHS to be a process? (1 Reply)
Good afternoon,
I am tearing hair out over this. It should be so simple. I have an if statement to evaluate whether or not replication is working. I am testing variables from mysql to see if they are both "Yes". I have put some echo statements in to see how far the code proceeds. It always... (6 Replies)
I have the two class definition as follows.
class A { public: int a; };
class B : virtual public A{ };
The size of class A is shown as 4, and size of class B is shown as 16. Why is this effect ?. (2 Replies)
I am trying to write a simple function to select values from a database and assign them to variables. It can have any number of arguments sent into it, and I want to assign the value retrieved to a different variable name for each argument sent in. So my code looks something like this:
... (6 Replies)