COVISE Core
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
25namespace covise
26{
27
30{
31
32private:
35
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
52public:
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
#define APIEXPORT
Definition: coExport.h:275
GLsizei const GLfloat * value
Definition: khronos-glext.h:6760
GLsizei const GLchar ** path
Definition: khronos-glext.h:7952
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
Definition: khronos-glext.h:7723
GLuint const GLchar * name
Definition: khronos-glext.h:6722
GLenum type
Definition: khronos-glext.h:6279
list of all chemical elements
Definition: coConfig.h:27
std::enable_if< I==sizeof...(Tp), void >::type print(Stream &s, const std::tuple< Tp... > &t)
Definition: tokenbuffer_util.h:68
File browser parameter.
Definition: coFileBrowserParam.h:30
coFileBrowserParam()
Default constructor: NOT IMPLEMENTED.
coFileBrowserParam & operator=(const coFileBrowserParam &)
Assignment operator: NOT IMPLEMENTED.
string d_filter
Port data fields.
Definition: coFileBrowserParam.h:46
static coUifPara::Typeinfo s_paraType
my type info
Definition: coFileBrowserParam.h:43
static const char * s_type
Definition: coFileBrowserParam.h:50
coFileBrowserParam(const coFileBrowserParam &)
Copy-Constructor: NOT IMPLEMENTED.
string d_path
Definition: coFileBrowserParam.h:47
Definition: coUifPara.h:24
int Typeinfo
Definition: coUifPara.h:28