Audacity  2.2.2
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TranslatableArray< ArrayType > Class Template Referenceabstract

#include <TranslatableStringArray.h>

Inheritance diagram for TranslatableArray< ArrayType >:

Public Member Functions

 TranslatableArray ()
const ArrayType & Get ()

Protected Member Functions

virtual void Populate ()=0
void Invalidate (wxCommandEvent &evt)

Protected Attributes

ArrayType mContents

Detailed Description

template<typename ArrayType>
class TranslatableArray< ArrayType >

Definition at line 32 of file TranslatableStringArray.h.

Constructor & Destructor Documentation

template<typename ArrayType>
TranslatableArray< ArrayType >::TranslatableArray ( )

Definition at line 37 of file TranslatableStringArray.h.

38  {
39  if (wxTheApp)
42  this);
43  }
void Invalidate(wxCommandEvent &evt)

Member Function Documentation

template<typename ArrayType>
const ArrayType& TranslatableArray< ArrayType >::Get ( )

Definition at line 45 of file TranslatableStringArray.h.

Referenced by PopupMenuTable::Menu::DisconnectTable(), and PopupMenuTable::Menu::Extend().

46  {
47  if (mContents.empty())
48  Populate();
49  return mContents;
50  }
virtual void Populate()=0
template<typename ArrayType>
void TranslatableArray< ArrayType >::Invalidate ( wxCommandEvent &  evt)
template<typename ArrayType>
virtual void TranslatableArray< ArrayType >::Populate ( )
protectedpure virtual

Member Data Documentation

template<typename ArrayType>
ArrayType TranslatableArray< ArrayType >::mContents

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