AllegroFlare/YAMLValidator
view source (cpp, hpp, quintessence) • view tests (test file)
Properties
This class contains no properties
Methods
| validate_presence_of_key(YAML::Node node={}, std::string key="[unset-key]", bool throw_on_error=true) | 
| validate_node_type(YAML::Node node={}, std::string key="[unset-key]", YAML::NodeType::value expected_type=YAML::NodeType::Undefined, bool throw_on_error=true) | 
| validate_node_is_one_of_type(YAML::Node node={}, std::string key="[unset-key]", std::vector<YAML::NodeType::value> possible_valid_types={}, bool throw_on_error=true) | 
| validate_node_has_unsigned_int_value(YAML::Node node={}, std::string key="[unset-key]") | 
| validate_elements_are_unique(std::vector<std::string> elements={}) | 
| yaml_node_type_as_string(YAML::NodeType::value node_type=YAML::NodeType::Undefined) | 
| validate_unique_all_upper_identifiers(YAML::Node items={}) | 
| get_type_string(YAML::Node* node_ptr=nullptr) | 
| extract_sequence_as_string_array(YAML::Node source={}) | 
| join(std::vector<std::string> tokens={}, std::string delimiter=", ") | 
| quote_and_escape_inner_quotes(std::string subject="[unset-subject]") | 
| replace(std::string subject="[unset-subject]", std::string search="[unset-search]", std::string replace="[unset-replace]") | 
Dependencies
| {"symbol"=>"std::any_of", "headers"=>["algorithm"]} | 
| {"symbol"=>"YAML::Node", "headers"=>["yaml-cpp/yaml.h"]} | 
| {"symbol"=>"YAML::NodeType::value", "headers"=>["yaml-cpp/yaml.h"]} | 
| {"symbol"=>"AllegroFlare::Logger", "headers"=>["AllegroFlare/Logger.hpp"]} | 
Sponsor
Look no further than CLUBCATT for cat shirts, cat mugs, and all kinds of cat-fancy stuff.
