librime: Darts::Details::AutoArray< T > Class Template Reference

| librime 1.2 Rime Input Method Engine, the core library

Public Member Functions | List of all members
Darts::Details::AutoArray< T > Class Template Reference

`#include <darts.h>`

## Public Member Functions
| AutoArray (T *array=NULL)
| ~AutoArray ()
const T & | operator[] (std::size_t id) const
T & | operator[] (std::size_t id)
bool | empty () const
void | clear ()
void | swap (AutoArray *array)
void | reset (T *array=NULL)

## Constructor & Destructor Documentation

## ◆ AutoArray()

template<typename T>

Darts::Details::AutoArray< T >::AutoArray | ( | T * | array = NULL | ) |
| inlineexplicit

## ◆ ~AutoArray()

template<typename T>

Darts::Details::AutoArray< T >::~AutoArray | ( |  | ) |
| inline

## Member Function Documentation

## ◆ clear()

template<typename T>

void Darts::Details::AutoArray< T >::clear | ( |  | ) |
| inline

## ◆ empty()

template<typename T>

bool Darts::Details::AutoArray< T >::empty | ( |  | ) | const
| inline

## ◆ operator[]() [1/2]

template<typename T>

T & Darts::Details::AutoArray< T >::operator[] | ( | std::size_t | id | ) |
| inline

## ◆ operator[]() [2/2]

template<typename T>

const T & Darts::Details::AutoArray< T >::operator[] | ( | std::size_t | id | ) | const
| inline

## ◆ reset()

template<typename T>

void Darts::Details::AutoArray< T >::reset | ( | T * | array = NULL | ) |
| inline

## ◆ swap()

template<typename T>

void Darts::Details::AutoArray< T >::swap | ( | AutoArray< T > * | array | ) |
| inline

The documentation for this class was generated from the following file:

- darts.h