Program Listing for File validator.hpp¶
↰ Return to documentation for file (include/nix/valid/validator.hpp)
// Copyright (c) 2013, German Neuroinformatics Node (G-Node)
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted under the terms of the BSD License. See
// LICENSE file in the root of the Project.
#ifndef NIX_VALIDATOR_H
#define NIX_VALIDATOR_H
#include <nix/Platform.hpp>
#include <nix/valid/result.hpp>
#include <functional>
#include <cstdarg>
#include <vector>
namespace nix {
namespace valid {
typedef std::function<Result(void)> condition;
NIXAPI Result validator(const std::vector<condition> &li);
}
}
#endif