group_name_allowed#
- static caput.memdata.MemDiskGroup.group_name_allowed(name)[source]#
Used by subclasses to restrict creation of and access to groups.
This method is called by
MemDiskGroup.create_group(),MemDiskGroup.require_group(), andMemDiskGroup.__getitem__()to check that the supplied group name is allowed.The idea is that subclasses that want to specialize and restrict the layout of the data container can implement this method instead of re-implementing the above mentioned methods.