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

# Bar(3)

Class Bar describes the Adaptee target that we want to behave like Foo.

## NAME

Bar - Class Bar describes the Adaptee target that we want to behave like **Foo**.

## SYNOPSIS

`#include <Bar.hpp>`

Inherited by FooBarClassAdapter` [private]`.

### Public Member Functions

**Bar** (void)\
 *Default Constructor.*  **Bar** (corelinux::Int aX, corelinux::Int aY)\
 *Constructor with known coordinates.*  **Bar** (**BarCref**)\
 *Copy constructor.*  virtual **~Bar** (void)\
 *Destructor.*  **BarRef** **operator=** (**BarCref**)\
 *Assignment operator.*  bool **operator==** (**BarCref**)\
 *Equality operator.*  corelinux::IntCref **getVertical** (void) const \
 *Return the Y coordinate of the point.*  corelinux::IntCref **getHorizontal** (void) const \
 *Return the X coordinate of the point.*  void **setVertical** (corelinux::Int)\
 *Sets the Y coordinate.*  void **setHorizontal** (corelinux::Int)\
 *Sets the X coordinate.*

## Detailed Description

Class Bar describes the Adaptee target that we want to behave like **Foo**.

Bar is an class that specifies a screen coordinate system that is based on that 0,0 (X,Y) is the top left hand corner of the screen. It does not have a minimum or maximum.

## Author

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