@@ -770,33 +770,6 @@ namespace splash
770770 src_dataset.close ();
771771 }
772772
773- void ParallelDataCollector::createReference (int32_t srcID,
774- const char *srcName,
775- int32_t dstID,
776- const char *dstName,
777- Dimensions /* count*/ ,
778- Dimensions /* offset*/ ,
779- Dimensions /* stride*/ )
780- throw (DCException)
781- {
782- if (srcName == NULL || dstName == NULL )
783- throw DCException (getExceptionString (" createReference" , " a parameter was NULL" ));
784-
785- if (fileStatus == FST_CLOSED || fileStatus == FST_READING)
786- throw DCException (getExceptionString (" createReference" , " this access is not permitted" ));
787-
788- if (srcID != dstID)
789- throw DCException (getExceptionString (" createReference" ,
790- " source and destination ID must be identical" , NULL ));
791-
792- if (srcName == dstName)
793- throw DCException (getExceptionString (" createReference" ,
794- " a reference must not be identical to the referenced data" , srcName));
795-
796- throw DCException (getExceptionString (" createReference" ,
797- " feature currently not supported by Parallel HDF5" , NULL ));
798- }
799-
800773 /* ******************************************************************************
801774 * PROTECTED FUNCTIONS
802775 *******************************************************************************/
@@ -1139,4 +1112,56 @@ namespace splash
11391112 dataset.close ();
11401113 }
11411114
1115+ /* UNIMPLEMENTED METHODS FROM DATACOLLECTOR. TODO: Unify interface to remove those */
1116+ void ParallelDataCollector::readGlobalAttribute (const char *, void *, Dimensions*)
1117+ throw (DCException)
1118+ {
1119+ throw DCException (getExceptionString (" readGlobalAttribute" ,
1120+ " feature currently not supported by Parallel HDF5" ));
1121+ }
1122+
1123+ void ParallelDataCollector::writeGlobalAttribute (const CollectionType& /* type*/ ,
1124+ const char * /* name*/ , const void * /* data*/ ) throw (DCException)
1125+ {
1126+ throw DCException (getExceptionString (" readGlobalAttribute" ,
1127+ " feature currently not supported by Parallel HDF5" ));
1128+ }
1129+
1130+ void ParallelDataCollector::writeGlobalAttribute (const CollectionType& /* type*/ ,
1131+ const char * /* name*/ , uint32_t /* ndims*/ , const Dimensions /* dims*/ ,
1132+ const void * /* data*/ ) throw (DCException)
1133+ {
1134+ throw DCException (getExceptionString (" readGlobalAttribute" ,
1135+ " feature currently not supported by Parallel HDF5" ));
1136+ }
1137+
1138+ void ParallelDataCollector::append (int32_t /* id*/ , const CollectionType& /* type*/ ,
1139+ size_t /* count*/ , const char * /* name*/ , const void * /* data*/ )
1140+ throw (DCException)
1141+ {
1142+ throw DCException (getExceptionString (" readGlobalAttribute" ,
1143+ " feature currently not supported by Parallel HDF5" ));
1144+ }
1145+
1146+ void ParallelDataCollector::append (int32_t /* id*/ , const CollectionType& /* type*/ ,
1147+ size_t /* count*/ , size_t /* offset*/ , size_t /* stride*/ , const char * /* name*/ ,
1148+ const void * /* data*/ ) throw (DCException)
1149+ {
1150+ throw DCException (getExceptionString (" readGlobalAttribute" ,
1151+ " feature currently not supported by Parallel HDF5" ));
1152+ }
1153+
1154+ void ParallelDataCollector::createReference (int32_t /* srcID*/ ,
1155+ const char */*srcName*/,
1156+ int32_t /* dstID*/ ,
1157+ const char */*dstName*/,
1158+ Dimensions /* count*/ ,
1159+ Dimensions /* offset*/ ,
1160+ Dimensions /* stride*/ )
1161+ throw (DCException)
1162+ {
1163+ throw DCException (getExceptionString (" readGlobalAttribute" ,
1164+ " feature currently not supported by Parallel HDF5" ));
1165+ }
1166+
11421167}
0 commit comments