# synfigapp::NullSelectionManager Class Reference

A place holding selection manager that does nothing. More...

`#include <selectionmanager.h>`

Inheritance diagram for synfigapp::NullSelectionManager:

List of all members.

## Public Member Functions

int | get_selected_layer_count () const
| Returns the number of layers selected.
LayerList | get_selected_layers () const
| Returns a list of the currently selected layers.
synfig::Layer::Handle | get_selected_layer () const
| Returns the first layer selected or an empty handle if none are selected.
void | set_selected_layers (const LayerList &)
void | set_selected_layer (const synfig::Layer::Handle &)
| Sets which layer should be selected. Empty handle if none.
void | clear_selected_layers ()
| Clears the layer selection list.
int | get_selected_children_count () const
| Returns the number of children selected.
ChildrenList | get_selected_children () const
| Returns a list of the currently selected children.
ChildrenList::value_type | get_selected_child () const
| Returns the first children selected or an empty handle if none are selected.
void | set_selected_children (const ChildrenList &)
void | set_selected_child (const ChildrenList::value_type &)
| Sets which children should be selected. Empty handle if none.
void | clear_selected_children ()
| Clears the children selection list.
int | get_selected_layer_parameter_count () const
| Returns the number of layer parameters selected.
LayerParamList | get_selected_layer_parameters () const
| Returns a list of the currently selected layer parameters.
LayerParam | get_selected_layer_parameter () const
| Returns the first layer parameter selected or an empty handle if none are selected.
void | set_selected_layer_parameters (const LayerParamList &)
void | set_selected_layer_param (const LayerParam &)
void | clear_selected_layer_parameters ()
| Clears the layer parameter selection list.

## Detailed Description

A place holding selection manager that does nothing.

## Member Function Documentation

int synfigapp::NullSelectionManager::get_selected_layer_count | ( |  | ) | const`[inline, virtual]`

Returns the number of layers selected.

Implements synfigapp::SelectionManager.

LayerList synfigapp::NullSelectionManager::get_selected_layers | ( |  | ) | const`[inline, virtual]`

Returns a list of the currently selected layers.

Implements synfigapp::SelectionManager.

synfig::Layer::Handle synfigapp::NullSelectionManager::get_selected_layer | ( |  | ) | const`[inline, virtual]`

Returns the first layer selected or an empty handle if none are selected.

Implements synfigapp::SelectionManager.

void synfigapp::NullSelectionManager::set_selected_layers | ( | const LayerList & |  | ) | `[inline]`

void synfigapp::NullSelectionManager::set_selected_layer | ( | const synfig::Layer::Handle & | layer | ) | `[inline, virtual]`

Sets which layer should be selected. Empty handle if none.

Implements synfigapp::SelectionManager.

void synfigapp::NullSelectionManager::clear_selected_layers | ( |  | ) | `[inline, virtual]`

Clears the layer selection list.

Implements synfigapp::SelectionManager.

int synfigapp::NullSelectionManager::get_selected_children_count | ( |  | ) | const`[inline, virtual]`

Returns the number of children selected.

Implements synfigapp::SelectionManager.

ChildrenList synfigapp::NullSelectionManager::get_selected_children | ( |  | ) | const`[inline, virtual]`

Returns a list of the currently selected children.

Implements synfigapp::SelectionManager.

ChildrenList::value_type synfigapp::NullSelectionManager::get_selected_child | ( |  | ) | const`[inline, virtual]`

Returns the first children selected or an empty handle if none are selected.

Implements synfigapp::SelectionManager.

void synfigapp::NullSelectionManager::set_selected_children | ( | const ChildrenList & |  | ) | `[inline]`

void synfigapp::NullSelectionManager::set_selected_child | ( | const ChildrenList::value_type & | children | ) | `[inline, virtual]`

Sets which children should be selected. Empty handle if none.

Implements synfigapp::SelectionManager.

void synfigapp::NullSelectionManager::clear_selected_children | ( |  | ) | `[inline, virtual]`

Clears the children selection list.

Implements synfigapp::SelectionManager.

int synfigapp::NullSelectionManager::get_selected_layer_parameter_count | ( |  | ) | const`[inline, virtual]`

Returns the number of layer parameters selected.

Implements synfigapp::SelectionManager.

LayerParamList synfigapp::NullSelectionManager::get_selected_layer_parameters | ( |  | ) | const`[inline, virtual]`

Returns a list of the currently selected layer parameters.

Implements synfigapp::SelectionManager.

LayerParam synfigapp::NullSelectionManager::get_selected_layer_parameter | ( |  | ) | const`[inline, virtual]`

Returns the first layer parameter selected or an empty handle if none are selected.

Implements synfigapp::SelectionManager.

void synfigapp::NullSelectionManager::set_selected_layer_parameters | ( | const LayerParamList & |  | ) | `[inline]`

void synfigapp::NullSelectionManager::set_selected_layer_param | ( | const LayerParam & |  | ) | `[inline]`

void synfigapp::NullSelectionManager::clear_selected_layer_parameters | ( |  | ) | `[inline, virtual]`

Clears the layer parameter selection list.

Implements synfigapp::SelectionManager.

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

- selectionmanager.h