Sha256: e5a2e8654fda7120beee59df5583659c7abb2e98c6c0dc8f1f68cd536b8c6b98
Contents?: true
Size: 1.14 KB
Versions: 16
Compression:
Stored size: 1.14 KB
Contents
/** * @file * Declares the powershell external fact resolver. */ #ifndef FACTER_FACTS_EXTERNAL_POWERSHELL_RESOLVER_HPP_ #define FACTER_FACTS_EXTERNAL_POWERSHELL_RESOLVER_HPP_ #include <facter/facts/external/resolver.hpp> namespace facter { namespace facts { namespace external { /** * Responsible for resolving facts from powershell scripts. */ struct powershell_resolver : resolver { /** * Determines if the resolver can resolve the facts from the given file. * @param path The path to the file to resolve facts from. * @return Returns true if the resolver can resolve the facts in the given file or false if it cannot. */ virtual bool can_resolve(std::string const& path) const; /** * Resolves facts from the given file. * @param path The path to the file to resolve facts from. * @param facts The fact collection to populate the external facts into. */ virtual void resolve(std::string const& path, collection& facts) const; }; }}} // namespace facter::facts::external #endif // FACTER_FACTS_EXTERNAL_POWERSHELL_RESOLVER_HPP_
Version data entries
16 entries across 16 versions & 2 rubygems