# API glossary

Source: https://libtmux.org/en/cxx/latest/reference/glossary/

> Kinds, modifiers and package labels in the C++ API reference.

## Symbol kinds

Kinds identify declarations in the C++ API reference.

### class

A C++ class type grouping data and member functions, with private member access by default.

References: [C++ classes](https://eel.is/c++draft/class.pre).

### struct

A C++ class declared with struct, whose members and bases are public by default.

struct does not imply immutability or a particular allocation strategy.

References: [C++ class keys](https://eel.is/c++draft/class.pre).

### enum

A C++ enumeration with named values. enum class introduces a scoped enumeration.

References: [C++ enumerations](https://eel.is/c++draft/dcl.enum).

### function

A C++ non-member function, typically declared within a namespace.

References: [C++ function declarations](https://eel.is/c++draft/dcl.fct).

### method

A C++ member function invoked for an object or, when static, through its class.

References: [C++ member functions](https://eel.is/c++draft/class.mfct.non.static).

### attribute

A C++ data member in this reference. The badge describes data, rather than a bracketed attribute annotation.

References: [C++ data members](https://eel.is/c++draft/class.mem).

### constant

A named C++ API value or preprocessor macro. Read the declaration to distinguish const, constexpr and #define.

References: [C++ macro replacement](https://eel.is/c++draft/cpp.replace).

### typealias

A C++ typedef or using declaration naming an existing type without creating a new distinct type.

References: [C++ type aliases](https://eel.is/c++draft/dcl.typedef).

## Modifiers

Modifiers add information about calling, implementing, or accessing a declaration. Their precise effect follows the language and the signature.

### static

A C++ member associated with its class rather than a particular object.

References: [C++ static members](https://eel.is/c++draft/class.static).

### abstract

A C++ class with an unimplemented pure virtual function, which cannot be instantiated directly.

References: [C++ abstract classes](https://eel.is/c++draft/class.abstract).

### readonly

A const-qualified C++ declaration. A const member function cannot change ordinary members through this; mutable members and referenced objects may still change.

References: [C++ const qualification](https://eel.is/c++draft/dcl.type.cv).

### overload

C++ functions sharing a name, resolved from arguments and the applicable member qualifiers.

References: [C++ overload resolution](https://eel.is/c++draft/over.match).

## Package context

Package labels identify where an API is supplied.

### package

The C++ library distribution supplying headers and library targets. Its installation identity is separate from namespace names.

References: [CMake packages](https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html).
