QMCPACK
UnaryNode< Op, Child > Class Template Reference
+ Collaboration diagram for UnaryNode< Op, Child >:

Public Member Functions

const Op & operation () const
 
DeReference< Child >::Return_t child () const
 
 UnaryNode (const Op &o, const Child &c)
 
 UnaryNode (const Child &c)
 
 UnaryNode (const UnaryNode< Op, Child > &t)
 
template<class OtherChild >
 UnaryNode (const UnaryNode< Op, OtherChild > &t)
 
template<class OtherChild , class Arg >
 UnaryNode (const UnaryNode< Op, OtherChild > &t, const Arg &a)
 
template<class OtherChild , class Arg1 , class Arg2 >
 UnaryNode (const UnaryNode< Op, OtherChild > &t, const Arg1 &a1, const Arg2 &a2)
 

Private Attributes

Op op_m
 
Child child_m
 

Detailed Description

template<class Op, class Child>
class qmcplusplus::UnaryNode< Op, Child >

Definition at line 127 of file TreeNodes.h.

Constructor & Destructor Documentation

◆ UnaryNode() [1/6]

UnaryNode ( const Op &  o,
const Child &  c 
)
inline

Definition at line 140 of file TreeNodes.h.

◆ UnaryNode() [2/6]

UnaryNode ( const Child &  c)
inline

Definition at line 145 of file TreeNodes.h.

145 : child_m(c) {}

◆ UnaryNode() [3/6]

UnaryNode ( const UnaryNode< Op, Child > &  t)
inline

Definition at line 150 of file TreeNodes.h.

150 : op_m(t.operation()), child_m(t.child()) {}

◆ UnaryNode() [4/6]

UnaryNode ( const UnaryNode< Op, OtherChild > &  t)
inline

Definition at line 158 of file TreeNodes.h.

158  : op_m(t.operation()), child_m(t.child())
159  {}

◆ UnaryNode() [5/6]

UnaryNode ( const UnaryNode< Op, OtherChild > &  t,
const Arg &  a 
)
inline

Definition at line 168 of file TreeNodes.h.

168  : op_m(t.operation()), child_m(t.child(), a)
169  {}

◆ UnaryNode() [6/6]

UnaryNode ( const UnaryNode< Op, OtherChild > &  t,
const Arg1 &  a1,
const Arg2 &  a2 
)
inline

Definition at line 178 of file TreeNodes.h.

179  : op_m(t.operation()), child_m(t.child(), a1, a2)
180  {}

Member Function Documentation

◆ child()

DeReference<Child>::Return_t child ( ) const
inline

◆ operation()

const Op& operation ( ) const
inline

Definition at line 133 of file TreeNodes.h.

References UnaryNode< Op, Child >::op_m.

Referenced by ForEach< UnaryNode< Op, A >, FTag, CTag >::apply().

133 { return op_m; }

Member Data Documentation

◆ child_m

Child child_m
private

Definition at line 184 of file TreeNodes.h.

Referenced by UnaryNode< Op, Child >::child().

◆ op_m

Op op_m
private

Definition at line 183 of file TreeNodes.h.

Referenced by UnaryNode< Op, Child >::operation().


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