QMCPACK
BinaryNode< Op, Left, Right > Class Template Reference
+ Collaboration diagram for BinaryNode< Op, Left, Right >:

Public Member Functions

const Op & operation () const
 
DeReference< Left >::Return_t left () const
 
DeReference< Right >::Return_t right () const
 
 BinaryNode (const Op &o, const Left &l, const Right &r)
 
 BinaryNode (const Left &l, const Right &r)
 
 BinaryNode (const BinaryNode< Op, Left, Right > &t)
 
template<class OtherLeft , class OtherRight >
 BinaryNode (const BinaryNode< Op, OtherLeft, OtherRight > &t)
 
template<class OtherLeft , class OtherRight , class Arg >
 BinaryNode (const BinaryNode< Op, OtherLeft, OtherRight > &t, const Arg &a)
 
template<class OtherLeft , class OtherRight , class Arg1 , class Arg2 >
 BinaryNode (const BinaryNode< Op, OtherLeft, OtherRight > &t, const Arg1 &a1, const Arg2 &a2)
 

Private Attributes

Op op_m
 
Left left_m
 
Right right_m
 

Detailed Description

template<class Op, class Left, class Right>
class qmcplusplus::BinaryNode< Op, Left, Right >

Definition at line 203 of file TreeNodes.h.

Constructor & Destructor Documentation

◆ BinaryNode() [1/6]

BinaryNode ( const Op &  o,
const Left &  l,
const Right &  r 
)
inline

Definition at line 218 of file TreeNodes.h.

◆ BinaryNode() [2/6]

BinaryNode ( const Left &  l,
const Right &  r 
)
inline

Definition at line 223 of file TreeNodes.h.

◆ BinaryNode() [3/6]

BinaryNode ( const BinaryNode< Op, Left, Right > &  t)
inline

Definition at line 228 of file TreeNodes.h.

228 : op_m(t.operation()), left_m(t.left()), right_m(t.right()) {}

◆ BinaryNode() [4/6]

BinaryNode ( const BinaryNode< Op, OtherLeft, OtherRight > &  t)
inline

Definition at line 236 of file TreeNodes.h.

237  : op_m(t.operation()), left_m(t.left()), right_m(t.right())
238  {}

◆ BinaryNode() [5/6]

BinaryNode ( const BinaryNode< Op, OtherLeft, OtherRight > &  t,
const Arg &  a 
)
inline

Definition at line 247 of file TreeNodes.h.

248  : op_m(t.operation()), left_m(t.left(), a), right_m(t.right(), a)
249  {}

◆ BinaryNode() [6/6]

BinaryNode ( const BinaryNode< Op, OtherLeft, OtherRight > &  t,
const Arg1 &  a1,
const Arg2 &  a2 
)
inline

Definition at line 258 of file TreeNodes.h.

259  : op_m(t.operation()), left_m(t.left(), a1, a2), right_m(t.right(), a1, a2)
260  {}

Member Function Documentation

◆ left()

DeReference<Left>::Return_t left ( ) const
inline

◆ operation()

const Op& operation ( ) const
inline

◆ right()

DeReference<Right>::Return_t right ( ) const
inline

Member Data Documentation

◆ left_m

Left left_m
private

Definition at line 268 of file TreeNodes.h.

Referenced by BinaryNode< Op, Left, Right >::left().

◆ op_m

Op op_m
private

Definition at line 267 of file TreeNodes.h.

Referenced by BinaryNode< Op, Left, Right >::operation().

◆ right_m

Right right_m
private

Definition at line 269 of file TreeNodes.h.

Referenced by BinaryNode< Op, Left, Right >::right().


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