示例#1
0
// Determines whether a dataspace is a simple dataspace.
// htri_t H5Sis_simple( hid_t space_id )
func (s *DataSpace) IsSimple() bool {
	o := int(C.H5Sis_simple(s.id))
	if o > 0 {
		return true
	}
	return false
}
示例#2
0
文件: h5s.go 项目: jonlawlor/go-hdf5
// IsSimple returns whether a dataspace is a simple dataspace.
func (s *Dataspace) IsSimple() bool {
	return int(C.H5Sis_simple(s.id)) > 0
}