Files
envi-code/SourceCode/Code2026/tg_shs/inc/pipebase/TInterfaceList.h
T
2026-09-28 15:28:50 +08:00

38 lines
575 B
C++

#ifndef _TINTERFACELIST_H__
#define _TINTERFACELIST_H__
#if _MSC_VER > 1000
#pragma once
#endif
class TInterfaceList
{
public:
TInterfaceList();
virtual ~TInterfaceList();
int GetSize() const;
void RemoveAll();
TInterface* GetAt(int nIndex) const;
void SetAt(int nIndex, TInterface& intf);
int Add(TInterface& intf);
TInterface* operator[](int nIndex) const;
TInterface*& operator[](int nIndex);
void RemoveAt(int nIndex);
void Remove(CPtrList& arRemoves);
void EraseAll();
protected:
CPtrArray m_arIntfPtrs;
};
#endif //_TINTERFACELIST_H__