Fx2D
A C++20 2D rigid-body physics engine
Loading...
Searching...
No Matches
YamlUtils.h File Reference
#include <array>
#include <filesystem>
#include <fstream>
#include <iostream>
#include <sstream>
#include <string>
#include <yaml-cpp/yaml.h>
#include "Fx2D/Entity.h"
#include "Fx2D/Math.h"
#include "Fx2D/Scene.h"
+ Include dependency graph for YamlUtils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  FxYAML
 YAML parsing and scene-builder functions.
 

Functions

std::string FxYAML::deIndent (const std::string &raw)
 
template<int N>
FxArray< float > FxYAML::parseArray (const YAML::Node &node)
 
YAML::Node FxYAML::LoadSmart (const std::string &textOrPath)
 
FxScene FxYAML::buildScene (const YAML::Node &config)
 
FxShape FxYAML::buildShape (const YAML::Node &config)
 
FxVisualShape FxYAML::buildVisualShape (const YAML::Node &config)
 
FxCollisionShape FxYAML::buildCollisionShape (const YAML::Node &config)
 
std::shared_ptr< FxEntity > FxYAML::buildEntity (const std::string &entity_name, const YAML::Node &config)
 
std::shared_ptr< FxJoint > FxYAML::buildJoint (const std::string &joint_name, const YAML::Node &config, FxScene &scene)
 
FxScene FxYAML::buildScene (const std::string &textOrPath)
 
std::shared_ptr< FxEntity > FxYAML::buildEntity (const std::string &entity_name, const std::string &textOrPath)
 
FxShape FxYAML::buildShape (const std::string &textOrPath)
 
FxVisualShape FxYAML::buildVisualShape (const std::string &textOrPath)
 
FxVisualShape FxYAML::buildCollisionShape (const std::string &textOrPath)