Ardour  9.0-pre0-582-g084a23a80d
PBD::PropertyList Class Reference

#include <property_list.h>

Inheritance diagram for PBD::PropertyList:
[legend]

Public Member Functions

 PropertyList ()
 
 PropertyList (PropertyList const &)
 
virtual ~PropertyList ()
 
void get_changes_as_xml (XMLNode *)
 
void invert ()
 
bool add (PropertyBase *prop)
 
template<typename T , typename V >
bool add (PropertyDescriptor< T > pid, const V &v)
 
template<typename T >
bool remove (PropertyDescriptor< T > pid)
 

Protected Attributes

bool _property_owner
 

Detailed Description

A list of properties, mapped using their ID

Definition at line 33 of file property_list.h.

Constructor & Destructor Documentation

◆ PropertyList() [1/2]

PBD::PropertyList::PropertyList ( )

◆ PropertyList() [2/2]

PBD::PropertyList::PropertyList ( PropertyList const &  )

◆ ~PropertyList()

virtual PBD::PropertyList::~PropertyList ( )
virtual

Member Function Documentation

◆ add() [1/2]

bool PBD::PropertyList::add ( PropertyBase prop)

Add a property (of some kind) to the list.

Used when constructing PropertyLists that describe a change/operation.

◆ add() [2/2]

template<typename T , typename V >
bool PBD::PropertyList::add ( PropertyDescriptor< T >  pid,
const V &  v 
)

Construct a new Property List

Code that is constructing a property list for use in setting the state of an object uses this.

Defined below, once we have Property<T>

Definition at line 29 of file property_list_impl.h.

◆ get_changes_as_xml()

void PBD::PropertyList::get_changes_as_xml ( XMLNode )

◆ invert()

void PBD::PropertyList::invert ( )

◆ remove()

template<typename T >
bool PBD::PropertyList::remove ( PropertyDescriptor< T >  pid)

Definition at line 35 of file property_list_impl.h.

Member Data Documentation

◆ _property_owner

bool PBD::PropertyList::_property_owner
protected

Definition at line 62 of file property_list.h.


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