NordicComment

This module contains all class information related to Nordic Comment header.

Functions and Classes

class NordicComment(header=None)

A class that functions as a collection of enums. Contains the information of the comment header line of a nordic file.

Parameters:

header (list) – The header of a nordic comment in a list where each index of a value corresponds to NordicComment’s pseudo-enum.

Variables:
  • h_comment (str) – Comment. Maximum of 78 characters
  • pid (str) – Persistent id of the solution to which this nordic Data is related to
  • h_id (int) – Id of the comment header in the database.
  • header_type (int) – This value tells that this is a NordicComment object. Value of 3
  • H_COMMENT (int) – Location of the h_comment in a array. Value of 0
  • PID (int) – Location of the pid in a array. Value of 1
  • H_ID (int) – Location of the h_id in a array. Value of 2