def new(self):
        # type: () -> None
        '''
        A method to create a new UDF Implementation Use Volume Descriptor.

        Parameters:
         None:
        Returns:
         Nothing.
        '''
        if self._initialized:
            raise pycdlibexception.PyCdlibInternalError('UDF Implementation Use Volume Descriptor already initialized')

        self.desc_tag = UDFTag()
        self.desc_tag.new(4)  # FIXME: we should let the user set serial_number

        self.vol_desc_seqnum = 1

        self.impl_ident = UDFEntityID()
        self.impl_ident.new(0, b'*UDF LV Info', b'\x02\x01')

        self.impl_use = UDFImplementationUseVolumeDescriptorImplementationUse()
        self.impl_use.new()

        self._initialized = True
def new ( self ) : if self . _initialized : raise pycdlibexception . PyCdlibInternalError ( 'UDF Implementation Use Volume Descriptor already initialized' ) self . desc_tag = UDFTag ( ) self . desc_tag . new ( 4 ) self . vol_desc_seqnum = 1 self . impl_ident = UDFEntityID ( ) self . impl_ident . new ( 0 , b'*UDF LV Info' , b'\x02\x01' ) self . impl_use = UDFImplementationUseVolumeDescriptorImplementationUse ( ) self . impl_use . new ( ) self . _initialized = True
A method to create a new UDF Implementation Use Volume Descriptor.

        Parameters:
         None:
        Returns:
         Nothing.