Buffer

## class Buffer

> shape and subject cut-paste buffer class.

### Public Methods

  | Buffer ()
  | ~Buffer ()
  void | Put (Subjects *, Shapes *) Copy lists of subjects and shapes and hold them in the buffer.
  Subjects* | GetSubjectsCopy () Copy subjects in the buffer and return them in a list.
  Shapes* | GetShapesCopy () Copy shapes in the buffer and return them in a list.
  Subjects* | GetSubjects () const
  Shapes* | GetShapes () const
  bool | IsEmpty () const Returns if buffer is empty.
  void | SetUser (Command *c) Which command uses this buffer.
  Command* | GetUser ()

## Documentation

> shape and subject cut-paste buffer class.

`Buffer()`

`~Buffer()`

`void Put(Subjects *, Shapes *)`
  Copy lists of subjects and shapes and hold them in the buffer.

`Subjects* GetSubjectsCopy()`
  Copy subjects in the buffer and return them in a list.

`Shapes* GetShapesCopy()`
  Copy shapes in the buffer and return them in a list.

`Subjects* GetSubjects() const`

`Shapes* GetShapes() const`

`bool IsEmpty() const`
  Returns if buffer is empty.

`void SetUser(Command *c)`
  Which command uses this buffer.

`Command* GetUser()`

This class has no child classes.

alphabetic index hierarchy of classes

this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de