cscm.CmdArgumentConf

class cscm.CmdArgumentConf

Bases: object

A configuration file. Store objects of this class in a CmdArgument.

Methods

__init__() Initializer.
get_abi_key() Get the ABI key.
get_compiler_name() Get the compiler name.
get_conf_file_path([omit_prj_path, …]) Get the configuration file path.
get_language() Get the language.
get_lowercase_language_string() Get the language as a lower case string.
get_pointer_width() Get the pointer width.
get_project_path() Get the full path to the CodeSonar project.
__init__(cname, lang, pw, abi_key, project_path)

Initializer.

Parameters:
  • cname (str) –
  • lang (language value) –
  • pw (int) –
  • abi_key (str) –
  • project_path (str) –
__init__()

Default initializer.

get_abi_key()

Get the ABI key.

Return type: str
get_compiler_name()

Get the compiler name.

Return type: str
get_conf_file_path(omit_prj_path=False, omit_abi_key=False, compiler_name_override=)

Get the configuration file path.

Parameters:
  • omit_prj_path (bool) –
  • omit_abi_key (bool) –
  • compiler_name_override (str) –
Return type:

str

get_language()

Get the language.

Return type: language value
get_lowercase_language_string()

Get the language as a lower case string.

Return type: str
get_pointer_width()

Get the pointer width.

Return type: int
get_project_path()

Get the full path to the CodeSonar project.

Return type: str