/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** * Although objects of this type are generally only created on the stack and * only exist during the taking of a new time sample, that's not always the * case. The SMILValue objects obtained from attributes' base values are * cached so that the SMIL engine can make certain optimizations during a * sample if the base value has not changed since the last sample (potentially * avoiding recomposing). These SMILValue objects typically live much longer * than a single sample.
*/ class SMILValue { public:
SMILValue() : mU(), mType(SMILNullType::Singleton()) {} explicit SMILValue(const SMILType* aType);
SMILValue(const SMILValue& aVal);
// Equality operators. These are allowed to be conservative (return false // more than you'd expect) - see comment above SMILType::IsEqual. booloperator==(const SMILValue& aVal) const; booloperator!=(const SMILValue& aVal) const { return !(*this == aVal); }
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.