openshot-audio  0.1.2
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
juce::ValueTree::SharedObject Class Reference
Inheritance diagram for juce::ValueTree::SharedObject:
juce::ReferenceCountedObject

Classes

class  AddOrRemoveChildAction
 
class  MoveChildAction
 
class  SetPropertyAction
 

Public Types

typedef ReferenceCountedObjectPtr< SharedObjectPtr
 

Public Member Functions

 SharedObject (const Identifier &t) noexcept
 
 SharedObject (const SharedObject &other)
 
 ~SharedObject ()
 
template<typename Method >
void callListeners (Method method, ValueTree &tree) const
 
template<typename Method , typename ParamType >
void callListeners (Method method, ValueTree &tree, ParamType &param2) const
 
template<typename Method , typename ParamType1 , typename ParamType2 >
void callListeners (Method method, ValueTree &tree, ParamType1 &param2, ParamType2 &param3) const
 
void sendPropertyChangeMessage (const Identifier &property)
 
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 *const undoManager)
 
bool hasProperty (const Identifier &name) const noexcept
 
void removeProperty (const Identifier &name, UndoManager *const undoManager)
 
void removeAllProperties (UndoManager *const undoManager)
 
void copyPropertiesFrom (const SharedObject &source, UndoManager *const 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 *const possibleParent) const noexcept
 
int indexOf (const ValueTree &child) const noexcept
 
void addChild (SharedObject *child, int index, UndoManager *const undoManager)
 
void removeChild (const int childIndex, UndoManager *const undoManager)
 
void removeAllChildren (UndoManager *const undoManager)
 
void moveChild (int currentIndex, int newIndex, UndoManager *undoManager)
 
void reorderChildren (const OwnedArray< ValueTree > &newOrder, UndoManager *undoManager)
 
bool isEquivalentTo (const SharedObject &other) const
 
XmlElementcreateXml () const
 
void writeToStream (OutputStream &output) const
 
- Public Member Functions inherited from juce::ReferenceCountedObject
void incReferenceCount () noexcept
 
void decReferenceCount () noexcept
 
bool decReferenceCountWithoutDeleting () noexcept
 
int getReferenceCount () const noexcept
 

Static Public Member Functions

static void writeObjectToStream (OutputStream &output, const SharedObject *const object)
 

Public Attributes

const Identifier type
 
NamedValueSet properties
 
ReferenceCountedArray< SharedObjectchildren
 
SortedSet< ValueTree * > valueTreesWithListeners
 
SharedObjectparent
 

Additional Inherited Members

- Protected Member Functions inherited from juce::ReferenceCountedObject
 ReferenceCountedObject ()
 
virtual ~ReferenceCountedObject ()
 
void resetReferenceCount () noexcept
 

Member Typedef Documentation

Constructor & Destructor Documentation

juce::ValueTree::SharedObject::SharedObject ( const Identifier t)
inlineexplicitnoexcept
juce::ValueTree::SharedObject::SharedObject ( const SharedObject other)
inline
juce::ValueTree::SharedObject::~SharedObject ( )
inline

Member Function Documentation

void juce::ValueTree::SharedObject::addChild ( SharedObject child,
int  index,
UndoManager *const  undoManager 
)
inline
template<typename Method >
void juce::ValueTree::SharedObject::callListeners ( Method  method,
ValueTree tree 
) const
inline
template<typename Method , typename ParamType >
void juce::ValueTree::SharedObject::callListeners ( Method  method,
ValueTree tree,
ParamType &  param2 
) const
inline
template<typename Method , typename ParamType1 , typename ParamType2 >
void juce::ValueTree::SharedObject::callListeners ( Method  method,
ValueTree tree,
ParamType1 &  param2,
ParamType2 &  param3 
) const
inline
void juce::ValueTree::SharedObject::copyPropertiesFrom ( const SharedObject source,
UndoManager *const  undoManager 
)
inline
XmlElement* juce::ValueTree::SharedObject::createXml ( ) const
inline
ValueTree juce::ValueTree::SharedObject::getChildWithName ( const Identifier typeToMatch) const
inline
ValueTree juce::ValueTree::SharedObject::getChildWithProperty ( const Identifier propertyName,
const var propertyValue 
) const
inline
ValueTree juce::ValueTree::SharedObject::getOrCreateChildWithName ( const Identifier typeToMatch,
UndoManager undoManager 
)
inline
bool juce::ValueTree::SharedObject::hasProperty ( const Identifier name) const
inlinenoexcept
int juce::ValueTree::SharedObject::indexOf ( const ValueTree child) const
inlinenoexcept
bool juce::ValueTree::SharedObject::isAChildOf ( const SharedObject *const  possibleParent) const
inlinenoexcept
bool juce::ValueTree::SharedObject::isEquivalentTo ( const SharedObject other) const
inline
void juce::ValueTree::SharedObject::moveChild ( int  currentIndex,
int  newIndex,
UndoManager undoManager 
)
inline
void juce::ValueTree::SharedObject::removeAllChildren ( UndoManager *const  undoManager)
inline
void juce::ValueTree::SharedObject::removeAllProperties ( UndoManager *const  undoManager)
inline
void juce::ValueTree::SharedObject::removeChild ( const int  childIndex,
UndoManager *const  undoManager 
)
inline
void juce::ValueTree::SharedObject::removeProperty ( const Identifier name,
UndoManager *const  undoManager 
)
inline
void juce::ValueTree::SharedObject::reorderChildren ( const OwnedArray< ValueTree > &  newOrder,
UndoManager undoManager 
)
inline
void juce::ValueTree::SharedObject::sendChildAddedMessage ( ValueTree  child)
inline
void juce::ValueTree::SharedObject::sendChildOrderChangedMessage ( int  oldIndex,
int  newIndex 
)
inline
void juce::ValueTree::SharedObject::sendChildRemovedMessage ( ValueTree  child,
int  index 
)
inline
void juce::ValueTree::SharedObject::sendParentChangeMessage ( )
inline
void juce::ValueTree::SharedObject::sendPropertyChangeMessage ( const Identifier property)
inline
void juce::ValueTree::SharedObject::setProperty ( const Identifier name,
const var newValue,
UndoManager *const  undoManager 
)
inline
static void juce::ValueTree::SharedObject::writeObjectToStream ( OutputStream output,
const SharedObject *const  object 
)
inlinestatic
void juce::ValueTree::SharedObject::writeToStream ( OutputStream output) const
inline

Member Data Documentation

ReferenceCountedArray<SharedObject> juce::ValueTree::SharedObject::children
SharedObject* juce::ValueTree::SharedObject::parent
NamedValueSet juce::ValueTree::SharedObject::properties
const Identifier juce::ValueTree::SharedObject::type
SortedSet<ValueTree*> juce::ValueTree::SharedObject::valueTreesWithListeners

The documentation for this class was generated from the following file: