#include "vgfx.h"
#include <fstream>
#include "common/wave_ex.h"
#include "perf/perf.h"
#include "util/file.h"
#include "util/parsing.h"
#include "util/token_stream.h"
Go to the source code of this file.
Namespaces | |
namespace | vgfx |
Functions | |
static bool | vgfx::requiresQuotes (IN const char *p) throw () |
static void | vgfx::getFunctionValue (IN ObjectMap *map, const char *fn_name, OUT std::string &value) |
static bool | vgfx::isOperation (IN const char *s) throw () |
static float | vgfx::operate (IN float left, IN char op, IN float right) throw () |
static void | vgfx::computeValue (IN ObjectMap *map, IN const char *raw, IN const dictionary_t &variables, OUT std::string &computed) |
static void | vgfx::evaluate (IN ObjectMap *map, IN const dictionary_t &variables, IN const char *expr, OUT std::string &result) |
static float | vgfx::getFloat (IN ObjectMap *map, IN const dictionary_t &variables, IN const dictionary_t &data, IN const char *key, IN const char *default_value) |
static void | vgfx::processTile (IN ObjectMap *map, IN const char *cursor, IN const dictionary_t &variables, IO std::ostream &stream) |
static void | vgfx::processVariable (IN ObjectMap *map, IN const char *cursor, IN const dictionary_t &in_params, IN const objtree::property_set_t &pub, IO dictionary_t &variables) |
static void | vgfx::getScriptOutputId (IN const char *param_id, OUT std::string &output_id) |
smart_ptr< Primitive > | vgfx::parseFunction (IN std::istream &stream, IN ObjectMap *map) |
void | vgfx::invokeFunction (IN Primitive *in_function, IN ObjectMap *map, IN const dictionary_t &in_params, OUT std::ostream &out) |
Primitive * | vgfx::addFunctionFromPath (IN ObjectMap *map, IN const char *path) |
void | vgfx::setScript (IN ObjectMap *map, IN const char *parent_id, IN const char *script_id, IN const objtree::property_set_t &pset_def, IO std::ostream &stream, OUT std::string &root) |
void | vgfx::updateScriptParameters (IN ObjectMap *map, IN const char *parent_id, IN const objtree::property_set_t &pset, IO std::ostream &stream) |
void | vgfx::resizeScript (IN ObjectMap *map, IN const char *parent_id, IN float width, IN float height, IO std::ostream &stream) |
Variables | |
static const eParseBehavior | vgfx::s_line_behavior |