OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, arch) |
def | target_cpu (self) |
def | target_is_x86 (self) |
def | current_is_x86 (self) |
def | current_dir (self, hidex86=False, x64=False) |
def | target_dir (self, hidex86=False, x64=False) |
def | cross_dir (self, forcex86=False) |
Data Fields | |
arch | |
target_cpu | |
Static Public Attributes | |
current_cpu | |
Current and Target Architectures information. Parameters ---------- arch: str Target architecture.
def __init__ | ( | self, | |
arch | |||
) |
def cross_dir | ( | self, | |
forcex86 = False |
|||
) |
Cross platform specific subfolder. Parameters ---------- forcex86: bool Use 'x86' as current architecture even if current architecture is not x86. Return ------ str subfolder: '' if target architecture is current architecture, '\current_target' if not.
def current_dir | ( | self, | |
hidex86 = False , |
|||
x64 = False |
|||
) |
Current platform specific subfolder. Parameters ---------- hidex86: bool return '' and not '\x86' if architecture is x86. x64: bool return '\x64' and not '\amd64' if architecture is amd64. Return ------ str subfolder: '\target', or '' (see hidex86 parameter)
def current_is_x86 | ( | self | ) |
Return True if current CPU is x86 32 bits.. Return ------ bool CPU is x86 32 bits
def target_cpu | ( | self | ) |
Return Target CPU architecture. Return ------ str Target CPU
def target_dir | ( | self, | |
hidex86 = False , |
|||
x64 = False |
|||
) |
Target platform specific subfolder. Parameters ---------- hidex86: bool return '' and not '\x86' if architecture is x86. x64: bool return '\x64' and not '\amd64' if architecture is amd64. Return ------ str subfolder: '\current', or '' (see hidex86 parameter)
def target_is_x86 | ( | self | ) |
Return True if target CPU is x86 32 bits.. Return ------ bool CPU is x86 32 bits
arch |
|
static |
target_cpu |