⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pqptrarray.h

📁 电能质量交换格式转换库
💻 H
字号:
//  File name:          $Workfile: pqptrarray.h $
//  Last modified:      $Modtime: 1/03/99 7:27p $
//  Last modified by:   $Author: Erich $
//  
//  VCS archive path:   $Archive: /Hank/DMM/FirmWare/Level3/ObDatMgr/pqptrarray.h $
//  VCS revision:       $Revision: 3 $ 


class CPQPtrArray
{
public:
	CPQPtrArray();
	~CPQPtrArray();

public:
    int GetSize( void ) const;
    void SetSize( int NewSize, int GrowBy = -1 );

    void * GetAt( int idx ) const;
    void SetAt( int idx, void * value );
    void SetAtGrow( int idx, void * value );

    void InsertAt( int indexToInsert, void * prec, int nCount = 1 );
    void RemoveAt( int indexToInsert );

    int Add( void * value );

    void * operator[] ( int idx ) const;

#ifdef _DEBUG
    bool Test( void );
#endif

protected:
    void **  m_data;
    int     m_size;
    int     m_max;
    int     m_growBy;
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -