synfig::ValueNode_DynamicList::ListEntry Class Reference

Contains a potential list item, and associated timing information. More...

#include <valuenode_dynamiclist.h>

Inheritance diagram for synfig::ValueNode_DynamicList::ListEntry:

synfig::UniqueID List of all members.

Public Types

typedef synfig::Activepoint Activepoint
typedef std::list< ActivepointActivepointList
typedef std::pair< ActivepointList::iterator,
bool > 
findresult
typedef std::pair< ActivepointList::const_iterator,
bool > 
const_findresult

Public Member Functions

int get_index () const
bool status_at_time (const Time &x) const
float amount_at_time (const Time &x, bool *rising=0) const
ActivepointList::iterator add (Time time, bool status, int priority=0)
ActivepointList::iterator add (const Activepoint &x)
findresult find_uid (const UniqueID &x)
const_findresult find_uid (const UniqueID &x) const
findresult find_time (const Time &x)
const_findresult find_time (const Time &x) const
ActivepointList::iterator find (const UniqueID &x)
ActivepointList::const_iterator find (const UniqueID &x) const
ActivepointList::iterator find (const Time &x)
ActivepointList::const_iterator find (const Time &x) const
ActivepointList::iterator find_prev (const Time &x)
ActivepointList::const_iterator find_prev (const Time &x) const
ActivepointList::iterator find_next (const Time &x)
ActivepointList::const_iterator find_next (const Time &x) const
Activepoint new_activepoint_at_time (const Time &x) const
ActivepointList::iterator add (Time time)
void erase (const UniqueID &x)
int find (const Time &begin, const Time &end, std::vector< Activepoint * > &list)
const synfig::Node::time_setget_times () const
const etl::loose_handle< ValueNode > & get_parent_value_node () const
 ListEntry ()
 ListEntry (const ValueNode::Handle &value_node)
 ListEntry (const ValueNode::Handle &value_node, Time begin, Time end)

Public Attributes

ValueNode::RHandle value_node
ActivepointList timing_info

Friends

class ValueNode_DynamicList
class ValueNode_BLine

Detailed Description

Contains a potential list item, and associated timing information.

This structure contains a RHandle to a ValueNode, as well as the associated on/off timing information which determines when this item is included in the list.

The timing information is stored in the member timing_info.


Member Typedef Documentation

typedef synfig::Activepoint synfig::ValueNode_DynamicList::ListEntry::Activepoint
 

typedef std::list<Activepoint> synfig::ValueNode_DynamicList::ListEntry::ActivepointList
 

typedef std::pair<ActivepointList::iterator,bool> synfig::ValueNode_DynamicList::ListEntry::findresult
 

typedef std::pair<ActivepointList::const_iterator,bool> synfig::ValueNode_DynamicList::ListEntry::const_findresult
 


Constructor & Destructor Documentation

ValueNode_DynamicList::ListEntry::ListEntry  ) 
 

ValueNode_DynamicList::ListEntry::ListEntry const ValueNode::Handle value_node  ) 
 

ValueNode_DynamicList::ListEntry::ListEntry const ValueNode::Handle value_node,
Time  begin,
Time  end
 


Member Function Documentation

int synfig::ValueNode_DynamicList::ListEntry::get_index  )  const [inline]
 

bool ValueNode_DynamicList::ListEntry::status_at_time const Time t  )  const
 

Todo:
This needs to be optimized further. Perhaps we should use a binary search...?

float ValueNode_DynamicList::ListEntry::amount_at_time const Time x,
bool *  rising = 0
const
 

ValueNode_DynamicList::ListEntry::ActivepointList::iterator ValueNode_DynamicList::ListEntry::add Time  time,
bool  status,
int  priority = 0
 

Todo:
This needs to be optimized further.

ValueNode_DynamicList::ListEntry::ActivepointList::iterator ValueNode_DynamicList::ListEntry::add const Activepoint x  ) 
 

Todo:
This needs to be optimized further.

ValueNode_DynamicList::ListEntry::findresult ValueNode_DynamicList::ListEntry::find_uid const UniqueID x  ) 
 

ValueNode_DynamicList::ListEntry::const_findresult ValueNode_DynamicList::ListEntry::find_uid const UniqueID x  )  const
 

ValueNode_DynamicList::ListEntry::findresult ValueNode_DynamicList::ListEntry::find_time const Time x  ) 
 

ValueNode_DynamicList::ListEntry::const_findresult ValueNode_DynamicList::ListEntry::find_time const Time x  )  const
 

ValueNode_DynamicList::ListEntry::ActivepointList::iterator ValueNode_DynamicList::ListEntry::find const UniqueID x  ) 
 

ValueNode_DynamicList::ListEntry::ActivepointList::const_iterator ValueNode_DynamicList::ListEntry::find const UniqueID x  )  const
 

ValueNode_DynamicList::ListEntry::ActivepointList::iterator ValueNode_DynamicList::ListEntry::find const Time x  ) 
 

ValueNode_DynamicList::ListEntry::ActivepointList::const_iterator ValueNode_DynamicList::ListEntry::find const Time x  )  const
 

ValueNode_DynamicList::ListEntry::ActivepointList::iterator ValueNode_DynamicList::ListEntry::find_prev const Time x  ) 
 

ValueNode_DynamicList::ListEntry::ActivepointList::const_iterator ValueNode_DynamicList::ListEntry::find_prev const Time x  )  const
 

ValueNode_DynamicList::ListEntry::ActivepointList::iterator ValueNode_DynamicList::ListEntry::find_next const Time x  ) 
 

ValueNode_DynamicList::ListEntry::ActivepointList::const_iterator ValueNode_DynamicList::ListEntry::find_next const Time x  )  const
 

Activepoint ValueNode_DynamicList::ListEntry::new_activepoint_at_time const Time x  )  const
 

ActivepointList::iterator synfig::ValueNode_DynamicList::ListEntry::add Time  time  )  [inline]
 

void ValueNode_DynamicList::ListEntry::erase const UniqueID x  ) 
 

int ValueNode_DynamicList::ListEntry::find const Time begin,
const Time end,
std::vector< Activepoint * > &  list
 

const synfig::Node::time_set & ValueNode_DynamicList::ListEntry::get_times  )  const
 

const etl::loose_handle<ValueNode>& synfig::ValueNode_DynamicList::ListEntry::get_parent_value_node  )  const [inline]
 


Friends And Related Function Documentation

friend class ValueNode_DynamicList [friend]
 

friend class ValueNode_BLine [friend]
 


Member Data Documentation

ValueNode::RHandle synfig::ValueNode_DynamicList::ListEntry::value_node
 

ActivepointList synfig::ValueNode_DynamicList::ListEntry::timing_info
 


The documentation for this class was generated from the following files:
Generated on Fri Jun 23 15:20:51 2006 for synfig by  doxygen 1.4.6