HLCC Documentation 3.0.0
Loading...
Searching...
No Matches
utils Directory Reference

Directories

 cpp
 
 cpp-pybindings
 
 python
 

Files

 wscript
 

Detailed Description

Since: 2025-02 (ETCS-1599)

This package contains utilities implemented in C++, and bound to Python, thereby decreasing redundancy, and keeping their behaviour in-sync in both languages.

Overlap with other modules

There were 2 other util packages already existing:

The 2nd one was merged with this new utility (python code moved to here), the 1st one could in the future be integrated into this one, with or without pybindings.

Usage:

Python

wscript (Example)

from wtools.module import declare_pypackage
declare_pypackage(target='hlcc', use="... common.utils.python ...")

Code (Example)

import hlcc.utils.maldds

C++

wscript (Example)

from wtools.module import declare_cprogram
declare_cprogram(target='telmon', use='... common.utils.cpp ...')

Code (Example)

#include <hlcc/utils/maldds/malPropertiesFactory.hpp>