SkillAgentSearch skills...

OfxYAML

Wrapper for yaml-cpp

Install / Use

/learn @michaelbaisch/OfxYAML
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

ofxYAML

A wrapper for yaml-cpp.

Tested with OpenFrameworks (0.10.0). Works with both macOS Sierra (Xcode 9.4) and Windows (VS 2017). On Linux make sure you install yaml-cpp according to your distribution's guidelines.

<br />

Usage

You can use the OF Project Generator to add this addon in your project.

#include "ofxYAML.h"

Place your yaml file in the bin/data folder and access it with:

yaml.load("config.yaml");

int framerate = yaml["frameRate"].as<int>();
bool verticalSync = yaml["verticalSync"].as<bool>();
string title = yaml["title"].as<string>();

Related Skills

View on GitHub
GitHub Stars9
CategoryDevelopment
Updated9mo ago
Forks6

Languages

C++

Security Score

62/100

Audited on Jun 18, 2025

No findings