Home | History | Annotate | Download | only in chromium

Lines Matching defs:CppVariant

32   This file contains the declaration for CppVariant, a type used by C++ classes
35 CppVariant exists primarily as an interface between C++ callers and the
36 corresponding NPVariant type. CppVariant also provides a number of
50 class CppVariant : public NPVariant {
52 CppVariant();
53 ~CppVariant();
59 // Note that setting a CppVariant to a string value involves copying the
61 // CppVariant is set to a different value or is no longer needed. Normally
68 // Note that setting a CppVariant to an NPObject involves ref-counting
69 // the actual object. freeData() should only be called if the CppVariant
72 // the NP runtime nor CppVariant will ever free it.
83 CppVariant& operator=(const CppVariant& original);
84 CppVariant(const CppVariant& original);
92 // Compares this CppVariant's type and value to another's. They must be
97 bool isEqual(const CppVariant&) const;
99 // The value of a CppVariant may be read directly from its NPVariant (but
101 // type of a CppVariant is likewise public, it can be accessed through these
114 // Converters. The CppVariant must be of a type convertible to these values.
128 // CppVariant specified by result.
129 bool invoke(const std::string&, const CppVariant* arguments,
130 uint32_t argumentCount, CppVariant& result) const;