g4tools  5.4.0
Public Member Functions | Public Attributes | List of all members
tools::get_funcs Class Reference
Inheritance diagram for tools::get_funcs:
Inheritance graph
[legend]
Collaboration diagram for tools::get_funcs:
Collaboration graph
[legend]

Public Member Functions

virtual bool binary (unsigned int, const valop &a_1, const valop &a_2)
 
virtual bool unary (unsigned int, const valop &a_1)
 
virtual bool variable (unsigned int, const value &)
 
virtual bool option (const valop &)
 
virtual bool func_1 (const valop &a_node, const valop &a_1)
 
virtual bool func_2 (const valop &a_node, const valop &a_1, const valop &a_2)
 
virtual bool func_3 (const valop &a_node, const valop &a_1, const valop &a_2, const valop &a_3)
 
virtual bool func_4 (const valop &a_node, const valop &a_1, const valop &a_2, const valop &a_3, const valop &a_4)
 
virtual bool func_5 (const valop &a_node, const valop &a_1, const valop &a_2, const valop &a_3, const valop &a_4, const valop &a_5)
 
virtual bool func_6 (const valop &a_node, const valop &a_1, const valop &a_2, const valop &a_3, const valop &a_4, const valop &a_5, const valop &a_6)
 
 get_funcs ()
 
virtual ~get_funcs ()
 
 get_funcs (const get_funcs &a_from)
 
get_funcsoperator= (const get_funcs &)
 
- Public Member Functions inherited from tools::valop_visitor
virtual ~valop_visitor ()
 
bool visit (const valop &a_valop)
 

Public Attributes

std::vector< valop * > m_nodes
 

Detailed Description

Definition at line 726 of file valop.

Constructor & Destructor Documentation

◆ get_funcs() [1/2]

tools::get_funcs::get_funcs ( )
inline

Definition at line 794 of file valop.

794 {}

◆ ~get_funcs()

virtual tools::get_funcs::~get_funcs ( )
inlinevirtual

Definition at line 795 of file valop.

795 {}

◆ get_funcs() [2/2]

tools::get_funcs::get_funcs ( const get_funcs a_from)
inline

Definition at line 797 of file valop.

797 :valop_visitor(a_from){}

Member Function Documentation

◆ binary()

virtual bool tools::get_funcs::binary ( unsigned int  ,
const valop a_1,
const valop a_2 
)
inlinevirtual

Implements tools::valop_visitor.

Definition at line 728 of file valop.

728  {
729  if(!visit(a_1)) return false;
730  if(!visit(a_2)) return false;
731  return true; //continue searching
732  }

◆ func_1()

virtual bool tools::get_funcs::func_1 ( const valop a_node,
const valop a_1 
)
inlinevirtual

Implements tools::valop_visitor.

Definition at line 742 of file valop.

742  {
743  m_nodes.push_back((valop*)&a_node);
744  if(!visit(a_1)) return false;
745  return true;
746  }

◆ func_2()

virtual bool tools::get_funcs::func_2 ( const valop a_node,
const valop a_1,
const valop a_2 
)
inlinevirtual

Implements tools::valop_visitor.

Definition at line 748 of file valop.

748  {
749  m_nodes.push_back((valop*)&a_node);
750  if(!visit(a_1)) return false;
751  if(!visit(a_2)) return false;
752  return true;
753  }

◆ func_3()

virtual bool tools::get_funcs::func_3 ( const valop a_node,
const valop a_1,
const valop a_2,
const valop a_3 
)
inlinevirtual

Implements tools::valop_visitor.

Definition at line 754 of file valop.

755  {
756  m_nodes.push_back((valop*)&a_node);
757  if(!visit(a_1)) return false;
758  if(!visit(a_2)) return false;
759  if(!visit(a_3)) return false;
760  return true;
761  }

◆ func_4()

virtual bool tools::get_funcs::func_4 ( const valop a_node,
const valop a_1,
const valop a_2,
const valop a_3,
const valop a_4 
)
inlinevirtual

Implements tools::valop_visitor.

Definition at line 762 of file valop.

763  {
764  m_nodes.push_back((valop*)&a_node);
765  if(!visit(a_1)) return false;
766  if(!visit(a_2)) return false;
767  if(!visit(a_3)) return false;
768  if(!visit(a_4)) return false;
769  return true;
770  }

◆ func_5()

virtual bool tools::get_funcs::func_5 ( const valop a_node,
const valop a_1,
const valop a_2,
const valop a_3,
const valop a_4,
const valop a_5 
)
inlinevirtual

Implements tools::valop_visitor.

Definition at line 771 of file valop.

772  {
773  m_nodes.push_back((valop*)&a_node);
774  if(!visit(a_1)) return false;
775  if(!visit(a_2)) return false;
776  if(!visit(a_3)) return false;
777  if(!visit(a_4)) return false;
778  if(!visit(a_5)) return false;
779  return true;
780  }

◆ func_6()

virtual bool tools::get_funcs::func_6 ( const valop a_node,
const valop a_1,
const valop a_2,
const valop a_3,
const valop a_4,
const valop a_5,
const valop a_6 
)
inlinevirtual

Implements tools::valop_visitor.

Definition at line 781 of file valop.

783  {
784  m_nodes.push_back((valop*)&a_node);
785  if(!visit(a_1)) return false;
786  if(!visit(a_2)) return false;
787  if(!visit(a_3)) return false;
788  if(!visit(a_4)) return false;
789  if(!visit(a_5)) return false;
790  if(!visit(a_6)) return false;
791  return true;
792  }

◆ operator=()

get_funcs& tools::get_funcs::operator= ( const get_funcs )
inline

Definition at line 798 of file valop.

798 {return *this;}

◆ option()

virtual bool tools::get_funcs::option ( const valop )
inlinevirtual

Implements tools::valop_visitor.

Definition at line 740 of file valop.

740 {return true;}

◆ unary()

virtual bool tools::get_funcs::unary ( unsigned int  ,
const valop a_1 
)
inlinevirtual

Implements tools::valop_visitor.

Definition at line 734 of file valop.

734  {
735  if(!visit(a_1)) return false;
736  return true;
737  }

◆ variable()

virtual bool tools::get_funcs::variable ( unsigned int  ,
const value  
)
inlinevirtual

Implements tools::valop_visitor.

Definition at line 739 of file valop.

739 {return true;}

Member Data Documentation

◆ m_nodes

std::vector<valop*> tools::get_funcs::m_nodes

Definition at line 800 of file valop.


The documentation for this class was generated from the following file:
tools::valop_visitor::visit
bool visit(const valop &a_valop)
Definition: valop:419
tools::get_funcs::m_nodes
std::vector< valop * > m_nodes
Definition: valop:800