#include <valuenode_dynamiclist.h>
Public Types | |
typedef synfig::Activepoint | Activepoint |
typedef std::list< Activepoint > | ActivepointList |
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_set & | get_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 |
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
.
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 |
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 | |||
) |
int synfig::ValueNode_DynamicList::ListEntry::get_index | ( | ) | const [inline] |
Referenced by add().
bool ValueNode_DynamicList::ListEntry::status_at_time | ( | const Time & | x | ) | const |
References timing_info.
Referenced by add(), and new_activepoint_at_time().
float ValueNode_DynamicList::ListEntry::amount_at_time | ( | const Time & | x, | |
bool * | rising = 0 | |||
) | const |
References f, find(), find_next(), find_prev(), and timing_info.
ValueNode_DynamicList::ListEntry::ActivepointList::iterator ValueNode_DynamicList::ListEntry::add | ( | Time | time, | |
bool | status, | |||
int | priority = 0 | |||
) |
References get_index(), get_parent_value_node(), synfig::Activepoint::set_parent_index(), synfig::Activepoint::set_parent_value_node(), and timing_info.
ValueNode_DynamicList::ListEntry::ActivepointList::iterator ValueNode_DynamicList::ListEntry::add | ( | const Activepoint & | x | ) |
References get_index(), get_parent_value_node(), synfig::Activepoint::set_parent_index(), synfig::Activepoint::set_parent_value_node(), and timing_info.
ValueNode_DynamicList::ListEntry::findresult ValueNode_DynamicList::ListEntry::find_uid | ( | const UniqueID & | x | ) |
References f, and timing_info.
ValueNode_DynamicList::ListEntry::const_findresult ValueNode_DynamicList::ListEntry::find_uid | ( | const UniqueID & | x | ) | const |
References f, and timing_info.
ValueNode_DynamicList::ListEntry::findresult ValueNode_DynamicList::ListEntry::find_time | ( | const Time & | x | ) |
References f, and timing_info.
ValueNode_DynamicList::ListEntry::const_findresult ValueNode_DynamicList::ListEntry::find_time | ( | const Time & | x | ) | const |
References f, and timing_info.
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 |
References timing_info.
ValueNode_DynamicList::ListEntry::ActivepointList::iterator ValueNode_DynamicList::ListEntry::find | ( | const Time & | x | ) |
References synfig::Time::get_string(), and timing_info.
ValueNode_DynamicList::ListEntry::ActivepointList::const_iterator ValueNode_DynamicList::ListEntry::find | ( | const Time & | x | ) | const |
References synfig::Time::get_string(), and timing_info.
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 |
References synfig::Time::get_string(), and timing_info.
ValueNode_DynamicList::ListEntry::ActivepointList::iterator ValueNode_DynamicList::ListEntry::find_next | ( | const Time & | x | ) |
References synfig::Time::get_string(), and timing_info.
Referenced by amount_at_time(), find(), and synfig::ValueNode_DynamicList::insert_time().
ValueNode_DynamicList::ListEntry::ActivepointList::const_iterator ValueNode_DynamicList::ListEntry::find_next | ( | const Time & | x | ) | const |
References synfig::Time::get_string(), and timing_info.
Activepoint ValueNode_DynamicList::ListEntry::new_activepoint_at_time | ( | const Time & | x | ) | const |
ActivepointList::iterator synfig::ValueNode_DynamicList::ListEntry::add | ( | Time | time | ) | [inline] |
References status_at_time().
void ValueNode_DynamicList::ListEntry::erase | ( | const UniqueID & | x | ) |
References find(), and timing_info.
int ValueNode_DynamicList::ListEntry::find | ( | const Time & | begin, | |
const Time & | end, | |||
std::vector< Activepoint * > & | list | |||
) |
References find(), and find_next().
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] |
Referenced by add().
friend class ValueNode_DynamicList [friend] |
friend class ValueNode_BLine [friend] |