OpenShot Library | libopenshot-audio 0.2.0
|
Classes | |
struct | AddOrRemoveChildAction |
struct | MoveChildAction |
struct | SetPropertyAction |
Public Types | |
using | Ptr = ReferenceCountedObjectPtr< SharedObject > |
Public Member Functions | |
SharedObject (const Identifier &t) noexcept | |
SharedObject (const SharedObject &other) | |
SharedObject & | operator= (const SharedObject &)=delete |
SharedObject & | getRoot () noexcept |
template<typename Function > | |
void | callListeners (ValueTree::Listener *listenerToExclude, Function fn) const |
template<typename Function > | |
void | callListenersForAllParents (ValueTree::Listener *listenerToExclude, Function fn) const |
void | sendPropertyChangeMessage (const Identifier &property, ValueTree::Listener *listenerToExclude=nullptr) |
void | sendChildAddedMessage (ValueTree child) |
void | sendChildRemovedMessage (ValueTree child, int index) |
void | sendChildOrderChangedMessage (int oldIndex, int newIndex) |
void | sendParentChangeMessage () |
void | setProperty (const Identifier &name, const var &newValue, UndoManager *undoManager, ValueTree::Listener *listenerToExclude=nullptr) |
bool | hasProperty (const Identifier &name) const noexcept |
void | removeProperty (const Identifier &name, UndoManager *undoManager) |
void | removeAllProperties (UndoManager *undoManager) |
void | copyPropertiesFrom (const SharedObject &source, UndoManager *undoManager) |
ValueTree | getChildWithName (const Identifier &typeToMatch) const |
ValueTree | getOrCreateChildWithName (const Identifier &typeToMatch, UndoManager *undoManager) |
ValueTree | getChildWithProperty (const Identifier &propertyName, const var &propertyValue) const |
bool | isAChildOf (const SharedObject *possibleParent) const noexcept |
int | indexOf (const ValueTree &child) const noexcept |
void | addChild (SharedObject *child, int index, UndoManager *undoManager) |
void | removeChild (int childIndex, UndoManager *undoManager) |
void | removeAllChildren (UndoManager *undoManager) |
void | moveChild (int currentIndex, int newIndex, UndoManager *undoManager) |
void | reorderChildren (const OwnedArray< ValueTree > &newOrder, UndoManager *undoManager) |
bool | isEquivalentTo (const SharedObject &other) const noexcept |
XmlElement * | createXml () const |
void | writeToStream (OutputStream &output) const |
![]() | |
void | incReferenceCount () noexcept |
Increments the object's reference count. | |
void | decReferenceCount () noexcept |
Decreases the object's reference count. | |
bool | decReferenceCountWithoutDeleting () noexcept |
Decreases the object's reference count. | |
int | getReferenceCount () const noexcept |
Returns the object's current reference count. | |
Static Public Member Functions | |
static void | writeObjectToStream (OutputStream &output, const SharedObject *object) |
Public Attributes | |
const Identifier | type |
NamedValueSet | properties |
ReferenceCountedArray< SharedObject > | children |
SortedSet< ValueTree * > | valueTreesWithListeners |
SharedObject * | parent = nullptr |
Additional Inherited Members | |
![]() | |
ReferenceCountedObject ()=default | |
Creates the reference-counted object (with an initial ref count of zero). | |
ReferenceCountedObject (const ReferenceCountedObject &) noexcept | |
Copying from another object does not affect this one's reference-count. | |
ReferenceCountedObject (ReferenceCountedObject &&) noexcept | |
Copying from another object does not affect this one's reference-count. | |
ReferenceCountedObject & | operator= (const ReferenceCountedObject &) noexcept |
Copying from another object does not affect this one's reference-count. | |
ReferenceCountedObject & | operator= (ReferenceCountedObject &&) noexcept |
Copying from another object does not affect this one's reference-count. | |
virtual | ~ReferenceCountedObject () |
Destructor. | |
void | resetReferenceCount () noexcept |
Resets the reference count to zero without deleting the object. | |
Definition at line 30 of file juce_ValueTree.cpp.
Definition at line 33 of file juce_ValueTree.cpp.
|
inlineexplicitnoexcept |
Definition at line 35 of file juce_ValueTree.cpp.
|
inline |
Definition at line 37 of file juce_ValueTree.cpp.
|
inline |
Definition at line 50 of file juce_ValueTree.cpp.
|
inlinenoexcept |
Definition at line 63 of file juce_ValueTree.cpp.
|
inline |
Definition at line 69 of file juce_ValueTree.cpp.
|
inline |
Definition at line 92 of file juce_ValueTree.cpp.
|
inline |
Definition at line 98 of file juce_ValueTree.cpp.
|
inline |
Definition at line 104 of file juce_ValueTree.cpp.
|
inline |
Definition at line 110 of file juce_ValueTree.cpp.
|
inline |
Definition at line 116 of file juce_ValueTree.cpp.
|
inline |
Definition at line 122 of file juce_ValueTree.cpp.
|
inline |
Definition at line 133 of file juce_ValueTree.cpp.
|
inlinenoexcept |
Definition at line 157 of file juce_ValueTree.cpp.
|
inline |
Definition at line 162 of file juce_ValueTree.cpp.
|
inline |
Definition at line 176 of file juce_ValueTree.cpp.
|
inline |
Definition at line 195 of file juce_ValueTree.cpp.
|
inline |
Definition at line 205 of file juce_ValueTree.cpp.
|
inline |
Definition at line 214 of file juce_ValueTree.cpp.
|
inline |
Definition at line 225 of file juce_ValueTree.cpp.
|
inlinenoexcept |
Definition at line 234 of file juce_ValueTree.cpp.
|
inlinenoexcept |
Definition at line 243 of file juce_ValueTree.cpp.
|
inline |
Definition at line 248 of file juce_ValueTree.cpp.
|
inline |
Definition at line 289 of file juce_ValueTree.cpp.
|
inline |
Definition at line 307 of file juce_ValueTree.cpp.
|
inline |
Definition at line 313 of file juce_ValueTree.cpp.
|
inline |
Definition at line 336 of file juce_ValueTree.cpp.
|
inlinenoexcept |
Definition at line 353 of file juce_ValueTree.cpp.
|
inline |
Definition at line 368 of file juce_ValueTree.cpp.
|
inline |
Definition at line 380 of file juce_ValueTree.cpp.
|
inlinestatic |
Definition at line 397 of file juce_ValueTree.cpp.
const Identifier juce::ValueTree::SharedObject::type |
Definition at line 569 of file juce_ValueTree.cpp.
NamedValueSet juce::ValueTree::SharedObject::properties |
Definition at line 570 of file juce_ValueTree.cpp.
ReferenceCountedArray<SharedObject> juce::ValueTree::SharedObject::children |
Definition at line 571 of file juce_ValueTree.cpp.
Definition at line 572 of file juce_ValueTree.cpp.
SharedObject* juce::ValueTree::SharedObject::parent = nullptr |
Definition at line 573 of file juce_ValueTree.cpp.