OMSimulatorLib The OMSimulator project is a FMI-based co-simulation environment.

Loading...
Searching...
No Matches
Macros | Functions
Flags.cpp File Reference
`#include "Flags.h"`
`#include "Logging.h"`
`#include "OMSimulator/OMSimulator.h"`
`#include "json.hpp"`
`#include <filesystem>`
`#include <fstream>`
`#include <iomanip>`
`#include <iostream>`
`#include <regex>`
`#include <sstream>`
`#include <system_error>`
`#include <unistd.h>`
Include dependency graph for Flags.cpp:

## Macros
#define | OMS_GETPID getpid

## Functions
static std::filesystem::path | SettingsDir ()
void | LoadSettings (nlohmann::json &json)
void | SaveSettings (nlohmann::json &json)
std::vector< std::string > | split (const std::string &s, char delim)

## Macro Definition Documentation

## ◆ OMS_GETPID

#define OMS_GETPID getpid

## Function Documentation

## ◆ LoadSettings()

void LoadSettings | ( | nlohmann::json & | json | ) |

Here is the call graph for this function:
Here is the caller graph for this function:

## ◆ SaveSettings()

void SaveSettings | ( | nlohmann::json & | json | ) |

Here is the call graph for this function:
Here is the caller graph for this function:

## ◆ SettingsDir()

static std::filesystem::path SettingsDir | ( |  | ) |
| static

Here is the caller graph for this function:

## ◆ split()

std::vector< std::string > split | ( | const std::string & | s,
|  | char | delim
| ) |  |