#include "dsodefs.h"#include "CharacterProxy.h"#include <limits>#include <string>#include <boost/variant.hpp>#include <ostream>#include <boost/type_traits/is_floating_point.hpp>#include <boost/utility/enable_if.hpp>#include <boost/cstdint.hpp>#include "utility.h"Go to the source code of this file.
Classes | |
| class | gnash::as_value |
| ActionScript value type. More... | |
Namespaces | |
| namespace | gnash |
Anonymous namespace for callbacks, local functions, event handlers etc. | |
| namespace | 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::isNaN (const T &num, typename boost::enable_if< boost::is_floating_point< T > >::type *dummy=0) |
| template<typename T > | |
| bool | gnash::isInf (const T &num) |
| as_value & | gnash::convertToNumber (as_value &v, VM &) |
| Force type to number. | |
| as_value & | gnash::convertToString (as_value &v, VM &vm) |
| Force type to string. | |
| as_value & | gnash::convertToBoolean (as_value &v, VM &) |
| Force type to bool. | |
| as_value & | gnash::convertToPrimitive (as_value &v, VM &vm) |
| Convert to primitive type. | |
| std::ostream & | gnash::operator<< (std::ostream &os, const as_value &v) |
| std::string | gnash::doubleToString (double val, int radix=10) |
| Convert numeric value to string value, following ECMA-262 specification. | |
| bool | gnash::parseNonDecimalInt (const std::string &s, double &d, bool whole) |
| boost::int32_t | gnash::toInt (const as_value &val) |
| AS2-compatible conversion to 32bit integer. | |
| void | gnash::setNaN (as_value &v) |
| Set a value to NaN. | |
1.7.1