microprobe.target.Definition

class Definition(filename: str, name: str, description: str)[source]

Bases: object

Class to represent a target element definition.

A target element definition could be the definition of the architecture, the microarchitecture or the environment. In all three cases a definition is composed by the definition name, the filename (where in the file system the definition is located) and the description.

__init__(filename: str, name: str, description: str)[source]

Create a Definition object.

Parameters:
  • filename (str) – Filename where the definition is placed

  • name (str) – Name of the definition

  • description (str) – Description of the definition

Returns:

Definition instance

Return type:

Definition

Methods

__init__(filename, name, description)

Create a Definition object.

Attributes

description

Description of the definition (str).

filename

Filename of the definition (str).

name

Name of the definition (str).




property description

Description of the definition (str).

property filename

Filename of the definition (str).

property name

Name of the definition (str).