Namespaces | Defines | Enumerations | Functions

as_value.cpp File Reference

#include "smart_ptr.h"
#include "as_value.h"
#include "as_object.h"
#include "as_function.h"
#include "MovieClip.h"
#include "DisplayObject.h"
#include "as_environment.h"
#include "VM.h"
#include "movie_root.h"
#include "utility.h"
#include "GnashNumeric.h"
#include "namedStrings.h"
#include "GnashException.h"
#include "Array_as.h"
#include "Date_as.h"
#include "SimpleBuffer.h"
#include "StringPredicates.h"
#include "Global_as.h"
#include "String_as.h"
#include "AMFConverter.h"
#include <boost/shared_ptr.hpp>
#include <cmath>
#include <cctype>
#include <boost/algorithm/string/case_conv.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/format.hpp>
#include <locale>
#include <sstream>
#include <iomanip>
#include <string>
#include <algorithm>
Include dependency graph for as_value.cpp:

Namespaces

namespace  gnash
 

Anonymous namespace for callbacks, local functions, event handlers etc.


Defines

#define GNASH_DEBUG_SOFT_REFERENCES

Enumerations

enum  Base

Functions

boost::int32_t gnash::toInt (const as_value &val)
 AS2-compatible conversion to 32bit integer.
bool gnash::parseNonDecimalInt (const std::string &s, double &d, bool whole)
std::string gnash::doubleToString (double val, int radix=10)
 Convert numeric value to string value, following ECMA-262 specification.
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.

Define Documentation

#define GNASH_DEBUG_SOFT_REFERENCES