Jamoma API  0.6.0.a19
TTContainer.cpp File Reference

A Container object. More...

#include "TTContainer.h"
+ Include dependency graph for TTContainer.cpp:

Go to the source code of this file.

Functions

TTErr TTContainerDirectoryCallback (const TTValue &baton, const TTValue &data)
 
TTErr TTContainerValueAttributeCallback (const TTValue &baton, const TTValue &data)
 
TTBoolean TTContainerTestObjectAndContext (TTNodePtr n, TTPtr args)
 
TTBoolean TTContainerCompareObjectPriority (TTValue &v1, TTValue &v2)
 compare priority attribute of object's More...
 

Detailed Description

A Container object.

Authors
Théo de la Hogue

Definition in file TTContainer.cpp.

Function Documentation

TTBoolean TTContainerCompareObjectPriority ( TTValue v1,
TTValue v2 
)

compare priority attribute of object's

Parameters
v1< relativeAddress, a pointer to a value containing a TTObject >
v2< relativeAddress, a pointer to a value containing a TTObject >
Returns
is the priority of v1 is smaller than v2 (except if equal 0) ?

Definition at line 1461 of file TTContainer.cpp.

References TTObject::get(), and TTObject::valid().

+ Here is the call graph for this function:

TTErr TTContainerDirectoryCallback ( const TTValue baton,
const TTValue data 
)
Parameters
baton..
data..
Returns
an error code

Definition at line 1310 of file TTContainer.cpp.

References TTValue::append(), kAddressCreated, kAddressDestroyed, kTTErrNone, and TTContainerTestObjectAndContext().

+ Here is the call graph for this function:

TTBoolean TTContainerTestObjectAndContext ( TTNodePtr  n,
TTPtr  args 
)
Parameters
baton..
data..
Returns
an error code

Definition at line 1430 of file TTContainer.cpp.

References TTNode::getContext(), TTNode::getName(), and TTNode::getParent().

Referenced by TTContainerDirectoryCallback().

+ Here is the call graph for this function:

TTErr TTContainerValueAttributeCallback ( const TTValue baton,
const TTValue data 
)
Parameters
baton..
data..
Returns
an error code

Definition at line 1358 of file TTContainer.cpp.

References TTAddress::appendAddress(), TTSymbol::c_str(), TTValue::copyFrom(), TTObject::instance(), kTTErrGeneric, kTTErrNone, kTypeObject, kTypeSymbol, TTObject::name(), TTValue::prepend(), TTValue::size(), TTObjectBase::valid, and TTObject::valid().

+ Here is the call graph for this function: