---
name: "corelinux_Memento"
section: "3"
platform: "linux"
package: "libcorelinux-dev"
version: "0.4.32-5"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/corelinux_Memento"
---

# corelinux\_Memento(3)

Memento knows its Mediator object, communicates with its mediator whenever it would have otherwise communicated with another Memento.

## NAME

corelinux::Memento - **Memento** knows its **Mediator** object, communicates with its mediator whenever it would have otherwise communicated with another **Memento**.

## SYNOPSIS

`#include <Memento.hpp>`

Inherited by **ChangedListMemento**, **ChangedListMemento**, **EditSelectionMemento**, **EditSelectionMemento**, **SelectionMemento**, and **SelectionMemento**.

### Public Member Functions

**Memento** (void)\
 *Default constructor.*  **Memento** (**MementoCref**)\
 *Copy constructor.*  virtual **~Memento** (void)\
 *Virtual destructor.*  **MementoRef** **operator=** (**MementoCref**)\
 *Assignment operator.*  bool **operator==** (**MementoCref**) const \
 *Equality operator.*  bool **operator!=** (**MementoCref**) const \
 *In-Equality operator.*

## Detailed Description

**Memento** knows its **Mediator** object, communicates with its mediator whenever it would have otherwise communicated with another **Memento**.

## Constructor & Destructor Documentation

### corelinux::Memento::Memento (MementoCref)

Copy constructor. **Parameters:**

*Memento* const referencee

## Author

Generated automatically by Doxygen for CoreLinux++ from the source code.
