aidesys
Basic system C/C++ interface routines to ease multi-language middleware integration
Presentation
This factory encapsulates basic system interface.
-
Functionalities includes:
- Standard
stdfunctions for code string formatting and debugging :aidesys::echoTo format a string à-lasprintfsaidesys::alertTo verify an assertion and send a warning or a fatal error with trace.aidesys::argvTo get program line arguments.aidesys::systemTo execute commands at the OS level.
- Simple files
fileinterface:aidesys::readDirTo returns the contents of a directoryaidesys::getFileTimeandaidesys::existsTo get the last file modification time and check if a file exists.aidesys::loadandaidesys::saveTo load/save textual files.
- Time
timemanagement:aidesys::sleepTo introduce a delay.aidesys::nowTo measure the real or CPU relative or absolute time.aidesys::nowISOTo get the present date and time in a standard format.
- Regular expression (regex) and string manipulation:
aidesys::regexMatchandaidesys::regexReplaceTo match and replace strings.aidesys::regexIndexesTo get all occurrences of a regex in a string.aidesys::stringSplitTo split a string according to a regex.
- HTTP interface via the
aidesys::httpfunction. - Python online interface via the
aidesys::pythonfunction. - Pseudo-random number generation via the
aidesys::randomfunction.
- 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