$darkmode
stack_factory.cpp File Reference
#include "stack_factory.hpp"
#include <filesystem>
#include <iostream>
#include <string>
#include <vector>
#include <cloe/utility/std_extensions.hpp>
#include <cloe/utility/xdg.hpp>
#include <fable/environment.hpp>
#include <fable/utility.hpp>
#include "config.hpp"
#include "plugins/nop_controller.hpp"
#include "plugins/nop_simulator.hpp"
#include "stack.hpp"
Include dependency graph for stack_factory.cpp:

Functions

Conf cloe::read_conf (const StackOptions &opt, const std::string &filepath)
 
void cloe::merge_stack (const StackOptions &opt, Stack &s, const std::string &filepath)
 
template<typename T >
bool cloe::contains (const std::vector< T > &v, const T &x)
 
Stack cloe::new_stack (const StackOptions &opt)
 
Stack cloe::new_stack (const StackOptions &opt, const std::string &filepath)
 
Stack cloe::new_stack (const StackOptions &opt, const std::vector< std::string > &filepaths)
 

Detailed Description

Function Documentation

◆ merge_stack()

void cloe::merge_stack ( const StackOptions opt,
Stack s,
const std::string &  filepath 
)

Merge the provided stackfile into the existing Stack, respecting StackOptions.

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

◆ new_stack() [1/3]

Stack cloe::new_stack ( const StackOptions opt)

Create a new empty default Stack from StackOptions.

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

◆ new_stack() [2/3]

Stack cloe::new_stack ( const StackOptions opt,
const std::string &  filepath 
)

Create a new Stack from the stackfile provided, respecting StackOptions.

Here is the call graph for this function:

◆ new_stack() [3/3]

Stack cloe::new_stack ( const StackOptions opt,
const std::vector< std::string > &  filepaths 
)

Create a new Stack by merging all stackfiles provided, respecting StackOptions.

Here is the call graph for this function: