C++ main module for gpm Package  1.0
MATH_ExpressionTest.h
Go to the documentation of this file.
1 #ifndef MATH_ExpressionTest_H
2 #define MATH_ExpressionTest_H
3 
4 #include "CORE_Object.h"
5 
14 class MATH_ExpressionTest : public virtual CORE_Object {
15 
16  SP_OBJECT(MATH_ExpressionTest);
17  // ATTRIBUTES
18 
19 public:
20  static const tFlag ALL;
21  static const tFlag ATOMIC;
22  static const tFlag UNARY;
23  static const tFlag BINARY;
24  static const tFlag BITWISE;
25  static const tFlag FUNCTION;
26  static const tFlag SET;
27  static const tFlag YWIRES;
28  static const tFlag E10;
29  static const tFlag POINT;
30  static const tFlag PARABLE;
31 
32 
33 protected:
34  // METHODS
35 
36  // CONSTRUCTORS
37 
40  MATH_ExpressionTest(void);
41 
42 
43 
44  // DESTRUCTORS
45 
46 
49  virtual ~MATH_ExpressionTest(void);
50 
51 
52 
53 public:
56  inline static SP::MATH_ExpressionTest New() {
57  SP::MATH_ExpressionTest p(new MATH_ExpressionTest(),MATH_ExpressionTest::Delete());
58  p->setThis(p);
59  return p;
60  };
61 
62 
66  return test(ALL);
67  }
70  tBoolean test(const tFlag& testNumber);
71 
72 private:
73  //tString searchPath(const tString& fileName) const;
74  tBoolean atomicTest() const;
75  tBoolean unaryTest() const;
76  tBoolean binaryTest() const;
77  tBoolean bitwiseTest() const;
78  tBoolean functionTest() const;
79  tBoolean setTest() const;
80  tBoolean ywiresTest() const;
81  tBoolean parableTest() const;
82  tBoolean eTest() const;
83  tBoolean pointTest() const;
84 };
85 
86 #endif
static const tFlag PARABLE
Definition: MATH_ExpressionTest.h:30
static SP::MATH_ExpressionTest New()
create a test class
Definition: MATH_ExpressionTest.h:56
static const tFlag BITWISE
Definition: MATH_ExpressionTest.h:24
static const tFlag E10
Definition: MATH_ExpressionTest.h:28
#define tBoolean
Definition: types.h:35
virtual ~MATH_ExpressionTest(void)
destroy
Definition: MATH_ExpressionTest.cpp:22
MATH_ExpressionTest(void)
create
Definition: MATH_ExpressionTest.cpp:18
static const tFlag ATOMIC
Definition: MATH_ExpressionTest.h:21
static const tFlag BINARY
Definition: MATH_ExpressionTest.h:23
static const tFlag POINT
Definition: MATH_ExpressionTest.h:29
static const tFlag SET
Definition: MATH_ExpressionTest.h:26
abstract base class for most classes.
Definition: CORE_Object.h:30
DEFINE_SPTR(MATH_ExpressionTest)
static const tFlag FUNCTION
Definition: MATH_ExpressionTest.h:25
static const tFlag ALL
Definition: MATH_ExpressionTest.h:20
static const tFlag YWIRES
Definition: MATH_ExpressionTest.h:27
This class is a test class for MATH_Expression package.
Definition: MATH_ExpressionTest.h:14
tBoolean test()
make the test
Definition: MATH_ExpressionTest.h:65
static const tFlag UNARY
Definition: MATH_ExpressionTest.h:22
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106
#define tFlag
Definition: types.h:14