19 #ifndef GNASH_ABC_CLASS_H
20 #define GNASH_ABC_CLASS_H
91 _staticConstructor(0),
115 bool isconst,
bool isstatic);
118 boost::uint32_t slotID,
Class *
type,
bool isstatic);
130 boost::uint32_t slotID,
Class *
type,
bool isstatic);
134 boost::uint32_t slotID,
Method *method,
bool isstatic);
217 return _staticConstructor;
221 _staticTraits.push_back(t);
225 _instanceTraits.push_back(t);
230 BindingContainer::iterator
i;
231 if (_bindings.empty())
return NULL;
232 i = _bindings.find(name);
233 if (i == _bindings.end())
249 _prototype = prototype;
261 _bindings.insert(std::make_pair(name, b));
266 _staticBindings.insert(std::make_pair(name, b));
272 if (_staticBindings.empty())
return 0;
273 BindingContainer::iterator
i = _staticBindings.find(name);
274 if (i == _staticBindings.end())
return 0;
280 std::vector<Trait> _instanceTraits;
283 std::vector<Trait> _staticTraits;
286 typedef std::map<string_table::key, Property> BindingContainer;
288 as_object *_prototype;
294 std::list<Class*> _interfaces;
295 Namespace* _protectedNs;
297 Method* _constructor;
298 Method* _staticConstructor;
300 BindingContainer _bindings;
301 BindingContainer _staticBindings;