![]() |
SGCT master (487fac4)
Simple Graphics Cluster Toolkit
|
#include <sgct/sgctexports.h>#include <sgct/math.h>#include <cstdint>#include <filesystem>#include <optional>#include <string>#include <string_view>#include <variant>#include <vector>

Go to the source code of this file.
Namespaces | |
| namespace | sgct |
| namespace | sgct::config |
Typedefs | |
| using | sgct::config::Projections |
Functions | |
| void | sgct::config::validateUser (const User &user) |
| void | sgct::config::validateCapture (const Capture &capture) |
| void | sgct::config::validateScene (const Scene &scene) |
| void | sgct::config::validateSettings (const Settings &settings) |
| void | sgct::config::validateTracker (const Tracker &tracker) |
| void | sgct::config::validateProjection (const CubemapProjection &proj) |
| void | sgct::config::validateProjection (const CylindricalProjection &proj) |
| void | sgct::config::validateProjection (const EquirectangularProjection &proj) |
| void | sgct::config::validateProjection (const FisheyeProjection &proj) |
| void | sgct::config::validateProjection (const PlanarProjection &proj) |
| void | sgct::config::validateProjection (const ProjectionPlane &proj) |
| void | sgct::config::validateProjection (const SphericalMirrorProjection &proj) |
| void | sgct::config::validateProjection (const TextureMappedProjection &proj) |
| void | sgct::config::validateViewport (const Viewport &viewport) |
| void | sgct::config::validateWindow (const Window &window) |
| void | sgct::config::validateNode (const Node &node) |
| void | sgct::config::validateGeneratorVersion (const GeneratorVersion &gVersion) |
| void | sgct::config::validateCluster (const Cluster &cluster) |
| config::Cluster | sgct::readConfig (const std::filesystem::path &filename) |
Reads a JSON configuration file from the provided filename. | |
| config::Cluster | sgct::readJsonConfig (std::string_view configuration) |
Reads a JSON-formatted configuration direction from the provided configuration. | |
| config::Cluster | sgct::defaultCluster () |
| std::string | sgct::serializeConfig (const config::Cluster &cluster, std::optional< config::GeneratorVersion > genVersion=std::nullopt) |
Serialize the provided cluster into its JSON string representation such that parsing the serialized string later with readJsonConfig will result int the same cluster again. | |
| std::string | sgct::validateConfigAgainstSchema (std::string_view configuration, const std::filesystem::path &schema) |
Validate the provided JSON-based string representation of a configuration against the schema file located at the provided schema file. | |
| std::string | sgct::validateConfigAgainstSchema (const std::filesystem::path &configuration, const std::filesystem::path &schema) |
Validate the provided configuration file against the schema file located at the provided schema file. | |