Gnash  0.8.11dev
Classes | Namespaces | Enumerations | Functions
as_value.h File Reference
#include <limits>
#include <string>
#include <boost/variant.hpp>
#include <iosfwd>
#include <type_traits>
#include <cstdint>
#include "dsodefs.h"
#include "CharacterProxy.h"
#include "GnashNumeric.h"

Go to the source code of this file.

Classes

class  gnash::as_value
 ActionScript value type. More...
 

Namespaces

 gnash
 Anonymous namespace for callbacks, local functions, event handlers etc.
 
 gnash::amf
 Functions and classes for handling AMF.
 

Enumerations

enum  gnash::primitive_types { gnash::PTYPE_STRING, gnash::PTYPE_NUMBER, gnash::PTYPE_BOOLEAN }
 These are the primitive types, see the ECMAScript reference. More...
 

Functions

template<typename T >
bool gnash::isInf (const T &num)
 
std::ostream & gnash::operator<< (std::ostream &os, const as_value &v)
 Stream operator. More...
 
std::string gnash::doubleToString (double val, int radix=10)
 Convert numeric value to string value, following ECMA-262 specification. More...
 
bool gnash::parseNonDecimalInt (const std::string &s, double &d, bool whole)
 
void gnash::setNaN (as_value &v)
 Set a value to NaN. More...