~ubuntu-branches/ubuntu/raring/openwalnut/raring

« back to all changes in this revision

Viewing changes to src/core/dataHandler/WDataSet.h

  • Committer: Package Import Robot
  • Author(s): Sebastian Eichelbaum
  • Date: 2012-12-12 11:26:32 UTC
  • mfrom: (3.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20121212112632-xhiuwkxuz5h0idkh
Tags: 1.3.1+hg5849-1
* Minor changes compared to 1.3.0 but included several bug fixes.
* See http://www.openwalnut.org/versions/4

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
#include "../common/WProperties.h"
37
37
#include "../common/WTransferable.h"
38
38
#include "WDataTexture3D.h"
39
 
#include "WExportDataHandler.h"
 
39
 
40
40
 
41
41
class WCondition;
42
42
class WDataSetVector;
48
48
 * steps) respectively.
49
49
 * \ingroup dataHandler
50
50
 */
51
 
class OWDATAHANDLER_EXPORT WDataSet: public WTransferable, public boost::enable_shared_from_this< WDataSet > // NOLINT
 
51
class WDataSet: public WTransferable, public boost::enable_shared_from_this< WDataSet > // NOLINT
52
52
{
53
53
public:
54
54
    /**
55
55
     * This constructor should be used if a dataSet does not stem from a file.
56
 
     * It presets the its correpsonding fileName as empty string.
 
56
     * It presets the correpsonding filename as empty string.
57
57
     */
58
58
    WDataSet();
59
59
 
67
67
 
68
68
    /**
69
69
     * Set the name of the file that this data set stems from.
70
 
     * \param fileName the string representing the name
71
 
     */
72
 
    void setFileName( const std::string fileName );
73
 
 
74
 
    /**
75
 
     * Get the name of the file that this data set stems from.
76
 
     *
77
 
     * \return the filename.
78
 
     */
79
 
    std::string getFileName() const;
 
70
     *
 
71
     * \param filename the string representing the name
 
72
     */
 
73
    void setFilename( const std::string filename );
 
74
 
 
75
    /**
 
76
     * Get the name of the file that this data set stems from.
 
77
     *
 
78
     * \return the filename.
 
79
     */
 
80
    std::string getFilename() const;
 
81
 
 
82
    /**
 
83
     * Set the name of the file that this data set stems from.
 
84
     *
 
85
     * \param filename the string representing the name
 
86
     *
 
87
     * \deprecated use setFilename instead
 
88
     */
 
89
    OW_API_DEPRECATED void setFileName( const std::string filename );
 
90
 
 
91
    /**
 
92
     * Get the name of the file that this data set stems from.
 
93
     *
 
94
     * \deprecated use getFilename instead
 
95
     * \return the filename.
 
96
     */
 
97
    OW_API_DEPRECATED std::string getFileName() const;
80
98
 
81
99
    /**
82
100
     * Determines whether this dataset can be used as a texture.
137
155
    boost::shared_ptr< WProperties > getInformationProperties() const;
138
156
 
139
157
protected:
140
 
 
141
158
    /**
142
159
     * The prototype as singleton.
143
160
     */
161
178
     * may allow hollowing data sets later. DataSets that were not loaded
162
179
     * from a file should have the empty string stored here.
163
180
     */
164
 
    std::string m_fileName;
 
181
    std::string m_filename;
165
182
};
166
183
 
167
184
#endif  // WDATASET_H