Home | History | Annotate | Download | only in glue

Lines Matching defs:CppVariant

6   This file contains the declaration for CppVariant, a type used by C++ classes
9 CppVariant exists primarily as an interface between C++ callers and the
10 corresponding NPVariant type. CppVariant also provides a number of
27 class CppVariant : public NPVariant {
29 CppVariant();
30 ~CppVariant();
36 // Note that setting a CppVariant to a string value involves copying the
38 // CppVariant is set to a different value or is no longer needed. Normally
45 // Note that setting a CppVariant to an NPObject involves ref-counting
46 // the actual object. FreeData() should only be called if the CppVariant
49 // the NP runtime nor CPPVariant will ever free it.
60 CppVariant& operator=(const CppVariant& original);
61 CppVariant(const CppVariant& original);
69 // Compares this CppVariant's type and value to another's. They must be
74 bool isEqual(const CppVariant& other) const;
76 // The value of a CppVariant may be read directly from its NPVariant (but
78 // type of a CppVariant is likewise public, it can be accessed through these
91 // Converters. The CppVariant must be of a type convertible to these values.
97 // Returns a vector of CppVariant for the specified variant. This should only
100 std::vector<CppVariant> ToVector() const;
106 // CppVariant specified by result.
107 bool Invoke(const std::string& method, const CppVariant* args,
108 uint32 arg_count, CppVariant& result) const;