Mercurial > irccd
view extern/vera/src/plugins/Transformations.cpp @ 698:ad1ee47165fa
Irccd: create own json_util::document class
For convenience when parsing command arguments, use directly json_util::document
instead of raw nlohmann::json object. This will simplify the process of
decomposing unsafe structures.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 07 May 2018 21:10:12 +0200 |
parents | a7c0eb100760 |
children |
line wrap: on
line source
// // Copyright (C) 2006-2007 Maciej Sobczak // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // #include "Transformations.h" #include "RootDirectory.h" #include "Interpreter.h" namespace Vera { namespace Plugins { void Transformations::executeTransformation(const TransformationName & name) { const RootDirectory::DirectoryName veraRoot = RootDirectory::getRootDirectory(); Interpreter::execute(veraRoot, Interpreter::transformation, name); } } }