|
Joshua
open source statistical hierarchical phrase-based machine translation system
|
#include <scoped.hh>
Public Member Functions | |
| scoped_array (T *content=NULL) | |
| ~scoped_array () | |
| T * | get () |
| const T * | get () const |
| T & | operator* () |
| const T & | operator* () const |
| T & | operator-> () |
| const T & | operator-> () const |
| T & | operator[] (std::size_t idx) |
| const T & | operator[] (std::size_t idx) const |
| void | reset (T *to=NULL) |
Private Attributes | |
| T * | c_ |
| util::scoped_array< T >::scoped_array | ( | T * | content = NULL | ) | [explicit] |
| util::scoped_array< T >::~scoped_array | ( | ) |
| T* util::scoped_array< T >::get | ( | ) |
| const T* util::scoped_array< T >::get | ( | ) | const |
| T& util::scoped_array< T >::operator* | ( | ) |
| const T& util::scoped_array< T >::operator* | ( | ) | const |
| T& util::scoped_array< T >::operator-> | ( | ) |
| const T& util::scoped_array< T >::operator-> | ( | ) | const |
| T& util::scoped_array< T >::operator[] | ( | std::size_t | idx | ) |
| const T& util::scoped_array< T >::operator[] | ( | std::size_t | idx | ) | const |
| void util::scoped_array< T >::reset | ( | T * | to = NULL | ) |
T* util::scoped_array< T >::c_ [private] |