COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
coFileBrowserParam.h
Go to the documentation of this file.
1 /* This file is part of COVISE.
2 
3  You can use it under the terms of the GNU Lesser General Public License
4  version 2.1 or later, see lgpl-2.1.txt.
5 
6  * License: LGPL 2+ */
7 
8 #ifndef _CO_BROWSER_PARAM_H_
9 #define _CO_BROWSER_PARAM_H_
10 
11 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
12 // + +
13 // + coFileBrowserParam Parameter handling class +
14 // + +
15 // + Andreas Werner +
16 // + (C) Computing Center University of Stuttgart +
17 // + Allmandring 30a +
18 // + 70550 Stuttgart +
19 // + Date: 19.07.99 +
20 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
21 
22 #include "coUifPara.h"
23 #include <covise/covise.h>
24 
25 namespace covise
26 {
27 
30 {
31 
32 private:
35 
37  coFileBrowserParam &operator=(const coFileBrowserParam &);
38 
41 
44 
46  string d_filter;
47  string d_path; // only used for default setting
48 
49  // Parameter type name
50  static const char *s_type;
51 
52 public:
54  coFileBrowserParam(const char *name, const char *desc);
55 
57  virtual ~coFileBrowserParam();
58 
60  virtual int isOfType(coUifPara::Typeinfo type);
61 
63  static coUifPara::Typeinfo getType();
64 
66  virtual int paramChange();
67 
69  virtual void initialize();
70 
72  virtual void print(ostream &str) const;
73 
75  int setValue(const char *path, const char *value);
76 
78  const char *getValue() const;
79 
81  virtual const char *getTypeString() const;
82 
84  virtual const char *getValString() const;
85 
87  virtual void setValString(const char *str);
88 
90  virtual void setFilename(const char *fName);
91 
93  virtual void setFilter(const char *filter);
94 };
95 }
96 #endif
static const char * s_type
Definition: coFileBrowserParam.h:50
Definition: coUifPara.h:23
string d_path
Definition: coFileBrowserParam.h:47
GLuint const GLchar * name
Definition: khronos-glext.h:6722
static coUifPara::Typeinfo s_paraType
my type info
Definition: coFileBrowserParam.h:43
File browser parameter.
Definition: coFileBrowserParam.h:29
#define APIEXPORT
Definition: coExport.h:251
GLsizei const GLchar ** path
Definition: khronos-glext.h:7952
GLenum type
Definition: khronos-glext.h:6279
string d_filter
Port data fields.
Definition: coFileBrowserParam.h:46
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
Definition: khronos-glext.h:7723
int Typeinfo
Definition: coUifPara.h:28
GLsizei const GLfloat * value
Definition: khronos-glext.h:6760