aaf2.properties module

aaf2.properties.writeonly(func)
class aaf2.properties.Property(parent, pid, format, version=32)

Bases: object

pid
format
version
data
parent
format_name()
attached
writeable
decode()
mark_modified()
propertydef
unique
name
typedef
copy(parent, pid, cache=None)
value
add_pid_entry()
remove_pid_entry()
class aaf2.properties.StreamProperty(parent, pid, format, version=32)

Bases: aaf2.properties.Property

stream_name
dir
copy(parent, pid, cache)
decode()
encode(data)
setup_stream()
open(mode='r')
detach()
attach()
value
class aaf2.properties.StrongRefProperty(parent, pid, format, version=32)

Bases: aaf2.properties.Property

ref
objectref
object
copy(parent, pid, cache)
decode()
encode(data)
value
detach()
attach()
class aaf2.properties.StrongRefVectorProperty(parent, pid, format, version=32)

Bases: aaf2.properties.Property

references
next_free_key
last_free_key
objects
copy(parent, pid, cache)
index_name
encode(data)
decode()
read_index()
write_index(*args, **kwargs)
ref_classdef
index_ref_name(index)
get(index, default=None)
clear(*args, **kwargs)
pop(*args, **kwargs)
insert(*args, **kwargs)
extend(*args, **kwargs)
append(value)
value
detach()
attach()
class aaf2.properties.StrongRefSetProperty(parent, pid, format, version=32)

Bases: aaf2.properties.Property

references
index_name
next_free_key
last_free_key
key_pid
key_size
objects
copy(parent, pid, cache)
encode(data)
decode()
read_index()
write_index(*args, **kwargs)
index_ref_name(key)
read_object(key)
items()
values()
get(key, default=None)
swap_unique_key(*args, **kwargs)
extend(*args, **kwargs)
append(value)
clear(*args, **kwargs)
pop(*args, **kwargs)
value
detach()
attach()
aaf2.properties.resolve_weakref(p, ref)
class aaf2.properties.WeakRefProperty(parent, pid, format, version=32)

Bases: aaf2.properties.Property

weakref_index
key_pid
key_size
ref
copy(parent, pid, cache)
decode()
encode()
ref_classdef
pid_path
value
class aaf2.properties.WeakRefArrayProperty(parent, pid, format, version=32)

Bases: aaf2.properties.Property

references
index_name
weakref_index
key_pid
key_size
copy(parent, pid, cache)
encode(data)
decode()
read_index()
write_index(*args, **kwargs)
ref_classdef
pid_path
get(key, default=None)
items()
extend(*args, **kwargs)
append(value)
clear(*args, **kwargs)
value
class aaf2.properties.WeakRefVectorProperty(parent, pid, format, version=32)

Bases: aaf2.properties.WeakRefArrayProperty

class aaf2.properties.WeakRefSetProperty(parent, pid, format, version=32)

Bases: aaf2.properties.WeakRefArrayProperty

class aaf2.properties.WeakRefPropertyId(parent, pid, format, version=32)

Bases: aaf2.properties.WeakRefProperty

class aaf2.properties.UniqueIdProperty(parent, pid, format, version=32)

Bases: aaf2.properties.Property

class aaf2.properties.OpaqueStreamProperty(parent, pid, format, version=32)

Bases: aaf2.properties.Property

aaf2.properties.add_string_property(parent, pid, value)
aaf2.properties.add_bool_property(parent, pid, value)
aaf2.properties.add_u32le_property(parent, pid, value)
aaf2.properties.add_u16le_property(parent, pid, value)
aaf2.properties.add_u8_property(parent, pid, value)
aaf2.properties.add_auid_property(parent, pid, value)
aaf2.properties.add_auid_array_propertry(parent, pid, values)
aaf2.properties.add_utf16_array_property(parent, pid, values)
aaf2.properties.add_s64le_array_property(parent, pid, values)
aaf2.properties.add_weakref_property(parent, pid, pid_path, key_pid, value)
aaf2.properties.add_classdef_weakref_property(parent, pid, value)
aaf2.properties.add_typedef_weakref_property(parent, pid, value)
aaf2.properties.add_strongref_set_property(parent, pid, property_name, unique_pid, key_size=16)
aaf2.properties.add2set(self, pid, key, value)

low level add to StrongRefSetProperty

aaf2.properties.add_typedef_weakref_vector_property(parent, pid, property_name, values)