1 /***********************************************************************/
2 /* Open Visualization Data Explorer                                    */
3 /* (C) Copyright IBM Corp. 1989,1999                                   */
4 /* ALL RIGHTS RESERVED                                                 */
5 /* This code licensed under the                                        */
6 /*    "IBM PUBLIC LICENSE - Open Visualization Data Explorer"          */
7 /***********************************************************************/
8 
9 #include <dxconfig.h>
10 #include "../base/defines.h"
11 
12 
13 #ifndef _ValueListDefinition_h
14 #define _ValueListDefinition_h
15 
16 #include "ValueDefinition.h"
17 
18 
19 //
20 // Class name definition:
21 //
22 #define ClassValueListDefinition	"ValueListDefinition"
23 
24 //
25 // Forward definitions
26 //
27 class ParameterDefinition;
28 class Interactor;
29 
30 //
31 // ValueListDefinition class definition:
32 //
33 class ValueListDefinition : public ValueDefinition
34 {
35   private:
36 
37   protected:
38     //
39     // Protected member data:
40     //
41 
42     //
43     // Allocate a new Node of the corresponding type.
44     //
45     virtual Node *newNode(Network *net, int instance = -1);
46 
47   public:
48     //
49     // Constructor:
50     //
ValueListDefinition()51     ValueListDefinition() { }
52 
53     //
54     // Destructor:
55     //
~ValueListDefinition()56     ~ValueListDefinition() { }
57 
58     //
59     // Allocate a new ValueListDefinition.
60     // This function is intended to be used as an allocator in
61     // theNDAllocatorDictionary.
62     //
63     static NodeDefinition *AllocateDefinition();
64 
65     //
66     // Returns a pointer to the class name.
67     //
getClassName()68     virtual const char* getClassName() { return ClassValueListDefinition; }
69 };
70 
71 
72 #endif // _ValueListDefinition_h
73