00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 #ifndef _H5DSCreatPropList_H
00018 #define _H5DSCreatPropList_H
00019 
00020 #ifndef H5_NO_NAMESPACE
00021 namespace H5 {
00022 #endif
00023 
00024 class H5_DLLCPP DSetCreatPropList : public PropList {
00025    public:
00026         
00027         static const DSetCreatPropList DEFAULT;
00028 
00029         
00030         DSetCreatPropList();
00031 
00032         
00033         
00034         bool allFiltersAvail();
00035 
00036         
00037         H5D_alloc_time_t getAllocTime();
00038 
00039         
00040         void setAllocTime(H5D_alloc_time_t alloc_time);
00041 
00042         
00043         int getChunk( int max_ndims, hsize_t* dim ) const;
00044 
00045         
00046         void setChunk( int ndims, const hsize_t* dim ) const;
00047 
00048         
00049         void getExternal( unsigned idx, size_t name_size, char* name, off_t& offset, hsize_t& size ) const;
00050 
00051         
00052         int getExternalCount() const;
00053 
00054         
00055         H5D_fill_time_t getFillTime();
00056 
00057         
00058         void setFillTime(H5D_fill_time_t fill_time);
00059 
00060         
00061         void getFillValue( const DataType& fvalue_type, void* value ) const;
00062 
00063         
00064         void setFillValue( const DataType& fvalue_type, const void* value ) const;
00065 
00066         
00067         H5Z_filter_t getFilter(int filter_number, unsigned int& flags, size_t& cd_nelmts, unsigned int* cd_values, size_t namelen, char name[], unsigned int &filter_config) const;
00068 
00069         
00070         void getFilterById(H5Z_filter_t filter_id, unsigned int &flags, size_t &cd_nelmts, unsigned int* cd_values, size_t namelen, char name[], unsigned int &filter_config) const;
00071 
00072         
00073         
00074         H5D_layout_t getLayout() const;
00075 
00076         
00077         
00078         void setLayout(H5D_layout_t layout) const;
00079 
00080         
00081         int getNfilters() const;
00082 
00083         
00084         H5D_fill_value_t isFillValueDefined();
00085 
00086         
00087         void modifyFilter( H5Z_filter_t filter_id, unsigned int flags, size_t cd_nelmts, const unsigned int cd_values[] ) const;
00088 
00089         
00090         void removeFilter( H5Z_filter_t filter_id) const;
00091 
00092         
00093         void setDeflate( int level ) const;
00094 
00095         
00096         void setExternal( const char* name, off_t offset, hsize_t size ) const;
00097 
00098         
00099         void setFilter( H5Z_filter_t filter, unsigned int flags = 0, size_t cd_nelmts = 0, const unsigned int cd_values[] = NULL) const;
00100 
00101         
00102         void setFletcher32() const;
00103 
00104         
00105         void setShuffle() const;
00106 
00107         
00108         void setSzip(unsigned int options_mask, unsigned int pixels_per_block) const;
00109 
00111         virtual H5std_string fromClass () const { return("DSetCreatPropList"); }
00112 
00113         
00114         DSetCreatPropList(const DSetCreatPropList& orig);
00115 
00116         
00117         
00118         DSetCreatPropList(const hid_t plist_id);
00119 
00120         
00121         virtual ~DSetCreatPropList();
00122 };
00123 #ifndef H5_NO_NAMESPACE
00124 }
00125 #endif
00126 #endif