OpenQuizz
Une application de gestion des contenus pédagogiques
OPackInfo Class Reference
Inheritance diagram for OPackInfo:
Collaboration diagram for OPackInfo:

Public Member Functions

def __new__ (cls, packoffset, type, size)
 
def __init__ (self, *args)
 
def pack_offset (self)
 
def type (self)
 
def type_id (self)
 
def size (self)
 

Detailed Description

As OInfo, but provides a type_id property to retrieve the numerical type id, and
does not include a sha.

Additionally, the pack_offset is the absolute offset into the packfile at which
all object information is located. The data_offset property points to the absolute
location in the pack at which that actual data stream can be found.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
args 
)

Member Function Documentation

◆ __new__()

def __new__ (   cls,
  packoffset,
  type,
  size 
)

◆ pack_offset()

def pack_offset (   self)

◆ size()

def size (   self)

◆ type()

def type (   self)

◆ type_id()

def type_id (   self)

The documentation for this class was generated from the following file: