Flip Reference

 

PasteBoard Class Reference

Namespace

ohm::flip

Declared in

ohm/flip/PasteBoard.h

See Also

ohm::flip::ObjectMold

Overview

The PasteBoard class implements a singleton paste board using the ObjectMold class.

Methods Overview

Manipulating

Visiting

Methods

add

Add an object as an ObjectMold to the paste board and returns a reference to the created ObjectMold .

ObjectMold &   add (Object & object);

clear

Remove all the ObjectMold from the paste board.

void           clear ();

empty

Returns true if the paste board is empty, false otherwise.

bool           empty () const;

begin

Returns an iterator to the first element of the paste board. Dereferenced iterator are of the type of a shared pointer of ObjectMold .

iterator       begin ();

end

Returns an iterator to the element following the last element of the paste board.

iterator       end ();