stlab.adobe.com Adobe Systems Incorporated

sequence_model< T > Class Template Reference

#include <sequence_model.hpp>

List of all members.

Public Types

typedef copy_on_write< value_typecow_value_type
typedef sequence_key< T > key_type
typedef
poly_sequence_controller< T >
::type 
poly_sequence_controller_type
typedef poly_sequence_view< T >
::type 
poly_sequence_view_type
typedef std::size_t size_type
typedef T value_type

Public Member Functions

void attach_controller (poly_sequence_controller_type &controller)
void attach_view (poly_sequence_view_type &view)
 BOOST_STATIC_ASSERT ((sizeof(key_type)==sizeof(void *)))
void clear ()
void detach_controller (poly_sequence_controller_type &controller)
void detach_view (poly_sequence_view_type &view)
void erase (const vector< key_type > &key_set)
void insert (key_type before, const value_type &value)
void insert_set (key_type before, const vector< value_type > &value_set)
void push_back (const value_type &value)
void set (key_type key, const value_type &value)

Static Public Member Functions

static cow_value_type at (key_type key)
static bool interface_requires_std_rtti ()

Detailed Description

template<typename T>
class adobe::sequence_model< T >

Definition at line 42 of file sequence_model.hpp.


Member Typedef Documentation

cow_value_type for the sequence_model

Definition at line 50 of file sequence_model.hpp.

typedef sequence_key<T> key_type

key_type for the sequence_model

Definition at line 52 of file sequence_model.hpp.

view_type for the sequence_model

Definition at line 56 of file sequence_model.hpp.

view_type for the sequence_model

Definition at line 54 of file sequence_model.hpp.

typedef std::size_t size_type

size_type for the sequence_model

Definition at line 48 of file sequence_model.hpp.

typedef T value_type

value_type for the sequence_model

Definition at line 46 of file sequence_model.hpp.


Member Function Documentation

static cow_value_type at ( key_type  key ) [static]

Definition at line 63 of file sequence_model.hpp.

void attach_controller ( poly_sequence_controller_type controller )

Used to attach a poly_sequence_controller_type to the sequence_model. Controllers of the model send model change notifications through the concept requirements spelled out by the SequenceController concept.

Definition at line 256 of file sequence_model.hpp.

void attach_view ( poly_sequence_view_type view )

Used to attach a poly_sequence_view_type to the sequence_model. Views into the model are notified of model changes through the concept requirements spelled out by the SequenceView concept.

Definition at line 215 of file sequence_model.hpp.

BOOST_STATIC_ASSERT ( (sizeof(key_type)==sizeof(void *))   )
void clear (  )

Definition at line 136 of file sequence_model.hpp.

void detach_controller ( poly_sequence_controller_type controller )

Detaches the requested controller from the sequence_model.

Definition at line 274 of file sequence_model.hpp.

void detach_view ( poly_sequence_view_type view )

Detaches the requested view from the sequence_model.

Definition at line 243 of file sequence_model.hpp.

void erase ( const vector< key_type > &  key_set )

Definition at line 123 of file sequence_model.hpp.

void insert ( key_type  before,
const value_type value 
)

Definition at line 111 of file sequence_model.hpp.

void insert_set ( key_type  before,
const vector< value_type > &  value_set 
)

Definition at line 92 of file sequence_model.hpp.

static bool interface_requires_std_rtti (  ) [static]

Definition at line 60 of file sequence_model.hpp.

void push_back ( const value_type value )

Definition at line 66 of file sequence_model.hpp.

void set ( key_type  key,
const value_type value 
)

Definition at line 77 of file sequence_model.hpp.

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google