Jamoma API  0.6.0.a19
TTElement Class Reference

Individual items found in a TTValue. More...

#include <TTElement.h>

Public Member Functions

void * operator new (size_t size)
 We use custom #new and #delete operators for TTElement to ensure that all memory allocated on the heap is aligned on 16-byte boundaries. More...
 
void operator delete (void *mem)
 We use custom #new and #delete operators for TTElement to ensure that all memory allocated on the heap is aligned on 16-byte boundaries. More...
 
 TTElement (const TTElement &anOtherElement)
 Copy constructor. More...
 
TTDataType type () const
 query an element for its type
 

Friends

class TTDictionary
 
bool operator< (const TTElement &a1, const TTElement &a2)
 We define the < operator for sorting of linked-list and other STL calls that require sorting ability of TTValue.
 

Detailed Description

Individual items found in a TTValue.

Definition at line 89 of file TTElement.h.

Constructor & Destructor Documentation

TTElement::TTElement ( const TTElement anOtherElement)
inline

Copy constructor.

Definition at line 179 of file TTElement.h.

Member Function Documentation

void TTElement::operator delete ( void *  mem)
inline

We use custom #new and #delete operators for TTElement to ensure that all memory allocated on the heap is aligned on 16-byte boundaries.

For memory allocated on the stack we rely on the TT_ALIGN_16 macro used in the class definition.

Definition at line 159 of file TTElement.h.

References TTFree16().

+ Here is the call graph for this function:

void* TTElement::operator new ( size_t  size)
inline

We use custom #new and #delete operators for TTElement to ensure that all memory allocated on the heap is aligned on 16-byte boundaries.

For memory allocated on the stack we rely on the TT_ALIGN_16 macro used in the class definition.

Definition at line 144 of file TTElement.h.

References TTMalloc16().

+ Here is the call graph for this function:


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