Gnash  0.8.11dev
Classes | Static Public Member Functions
gnash::plugin::ExternalInterface Struct Reference

#include <external.h>

List of all members.

Classes

struct  invoke_t

Static Public Member Functions

static std::string makeInvoke (const std::string &method, std::vector< std::string > args)
static std::string makeNull ()
static std::string makeTrue ()
static std::string makeFalse ()
static std::string makeString (const std::string &str)
static std::string makeProperty (const std::string &str, const std::string &data)
static std::string makeProperty (const std::string &str, double num)
static std::string makeProperty (const std::string &str, int num)
static std::string makeNumber (double num)
static std::string makeNumber (int num)
static std::string makeNumber (unsigned int num)
static std::string makeArray (std::vector< std::string > &args)
static std::string makeObject (std::map< std::string, std::string > &args)
static GnashNPVariant parseXML (const std::string &xml)
static boost::shared_ptr
< invoke_t
parseInvoke (const std::string &xml)
static std::map< std::string,
GnashNPVariant
parseProperties (const std::string &xml)
static std::vector
< GnashNPVariant
parseArguments (const std::string &xml)
static std::string convertNPVariant (const NPVariant *npv)

Member Function Documentation

std::string gnash::plugin::ExternalInterface::convertNPVariant ( const NPVariant *  npv)
static
std::string gnash::plugin::ExternalInterface::makeArray ( std::vector< std::string > &  args)
static

Referenced by main().

std::string gnash::plugin::ExternalInterface::makeFalse ( )
static
std::string gnash::plugin::ExternalInterface::makeInvoke ( const std::string &  method,
std::vector< std::string >  args 
)
static
std::string gnash::plugin::ExternalInterface::makeNull ( )
static
std::string gnash::plugin::ExternalInterface::makeNumber ( double  num)
static

Referenced by main().

std::string gnash::plugin::ExternalInterface::makeNumber ( int  num)
static
std::string gnash::plugin::ExternalInterface::makeNumber ( unsigned int  num)
static
std::string gnash::plugin::ExternalInterface::makeObject ( std::map< std::string, std::string > &  args)
static

Referenced by main().

std::string gnash::plugin::ExternalInterface::makeProperty ( const std::string &  str,
const std::string &  data 
)
static

Referenced by main(), and makeProperty().

std::string gnash::plugin::ExternalInterface::makeProperty ( const std::string &  str,
double  num 
)
static

References makeProperty().

std::string gnash::plugin::ExternalInterface::makeProperty ( const std::string &  str,
int  num 
)
static

References makeProperty().

std::string gnash::plugin::ExternalInterface::makeString ( const std::string &  str)
static
std::string gnash::plugin::ExternalInterface::makeTrue ( )
static
std::vector< GnashNPVariant > gnash::plugin::ExternalInterface::parseArguments ( const std::string &  xml)
static

References data, gnash::image::end(), parseXML(), and start.

Referenced by main(), and parseInvoke().

boost::shared_ptr< ExternalInterface::invoke_t > gnash::plugin::ExternalInterface::parseInvoke ( const std::string &  xml)
static
std::map< std::string, GnashNPVariant > gnash::plugin::ExternalInterface::parseProperties ( const std::string &  xml)
static

References data, gnash::image::end(), parseXML(), and start.

Referenced by main(), and parseXML().

GnashNPVariant gnash::plugin::ExternalInterface::parseXML ( const std::string &  xml)
static

The documentation for this struct was generated from the following files: