§
    ýÀôg2  ã                   ó:   — d dl mZ d dl mZ  G d„ de¦  «        ZdS )é   )Úencode)Únumber_typesc                   ó^   — e Zd ZdZdZd„ Zd„ Zd„ Zd„ Zd„ Z	d„ Z
d	„ Zd
„ Zd„ Zd„ Zd„ Zd„ ZdS )ÚTablezŒTable wraps a byte slice and provides read access to its data.

    The variable `Pos` indicates the root of the FlatBuffers object therein.)ÚBytesÚPosc                 ó`   — t          j        |t           j        ¦  «         || _        || _        d S )N)ÚNÚenforce_numberÚUOffsetTFlagsr   r   )ÚselfÚbufÚposs      úZ/var/www/html/bac/bac_backend/python/env/lib/python3.11/site-packages/flatbuffers/table.pyÚ__init__zTable.__init__   s)   € Ý	Ô˜�aœoÑ.Ô.Ð.àˆŒ
ØˆŒˆˆó    c                 óò   — | j         |                      t          j        | j         ¦  «        z
  }|                      t          j        |¦  «        }||k     r#|                      t          j        ||z   ¦  «        S dS )zwOffset provides access into the Table's vtable.

        Deprecated fields are ignored by checking the vtable's length.é    )r   ÚGetr
   ÚSOffsetTFlagsÚVOffsetTFlags)r   ÚvtableOffsetÚvtableÚ	vtableEnds       r   ÚOffsetzTable.Offset    sb   € ð
 ”˜DŸHšH¥Q¤_°d´hÑ?Ô?Ñ?ˆØ—H’H�Qœ_¨fÑ5Ô5ˆ	Ø˜)Ò#Ð#Ø—8’8�AœO¨V°lÑ-BÑCÔCÐCØˆqr   c                 óš   — t          j        |t           j        ¦  «         |t          j        t           j        j        | j        |¦  «        z   S )z:Indirect retrieves the relative offset stored at `offset`.)r
   r   r   r   r   Úpacker_typer   )r   Úoffs     r   ÚIndirectzTable.Indirect+   s7   € å	Ô˜�aœoÑ.Ô.Ð.Ø•V”Z¥¤Ô ;¸T¼ZÈÑMÔMÑMÐMr   c                 óT  — t          j        |t           j        ¦  «         |t          j        t           j        j        | j        |¦  «        z  }|t           j        j        z   }t          j        t           j        j        | j        |¦  «        }t          | j        |||z   …         ¦  «        S )z<String gets a string from data stored inside the flatbuffer.)	r
   r   r   r   r   r   r   Ú	bytewidthÚbytes)r   r   ÚstartÚlengths       r   ÚStringzTable.String0   s}   € å	Ô˜�aœoÑ.Ô.Ð.Ø�vŒz�!œ/Ô5°t´zÀ3ÑGÔGÑGˆØ•a”oÔ/Ñ/ˆÝ”�AœOÔ7¸¼ÀSÑIÔIˆÝ�T”Z  e¨F¡lÐ 2Ô3Ñ4Ô4Ð4r   c                 ó  — t          j        |t           j        ¦  «         || j        z  }|t	          j        t           j        j        | j        |¦  «        z  }t	          j        t           j        j        | j        |¦  «        }|S )zgVectorLen retrieves the length of the vector whose offset is stored
           at "off" in this object.)r
   r   r   r   r   r   r   r   )r   r   Úrets      r   Ú	VectorLenzTable.VectorLen8   sb   € õ 	
Ô˜�aœoÑ.Ô.Ð.àˆtŒx‰ˆØ�vŒz�!œ/Ô5°t´zÀ3ÑGÔGÑGˆÝŒj�œÔ4°d´jÀ#ÑFÔFˆØˆ
r   c                 óÆ   — t          j        |t           j        ¦  «         || j        z  }||                      t           j        |¦  «        z   }|t           j        j        z  }|S )zkVector retrieves the start of data of the vector whose offset is
           stored at "off" in this object.)r
   r   r   r   r   r!   )r   r   Úxs      r   ÚVectorzTable.VectorB   sR   € õ 	
Ô˜�aœoÑ.Ô.Ð.àˆtŒx‰ˆØ�$—(’(�1œ?¨CÑ0Ô0Ñ0ˆà	�QŒ_Ô&Ñ&ˆØˆr   c                 óð   — t          |¦  «        t          u sJ ‚t          j        |t          j        ¦  «         || j        z  }||                      t          j        |¦  «        z   |_        | j        |_        dS )z^Union initializes any Table-derived type to point to the union at
           the given offset.N)Útyper   r
   r   r   r   r   r   )r   Út2r   s      r   ÚUnionzTable.UnionM   sd   € õ �B‰xŒx�5Ð Ð Ð Ð Ý	Ô˜�aœoÑ.Ô.Ð.àˆtŒx‰ˆØ�t—x’x¥¤°Ñ5Ô5Ñ5ˆŒØ”:ˆŒˆˆr   c                 ó¦   — t          j        |t           j        ¦  «         |                     t	          j        |j        | j        |¦  «        ¦  «        S )zf
        Get retrieves a value of the type specified by `flags`  at the
        given offset.
        )r
   r   r   Úpy_typer   r   r   r   )r   Úflagsr   s      r   r   z	Table.GetW   s>   € õ
 	
Ô˜�aœoÑ.Ô.Ð.Ø�}Š}�VœZ¨Ô(9¸4¼:ÀsÑKÔKÑLÔLÐLr   c                 óä   — t          j        |t           j        ¦  «         |�t          j        ||¦  «         |                      |¦  «        }|dk    r|S |                      || j        |z   ¦  «        S )Nr   )r
   r   r   r   r   r   )r   ÚslotÚdÚvalidator_flagsr   s        r   ÚGetSlotzTable.GetSlot_   si   € Ý	Ô˜�qœÑ/Ô/Ð/ØÐ&ÝÔ˜Q Ñ0Ô0Ð0Ø�kŠk˜$ÑÔˆØ�!Š8ˆ8ØˆHØ�xŠx˜¨¬°C©Ñ8Ô8Ð8r   c                 ó¶   — |                       |¦  «        }|                      |¦  «        }t          j        |¦  «        }t	          j        || j        ||¦  «        S )zý
        GetVectorAsNumpy returns the vector that starts at `Vector(off)`
        as a numpy array with the type specified by `flags`. The array is
        a `view` into Bytes, so modifying the returned array will
        modify Bytes in place.
        )r+   r(   r
   Úto_numpy_typer   ÚGetVectorAsNumpyr   )r   r2   r   Úoffsetr$   Únumpy_dtypes         r   r:   zTable.GetVectorAsNumpyh   sN   € ð —’˜SÑ!Ô!ˆØ—’ Ñ$Ô$ˆÝ”o eÑ,Ô,ˆÝÔ& {°D´JÀÈÑOÔOÐOr   c                 ób   — t          j        |¦  «        }t          j        || j        ||¦  «        S )a  
        GetArrayAsNumpy returns the array with fixed width that starts at `Vector(offset)`
        with length `length` as a numpy array with the type specified by `flags`. The
        array is a `view` into Bytes so modifying the returned will modify Bytes in place.
        )r
   r9   r   r:   r   )r   r2   r   r$   r<   s        r   ÚGetArrayAsNumpyzTable.GetArrayAsNumpyt   s,   € õ ”o eÑ,Ô,ˆÝÔ& {°D´JÀÈÑLÔLÐLr   c                 ó¼   — t          j        |t           j        ¦  «         t          j        |t           j        ¦  «         |                      |¦  «        }|dk    r|S |S )z·
        GetVOffsetTSlot retrieves the VOffsetT that the given vtable location
        points to. If the vtable value is zero, the default value `d`
        will be returned.
        r   )r
   r   r   r   )r   r4   r5   r   s       r   ÚGetVOffsetTSlotzTable.GetVOffsetTSlot}   sR   € õ 	
Ô˜�qœÑ/Ô/Ð/Ý	Ô˜�AœOÑ,Ô,Ð,à�kŠk˜$ÑÔˆØ�!Š8ˆ8ØˆHØˆ
r   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__r   r   r   r%   r(   r+   r/   r   r7   r:   r>   r@   © r   r   r   r      sç   € € € € € ðPð Pð !€Iðð ð ð	ð 	ð 	ðNð Nð Nð
5ð 5ð 5ðð ð ð	ð 	ð 	ðð ð ðMð Mð Mð9ð 9ð 9ð
Pð 
Pð 
PðMð Mð Mðð ð ð ð r   r   N)Ú r   r   r
   Úobjectr   rF   r   r   ú<module>rI      si   ðð Ð Ð Ð Ð Ð Ø Ð Ð Ð Ð Ð ðwð wð wð wð wˆFñ wô wð wð wð wr   