MythTV  master
Public Member Functions | Protected Attributes | List of all members
MHSequence< BASE > Class Template Reference

#include <libmythfreemheg/BaseClasses.h>

Inheritance diagram for MHSequence< BASE >:
[legend]
Collaboration diagram for MHSequence< BASE >:
[legend]

Public Member Functions

 MHSequence ()=default
 
 ~MHSequence ()
 
int Size () const
 
BASE GetAt (int i) const
 
BASE operator[] (int i) const
 
void InsertAt (BASE b, int n)
 
void Append (BASE b)
 
void RemoveAt (int i)
 

Protected Attributes

int m_vecSize {0}
 
BASE * m_values {nullptr}
 

Detailed Description

template<class BASE>
class MHSequence< BASE >

Definition at line 41 of file BaseClasses.h.

Constructor & Destructor Documentation

◆ MHSequence()

template<class BASE >
MHSequence< BASE >::MHSequence ( )
default

◆ ~MHSequence()

template<class BASE >
MHSequence< BASE >::~MHSequence ( )
inline

Definition at line 45 of file BaseClasses.h.

Member Function Documentation

◆ Size()

template<class BASE >
int MHSequence< BASE >::Size ( ) const
inline

◆ GetAt()

template<class BASE >
BASE MHSequence< BASE >::GetAt ( int  i) const
inline

◆ operator[]()

template<class BASE >
BASE MHSequence< BASE >::operator[] ( int  i) const
inline

Definition at line 50 of file BaseClasses.h.

◆ InsertAt()

template<class BASE >
void MHSequence< BASE >::InsertAt ( BASE  b,
int  n 
)
inline

◆ Append()

template<class BASE >
void MHSequence< BASE >::Append ( BASE  b)
inline

◆ RemoveAt()

template<class BASE >
void MHSequence< BASE >::RemoveAt ( int  i)
inline

Member Data Documentation

◆ m_vecSize

template<class BASE >
int MHSequence< BASE >::m_vecSize {0}
protected

◆ m_values

template<class BASE >
BASE* MHSequence< BASE >::m_values {nullptr}
protected

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