aidesys
Basic system C/C++ interface routines to ease multi-language middleware integration
Presentation
This factory encapsulates basic system interface.
-
Functionalities includes:
- Standard
std
functions for code string formatting and debugging :aidesys::echo
To format a string à-lasprintf
saidesys::alert
To verify an assertion and send a warning or a fatal error with trace.aidesys::argv
To get program line arguments.aidesys::system
To execute commands at the OS level.
- Simple files
file
interface:aidesys::readDir
To returns the contents of a directoryaidesys::getFileTime
andaidesys::exists
To get the last file modification time and check if a file exists.aidesys::load
andaidesys::save
To load/save textual files.
- Time
time
management:aidesys::sleep
To introduce a delay.aidesys::now
To measure the real or CPU relative or absolute time.aidesys::nowISO
To get the present date and time in a standard format.
- Regular expression (regex) and string manipulation:
aidesys::regexMatch
andaidesys::regexReplace
To match and replace strings.aidesys::regexIndexes
To get all occurrences of a regex in a string.aidesys::stringSplit
To split a string according to a regex.
- HTTP interface via the
aidesys::http
function. - Python online interface via the
aidesys::python
function. - Pseudo-random number generation via the
aidesys::random
function.
- Standard
-
The implementation consists mainly of wrappers to standard third-party libraries.
Package repository
- Package files: https://gitlab.inria.fr/line/aide-group/aidesys
- Package documentation: https://line.gitlabpages.inria.fr/aide-group/aidesys
- Source files: https://gitlab.inria.fr/line/aide-group/aidesys/-/tree/master/src
- Saved on softwareherirage.org
- Version
1.1.1
- License
CECILL-C
Installation
User simple installation
npm install git+https://gitlab.inria.fr/line/aide-group/aidesys.git
Co-developper installation
- See the related documentation
Please refer to the installation guide for installation.
Usage
npm script usage
npm install --quiet : installs all package dependencies and sources.
npm run build: builds the different compiled, documentation and test files.
npm test : runs functional and non-regression tests.
npm run clean: cleans installation files.
Dependencies
- None
devDependencies
Author
- Thierry Vieville thierry.vieville@inria.fr