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

Public Types

typedef bool(* func) (std::ostream &, bool)
 
typedef bool(* func2) (std::ostream &, const args &)
 
typedef bool(* func3) (std::ostream &, int, char **)
 
typedef bool(* cfunc) (FILE *, bool)
 

Public Member Functions

 test ()
 
 test (bool a_do_it, func a_func)
 
 test (bool a_do_it, func2 a_func)
 
 test (bool a_do_it, func3 a_func)
 
 test (bool a_do_it, cfunc a_func)
 
virtual ~test ()
 
 test (const test &a_from)
 
testoperator= (const test &a_from)
 

Public Attributes

bool m_do_it
 
func m_func
 
func2 m_func2
 
func3 m_func3
 
cfunc m_cfunc
 

Detailed Description

Definition at line 12 of file utest.

Member Typedef Documentation

◆ cfunc

typedef bool(* tools::test::cfunc) (FILE *, bool)

Definition at line 18 of file utest.

◆ func

typedef bool(* tools::test::func) (std::ostream &, bool)

Definition at line 14 of file utest.

◆ func2

typedef bool(* tools::test::func2) (std::ostream &, const args &)

Definition at line 15 of file utest.

◆ func3

typedef bool(* tools::test::func3) (std::ostream &, int, char **)

Definition at line 16 of file utest.

Constructor & Destructor Documentation

◆ test() [1/6]

tools::test::test ( )
inline

Definition at line 20 of file utest.

20 :m_do_it(false),m_func(0),m_func2(0),m_func3(0),m_cfunc(0){}

◆ test() [2/6]

tools::test::test ( bool  a_do_it,
func  a_func 
)
inline

Definition at line 21 of file utest.

21 :m_do_it(a_do_it),m_func(a_func),m_func2(0),m_func3(0),m_cfunc(0){}

◆ test() [3/6]

tools::test::test ( bool  a_do_it,
func2  a_func 
)
inline

Definition at line 22 of file utest.

22 :m_do_it(a_do_it),m_func(0),m_func2(a_func),m_func3(0),m_cfunc(0){}

◆ test() [4/6]

tools::test::test ( bool  a_do_it,
func3  a_func 
)
inline

Definition at line 23 of file utest.

23 :m_do_it(a_do_it),m_func(0),m_func2(0),m_func3(a_func),m_cfunc(0){}

◆ test() [5/6]

tools::test::test ( bool  a_do_it,
cfunc  a_func 
)
inline

Definition at line 24 of file utest.

24 :m_do_it(a_do_it),m_func(0),m_func2(0),m_func3(0),m_cfunc(a_func){}

◆ ~test()

virtual tools::test::~test ( )
inlinevirtual

Definition at line 25 of file utest.

25 {}

◆ test() [6/6]

tools::test::test ( const test a_from)
inline

Definition at line 27 of file utest.

28  :m_do_it(a_from.m_do_it)
29  ,m_func(a_from.m_func),m_func2(a_from.m_func2),m_func3(a_from.m_func3),m_cfunc(a_from.m_cfunc){}

Member Function Documentation

◆ operator=()

test& tools::test::operator= ( const test a_from)
inline

Definition at line 30 of file utest.

30  {
31  m_do_it = a_from.m_do_it;
32  m_func = a_from.m_func;
33  m_func2 = a_from.m_func2;
34  m_func3 = a_from.m_func3;
35  m_cfunc = a_from.m_cfunc;
36  return *this;
37  }

Member Data Documentation

◆ m_cfunc

cfunc tools::test::m_cfunc

Definition at line 43 of file utest.

◆ m_do_it

bool tools::test::m_do_it

Definition at line 39 of file utest.

◆ m_func

func tools::test::m_func

Definition at line 40 of file utest.

◆ m_func2

func2 tools::test::m_func2

Definition at line 41 of file utest.

◆ m_func3

func3 tools::test::m_func3

Definition at line 42 of file utest.


The documentation for this class was generated from the following file:
tools::test::m_func3
func3 m_func3
Definition: utest:42
tools::test::m_func2
func2 m_func2
Definition: utest:41
tools::test::m_func
func m_func
Definition: utest:40
tools::test::m_do_it
bool m_do_it
Definition: utest:39
tools::test::m_cfunc
cfunc m_cfunc
Definition: utest:43